Skip to main content

Plugin to use Sphire programs within the Scipion framework

Project description

This plugin provides a wrapper for some programs of SPHIRE software suite:

  • JANNI (Just Another Noise 2 Noise Implementation): a neural network denoising tool

  • crYOLO: a fast and accurate particle picking procedure. It’s based on convolutional neural networks and utilizes the popular You Only Look Once (YOLO) object detection system.

PyPI release License Supported Python versions SonarCloud quality gate Downloads

Installation

You will need to use 3.0+ version of Scipion to be able to run these protocols. To install the plugin, you have two options:

  1. Stable version

    It can be installed in user mode via Scipion plugin manager (Configuration > Plugins) or using the command line:

    scipion installp -p scipion-em-sphire
  2. Developer’s version

    • download repository

    git clone -b devel https://github.com/scipion-em/scipion-em-sphire.git
    • install

    scipion installp -p /path/to/scipion-em-sphire --devel

crYOLO software will be installed automatically with the plugin but you can also use an existing installation by providing CRYOLO_ENV_ACTIVATION (see below).

Important: you need to have conda (miniconda3 or anaconda3) pre-installed to use this program.

To check the installation you can run the plugin’s tests:

scipion test --grep sphire --run

Configuration variables

CONDA_ACTIVATION_CMD: If undefined, it will rely on conda command being in the PATH (not recommended), which can lead to execution problems mixing scipion python with conda ones. One example of this could can be seen below but depending on your conda version and shell you will need something different:

CONDA_ACTIVATION_CMD = eval “$(/extra/miniconda3/bin/conda shell.bash hook)”

CRYOLO_ENV_ACTIVATION (default = conda activate cryolo-1.9.9): Command to activate the crYOLO environment.

NAPARI_ENV_ACTIVATION (default = conda activate napari-0.4.17): Command to activate napari environment (used only for tomo picker viewer).

Downloaded crYOLO and JANNI general models can be found in the following locations:

  • <SCIPION_HOME>/software/em/cryolo_model-[model_version]

  • <SCIPION_HOME>/software/em/cryolo_negstain_model-[model_version] (not installed by default)

  • <SCIPION_HOME>/software/em/janni_model-[model_version]

Running on CPU

crYOLO can run on CPU, however this is only recommended for picking protocol and not training. For that reason the CPU implementation is only available for the crYOLO-Picking protocol.

The CPU implementation of crYOLO is not installed by default. Therefore you must install the cryoloCPU-[version] package in the Configuration > Plugins >> scipion-em-sphire or by running:

scipion installb cryoloCPU

The CPU version of crYOLO is installed under a separate conda environment called cryoloCPU-[version]. If you already have a cryoloCPU environment pre-installed, then modify the following variable in the Scipion config file:

CRYOLO_ENV_ACTIVATION_CPU = conda activate envName

Supported versions

1.9.3, 1.9.6, 1.9.7, 1.9.9

Protocols

  • import crYOLO training model

  • crYOLO picking

  • crYOLO tomo picking

  • crYOLO training

  • JANNI denoising

References

  • Wagner, T. et al. SPHIRE-crYOLO is a fast and accurate fully automated particle picker for cryo-EM. Communications Biology 2, (2019).

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-3.2.5.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scipion_em_sphire-3.2.5-py3-none-any.whl (67.1 kB view details)

Uploaded Python 3

File details

Details for the file scipion_em_sphire-3.2.5.tar.gz.

File metadata

  • Download URL: scipion_em_sphire-3.2.5.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for scipion_em_sphire-3.2.5.tar.gz
Algorithm Hash digest
SHA256 0aa723b37b11af65d9541687e2e599bd6e495d4c46904631372101fa8c8ab621
MD5 0077a90654022362ca831000b070c95c
BLAKE2b-256 54ced9fb014fbd08804d84efd2abfb1d4422a4e2bfbb6830f27806764cafe5fb

See more details on using hashes here.

File details

Details for the file scipion_em_sphire-3.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for scipion_em_sphire-3.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f961f1c74b390706592a632533abb7409488dee9076948ab29a355af6c642f67
MD5 c6407ee70ea7433dcd8e57c37ceff947
BLAKE2b-256 2d5f7dea2763cc1d3cbf23891048dac6455fa90a200c7d2da1bad87391312c89

See more details on using hashes here.

Supported by

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