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 [2020/05/05 14:41] admin [Python and PILLOW] |
1_0:external-tools [2025/05/22 16:10] (current) admin [CCP4 (Only for 2D crystallography projects)] |
||
---|---|---|---|
Line 12: | Line 12: | ||
==== Python | ==== Python | ||
- | Many utilities and specific-purpose tools used by FOCUS are written in the [[http:// | + | 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**). | ||
Line 18: | Line 18: | ||
On OSX, try | On OSX, try | ||
- | // | + | * xcode-select --install |
- | < | + | |
- | xcode-select --install | + | * brew install pillow |
- | </ | + | * brew install python-matplotlib |
- | // | + | * brew install numpy |
- | + | ||
- | // | + | |
- | < | + | |
- | brew install | + | |
- | </ | + | |
- | // | + | |
- | + | ||
- | // | + | |
- | < | + | |
- | | + | |
- | </ | + | |
- | // | + | |
or alternatively: | 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 / | ||
==== 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 '' | Please ensure you have a version >= 0.5.1 of '' | ||
Line 60: | Line 51: | ||
For accelerating some heavy calculations in Python scripts, FOCUS uses the [[https:// | 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:// |
- | If you want to use the EMAN2 python (that is python 2.7), then you can link that python in the FOCUS Preferences dialogue, | + | 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://blake.bcm.edu/emanwiki/EMAN2 | ||
- | If you compile FOCUS from source (which is recommended), | + | 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 ===== |