Project

General

Profile

Package executable alias name in Appion » History » Version 10

Anchi Cheng, 01/25/2018 04:58 PM

1 1 Anchi Cheng
2 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.
3
4
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.
5
6
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
7
<pre>
8
cd /usr/local/bin
9 4 Patrick Goetz
ln -s ctffind64.exe ctffind4
10 3 Anchi Cheng
</pre>
11
12
Next time, when you start a shell, try:
13
<pre>
14
which ctffind4
15
</pre>
16 4 Patrick Goetz
It should be able to find the link and the actual executable file.ctffind64.exe
17 3 Anchi Cheng
18
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.
19
<pre>
20
python
21
python> import deProcessFrames
22 1 Anchi Cheng
</pre>
23 10 Anchi Cheng
24
h2. Program/module call alias name in Appion (myami-3.3, myami-beta branches, and trunk)
25 3 Anchi Cheng
26 1 Anchi Cheng
Those not mentioned here uses the original names in the call.
27 2 Anchi Cheng
28 5 Patrick Goetz
|program package name|version|appion executable alias|Accessible|
29 2 Anchi Cheng
|MotionCor2|10-19-2016|motioncor2|shell|
30 1 Anchi Cheng
|motioncorr v2.0 from Purdue|2.0|dosefgpu_driftcorr|shell|
31
|DE_process_frames.py|2.7.1|deProcessFrames.py|pythonpath|
32
|ctffind4|4.1.5|ctffind4|shell|
33 2 Anchi Cheng
|Gctf|1.06|gctfCurrent|shell|
34 1 Anchi Cheng
|ctftilt|1.5|ctftilt.exe|shell|
35 2 Anchi Cheng
|FindEM|20/10/01|findem64.exe|shell|
36 1 Anchi Cheng
|Gautomatch|0.53|gautomatch|shell|
37
|Spider|18.10|spider|shell|
38 3 Anchi Cheng
|frealign|9.11|frealign_v9.exe and frealign_v9_mp.exe|shell|
39 7 Anchi Cheng
|xmipp2 cl2d*|2.4|xmipp_mpi_class_averages|shell|
40 8 Anchi Cheng
|xmipp3 cl2d*|3.1|xmipp_classify_CL2D|shell|
41
|EMAN1 proc2d|1.9|proc2d|shell|
42 6 Anchi Cheng
43
* default environment is xmipp2.  All other xmipp functions wraps around xmipp2.
44 7 Anchi Cheng
* xmipp3 conflict with xmipp2 is resolved in appion/bin/runXmipp3CL2D.py with a line of code
45 6 Anchi Cheng
<pre>
46
csh -c 'modulecmd python load xmipp/3.1'
47
</pre>
48
Change it if desired.