Skip to main content

Plugin to use Relion programs within the Scipion framework

Project description

This plugin provide wrappers around several programs of RELION software suite.

PyPI release License Supported Python versions SonarCloud quality gate Downloads

IMPORTANT NOTES!

  1. If you have imported movies with a gain file in DM4 format, you need to flip the gain reference upside-down in the motion correction protocol! (bug details)

  2. If you have provided a gain reference or defects file during movie import or motion correction, please make sure to run first “assign optics groups” protocol for aligned movies, specifying the gain file etc. Currently, Scipion has no other way of knowing if you have e.g. rotated the gain during motion correction. Output movies then can be used in this polishing protocol.

  3. When importing EER movies, you should specify dose per single EER frame during import step. Pixel size should be the physical pixel size unless you plan to render EER on 8K grid. In the Motioncor protocol choose binning, EER fractionation and upsampling (default=1 is for 4K grid).

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

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

    • download repository

    git clone https://github.com/scipion-em/scipion-em-relion.git
    • install

    scipion installp -p path_to_scipion-em-relion --devel
  • RELION sources will be downloaded and compiled automatically with the plugin, but you can also link an existing installation. Default installation path assumed is software/em/relion-4.0, if you want to change it, set RELION_HOME in scipion.conf file to the folder where the RELION is installed.

  • If you need to use CUDA different from the one used during Scipion installation (defined by CUDA_LIB), you can add RELION_CUDA_LIB variable to the config file.

  • If you have to use a MPI for Relion different from Scipion MPI, you can set RELION_MPI_BIN and RELION_MPI_LIB variables in the config file.

  • If you want to use 2D class ranker protocol, you also need to set RELION_PYTHON that points to a Python which includes torch and numpy modules.

To check the installation, simply run one of the tests. A complete list of tests can be displayed by executing scipion test --show --grep relion

Supported versions

3.1.0, 3.1.1, 3.1.2, 3.1.3, 4.0

Protocols

  • 2D class ranker

  • 2D classification

  • 3D auto-refine

  • 3D classification

  • 3D initial model

  • 3D multi-body

  • assign optics groups

  • auto-picking (reference-based)

  • auto-picking LoG

  • bayesian polishing

  • center averages

  • clean project

  • compress movies

  • create 3d mask

  • crop / resize volumes

  • ctf refinement

  • estimate gain to compress

  • expand symmetry

  • export coordinates

  • export ctf

  • export particles

  • local resolution

  • motion correction

  • particles extraction

  • post-processing

  • preprocess particles

  • reconstruct

  • remove preferential views

  • subtract projection

  • symmetrize volume

References

  1. Scheres et al., JMB, 2012

  2. Scheres et al., JSB, 2012

  3. Kimanius et al., eLife, 2016

  4. Zivanov et al., eLife, 2018

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

scipion-em-relion-4.0b2.tar.gz (215.5 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_relion-4.0b2-py3-none-any.whl (273.1 kB view details)

Uploaded Python 3

File details

Details for the file scipion-em-relion-4.0b2.tar.gz.

File metadata

  • Download URL: scipion-em-relion-4.0b2.tar.gz
  • Upload date:
  • Size: 215.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for scipion-em-relion-4.0b2.tar.gz
Algorithm Hash digest
SHA256 7cf2f8733ab42585d2bfe4588402bcfd41eaf311006cad044ec3748626da83cf
MD5 99ecaed30c0f9b1781286ff33f5930d3
BLAKE2b-256 fd190ad97866d3986003d333aab4162c82c8682f6af7a065dac5632fce038047

See more details on using hashes here.

File details

Details for the file scipion_em_relion-4.0b2-py3-none-any.whl.

File metadata

  • Download URL: scipion_em_relion-4.0b2-py3-none-any.whl
  • Upload date:
  • Size: 273.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for scipion_em_relion-4.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7bcbc0b601c51d1ca95c5f3407bdaf25c5ea0c342413d26cb30fa409816158d
MD5 0fc05fe6936bf59bc6e50e7e5713c7d3
BLAKE2b-256 ebbe48c48a5b684c16d998306e78fe55260e1b16bde7086714ae88c37178a7c8

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