Package executable alias name in Appion » History » Version 7
Anchi Cheng, 01/19/2018 11:19 AM
1 | 1 | Anchi Cheng | h1. Program/module call alias name in Appion (myami-beta branch) |
---|---|---|---|
2 | |||
3 | 3 | Anchi Cheng | Appion scripts interact with external packages in one of the two ways: Executing a shell command, or through python call. The name of the file in the call may not be the same as the standard installation as described by the package distributor. |
4 | |||
5 | If it is accessed from shell, you should either create soft link (preferred) or rename the file you downloaded (not best practice since you may get confused later. Test its accessibility from the environment you would run appion script. |
||
6 | |||
7 | For example, ctffin4 of whatever version would typically installed in /usr/local/bin. The executable file in there is called ctffind4.exe. You should do |
||
8 | <pre> |
||
9 | cd /usr/local/bin |
||
10 | 4 | Patrick Goetz | ln -s ctffind64.exe ctffind4 |
11 | 3 | Anchi Cheng | </pre> |
12 | |||
13 | Next time, when you start a shell, try: |
||
14 | <pre> |
||
15 | which ctffind4 |
||
16 | </pre> |
||
17 | 4 | Patrick Goetz | It should be able to find the link and the actual executable file.ctffind64.exe |
18 | 3 | Anchi Cheng | |
19 | For files called through python, the file need to be in the environment variable PYTHONPATH You can test it in the appion environment with an import test. |
||
20 | <pre> |
||
21 | python |
||
22 | python> import deProcessFrames |
||
23 | </pre> |
||
24 | |||
25 | 1 | Anchi Cheng | Those not mentioned here uses the original names in the call. |
26 | 2 | Anchi Cheng | |
27 | 5 | Patrick Goetz | |program package name|version|appion executable alias|Accessible| |
28 | 2 | Anchi Cheng | |MotionCor2|10-19-2016|motioncor2|shell| |
29 | 1 | Anchi Cheng | |motioncorr v2.0 from Purdue|2.0|dosefgpu_driftcorr|shell| |
30 | |DE_process_frames.py|2.7.1|deProcessFrames.py|pythonpath| |
||
31 | |ctffind4|4.1.5|ctffind4|shell| |
||
32 | 2 | Anchi Cheng | |Gctf|1.06|gctfCurrent|shell| |
33 | 1 | Anchi Cheng | |ctftilt|1.5|ctftilt.exe|shell| |
34 | 2 | Anchi Cheng | |FindEM|20/10/01|findem64.exe|shell| |
35 | 1 | Anchi Cheng | |Gautomatch|0.53|gautomatch|shell| |
36 | |Spider|18.10|spider|shell| |
||
37 | 3 | Anchi Cheng | |frealign|9.11|frealign_v9.exe and frealign_v9_mp.exe|shell| |
38 | 7 | Anchi Cheng | |xmipp2 cl2d*|2.4|xmipp_mpi_class_averages|shell| |
39 | |xmipp3 cl2d*|3.1|xmipp_classify_CL2D| |
||
40 | 6 | Anchi Cheng | |
41 | * default environment is xmipp2. All other xmipp functions wraps around xmipp2. |
||
42 | 7 | Anchi Cheng | * xmipp3 conflict with xmipp2 is resolved in appion/bin/runXmipp3CL2D.py with a line of code |
43 | 6 | Anchi Cheng | <pre> |
44 | csh -c 'modulecmd python load xmipp/3.1' |
||
45 | </pre> |
||
46 | Change it if desired. |