Project

General

Profile

Package executable alias name in Appion » History » Revision 3

Revision 2 (Anchi Cheng, 05/10/2017 05:43 PM) → Revision 3/14 (Anchi Cheng, 12/14/2017 12:01 PM)

h1. Program/module call alias name in Appion (myami-beta branch) 

 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. 

 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. 

 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 
 <pre> 
 cd /usr/local/bin 
 ln -s ctffind4.exe ctffind4 
 </pre> 

 Next time, when you start a shell, try: 
 <pre> 
 which ctffind4 
 </pre> 
 It should be able to find the link and the actual executable file. 

 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. 
 <pre> 
 python 
 python> import deProcessFrames 
 </pre> 

 Those not mentioned here uses the original names in the call. 

 |program package|version|appion executable alias|Accessible| 
 |MotionCor2|10-19-2016|motioncor2|shell| 
 |motioncorr v2.0 from Purdue|2.0|dosefgpu_driftcorr|shell| 
 |DE_process_frames.py|2.7.1|deProcessFrames.py|pythonpath| 
 |ctffind4|4.1.5|ctffind4|shell| 
 |Gctf|1.06|gctfCurrent|shell| 
 |ctftilt|1.5|ctftilt.exe|shell| 
 |FindEM|20/10/01|findem64.exe|shell| 
 |Gautomatch|0.53|gautomatch|shell| 
 |Spider|18.10|spider|shell| 
 |frealign|9.11|frealign_v9.exe and frealign_v9_mp.exe|shell| frealign_v9_mp.exe|