Skip to main content

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scipion-em-sphire-1.2.7.tar.gz (32.7 kB view details)

Uploaded Source

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

Hashes for scipion-em-sphire-1.2.7.tar.gz
Algorithm Hash digest
SHA256 b7d9da48db7190734bcb5a108d0ad0e053834d3d80ea83de393b044d50df87e4
MD5 273635045bf09425136b1f82acd5fd5d
BLAKE2b-256 a9bdcbb37432b19b0bdca9991ff186559616988c10c3bd6439414579a33d9a21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page