Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
1_0:external-tools [2018/05/10 20:15] rdrighetto [Python] |
1_0:external-tools [2025/05/22 16:10] (current) admin [CCP4 (Only for 2D crystallography projects)] |
||
---|---|---|---|
Line 5: | Line 5: | ||
The softwares in this category are compulsory and MUST be installed independent of anything. | The softwares in this category are compulsory and MUST be installed independent of anything. | ||
- | ==== CSH ==== | + | ==== (t)CSH ==== |
- | CSH is a Unix shell and a scripting language widely used in the electron microscopy field for historical reasons. One would not be able to run anything from FOCUS without CSH. It is already present on most systems, if not please install | + | CSH is a Unix shell and a scripting language widely used in the electron microscopy field for historical reasons. One would not be able to run anything from FOCUS without CSH. FOCUS requires its successor, TCSH, which is better and safer. In modern Linux distributions, **csh** is just a symbolic link to **tcsh**. Please make sure this is the case in your system. If not please install |
- | ==== Python ==== | + | ==== gawk ==== |
- | Many utilities and specific-purpose tools used by FOCUS are written in the [[http:// | + | gawk is a more powerful version of the command-line utility awk. Install gawk on OSX with "brew install gawk". On Linux, try "sudo apt-get install gawk". |
+ | |||
+ | ==== Python | ||
+ | Many utilities and specific-purpose tools used by FOCUS are written in the [[http:// | ||
You also need **pip** and the module **pil** (or **pillow**). | You also need **pip** and the module **pil** (or **pillow**). | ||
On OSX, try | On OSX, try | ||
+ | |||
* xcode-select --install | * xcode-select --install | ||
- | * brew install python@2 | + | |
- | * pip2 install pillow | + | * brew install pillow |
+ | | ||
+ | * brew install numpy | ||
+ | |||
+ | or alternatively: | ||
+ | |||
+ | * pip3 install pillow | ||
On Linux, try: | On Linux, try: | ||
* apt-get install python2.7 (or //yum install python2.7// | * apt-get install python2.7 (or //yum install python2.7// | ||
- | * pip install pillow | + | * apt-get install python3 |
+ | * pip3 install pillow | ||
+ | * pip3 install matplotlib | ||
+ | |||
+ | and make sure in the Preferences panel of FOCUS, that FOCUS is using the correct version of python, which may reside in / | ||
+ | |||
+ | Or to install those in python2.7: | ||
+ | * / | ||
+ | * / | ||
- | and make sure in the Preferences panel of FOCUS, that FOCUS is using this python2.7 binary, which may reside in / | ||
- | ==== gawk ==== | ||
- | gawk is a more powerful version of the command-line utility awk. Install gawk on OSX with "brew install gawk". On Linux, try "sudo apt-get install gawk" | ||
==== MRCZ ==== | ==== MRCZ ==== | ||
- | Many of the Python scripts called within FOCUS rely on the [[http:// | + | Many of the Python scripts called within FOCUS rely on the [[http:// |
- | '' | + | '' |
+ | |||
+ | Please ensure you have a version >= 0.5.1 of '' | ||
+ | |||
+ | ==== NumExpr ==== | ||
+ | For accelerating some heavy calculations in Python scripts, FOCUS uses the [[https:// | ||
+ | |||
+ | * pipx install numexpr | ||
+ | |||
+ | or alternatively on OSX: | ||
+ | |||
+ | * brew install numexpr | ||
==== EMAN2 ==== | ==== EMAN2 ==== | ||
- | [[http:// | + | [[http:// |
+ | We might not use the tools present in EMAN2 directly, but it is very helpful. | ||
+ | EMAN2 is easy to install and is available for MacOS and Linux on their website: http:// | ||
+ | |||
+ | If you compile FOCUS from source (which is recommended), | ||
==== IMOD ==== | ==== IMOD ==== | ||
We directly use many command line utilities present in IMOD. It can be downloaded from the website: http:// | We directly use many command line utilities present in IMOD. It can be downloaded from the website: http:// | ||
==== CCP4 (Only for 2D crystallography projects) ==== | ==== CCP4 (Only for 2D crystallography projects) ==== | ||
- | Focus uses CCP4 in order to generate merged maps of the protein in 2D crystallography projects. The software can be downloaded from http:// | + | Focus uses CCP4 in order to generate merged maps of the protein in 2D crystallography projects. The software can be downloaded from |
+ | |||
+ | * https:// | ||
+ | |||
+ | Please follow their installation guide. | ||
===== Software for drift correction ===== | ===== Software for drift correction ===== |