Skip to main content

This plugin provides wrappers for 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 and plan to run bayesian polishing, 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 the 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 -b devel 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-5.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. Optionally, you can also specify RELION_CUDA_BIN path for nvcc.

  • 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.

  • To add support for Python modules (e.g. Blush, ModelAngelo and DynaMight) you will have to setup a Python environment with dependencies. You need to set RELION_ENV_ACTIVATION that points to a conda environment. Default = conda activate relion-5.0

  • You might want to set TORCH_HOME pointing to the path with downloaded models. Default = software/em/modelangelomodels-1.0 (shared with ModelAngelo plugin).

  • If you want to use SIDESPLITTER, you need the sidesplitter plugin installed and SIDESPLITTER_HOME set properly. After that, you only need to add –external_reconstruct into Additional arguments field of a 3D auto-refine or multi-body job.

  • To use a scratch folder (i.e. on SSD), you can either input a custom path (e.g. /ssd) or variable name (e.g. $RELION_SCRATCH_DIR) or use Scipion’s scratch directory defined by SCIPION_SCRATCH in the scipion.conf.

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

4.0, 5.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

  • calculate fsc

  • center averages

  • clean project

  • compress movies

  • create 3d mask

  • crop / resize volumes

  • ctf refinement

  • DynaMight flexibility

  • 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

  5. Kimanius et al., Biochemical Journal, 2021

Metadata

Release files for scipion-em-relion 5.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scipion-em-relion 5.0.2
File Size Uploaded
scipion_em_relion-5.0.2.tar.gz 271.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for scipion-em-relion 5.0.2
File Interpreter ABI Platform
scipion_em_relion-5.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 600.7 kB

Release files / scipion_em_relion-5.0.2.tar.gz

Download URL scipion_em_relion-5.0.2.tar.gz
Size 271.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4d97b91e72d603f238fe679c3934a8439f93962b6e692456faebc7e652514b44
BLAKE2b-256 checksum
How to use checksums
59a20eceab12581bf74e8a242f1a77952d557b7fbfdb7749013748e5ddf80863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Release files / scipion_em_relion-5.0.2-py3-none-any.whl

Download URL scipion_em_relion-5.0.2-py3-none-any.whl
Size 328.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb02e6fc860731cfc5f24cc641348e1d5101120da57abca2dfa9ebe0ade97db5
BLAKE2b-256 checksum
How to use checksums
45175dcbade734cbb635cee62be9d50333fc005603acfb7639aa6d5a3242e7ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

5.0.2 This release

2 release files

5.0.1

2 release files

5.0.0

2 release files

4.0.19

2 release files

4.0.16

2 release files

4.0.15

2 release files

4.0.12

2 release files

4.0.11

2 release files

4.0.9

2 release files

4.0.8

2 release files

4.0.7

2 release files

4.0.6

2 release files

4.0.5

2 release files

4.0.4

2 release files

4.0.3

2 release files

4.0.2

2 release files

4.0.1

2 release files

4.0

2 release files

3.1.3

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page