Sphire ready to use in scipion.
Project description
Plugin to use Sphire programs within the Scipion framework
So far we have implemented:
crYOLO particle picker (current version: 1.3.3)
crYOLO installation
- Please follow installation instructions from: http://sphire.mpg.de/wiki/doku.php?id=downloads:cryolo_1&redirect=1 in order to install:
crYOLO (last tested version: 1.3.3) (should download a file called cryolo-X.Y.Z.tar.gz)
crYOLO’s boxmanager (last tested version: 1.1.0). (should download a file called cryoloBM-X.Y.Z.tar.gz) Note: the BoxManager is not strictly necessary for using the Scipion protocols.
If you want to use the generic model, please download also the General PhosaursNet model. (latest at the time of writing: ftp://ftp.gwdg.de/pub/misc/sphire/crYOLO-GENERAL-MODELS/gmodel_phosnet_20190314.h5, but better to check the Sphire page for the latest one)
The installation should be pretty easy if you have already a conda installation.
conda create -n cryolo -c anaconda python=3.6 pyqt=5 cudnn=7.1.2 numpy==1.14.5
pip install cryolo-X.Y.Z.tar.gz
pip install cryoloBM-X.Y.Z.tar.gz
Scipion crYOLO Configuration
Then, we need to define some environment variables to specify how to load the cryolo environment and where is the general model. We can define the variables in the .bashrc file or in ~/.config/scipion/scipion.conf:
CRYOLO_ENV_ACTIVATION = '. /path/to/anaconda/etc/profile.d/conda.sh; conda activate cryolo'
CRYOLO_GENERIC_MODEL = path/to/the/downloaded/General_PhosaursNet_model
Install Scipion crYOLO Plugin
scipion installp -p scipion-em-sphire
OR
through the plugin manager GUI by launching Scipion and following Configuration >> Plugins
OR
scipion python -m pip install scipion-em-sphire
If you are developing the plugin, other useful options are:
scipion installp -p local/path/to/scipion-em-sphire --devel
OR
git clone git@github.com:scipion-em/scipion-em-sphire
export PYTHONPATH=$PYTHONPATH:$PWD/scipion-em-sphire
Running crYOLO tests
To check that everything is properly installed and configured, you might want to run some tests:
scipion test --grep cryolo --run
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file scipion-em-sphire-1.2.7.tar.gz
.
File metadata
- Download URL: scipion-em-sphire-1.2.7.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d9da48db7190734bcb5a108d0ad0e053834d3d80ea83de393b044d50df87e4 |
|
MD5 | 273635045bf09425136b1f82acd5fd5d |
|
BLAKE2b-256 | a9bdcbb37432b19b0bdca9991ff186559616988c10c3bd6439414579a33d9a21 |