scipion-em-relion


Namescipion-em-relion JSON
Version 5.0.0 PyPI version JSON
download
home_pagehttps://github.com/scipion-em/scipion-em-relion
SummaryPlugin to use Relion programs within the Scipion framework
upload_time2024-11-10 11:05:26
maintainerNone
docs_urlNone
authorGrigory Sharov, J.M. De la Rosa Trevin, Josue Gomez Blanco
requires_pythonNone
licenseNone
keywords scipion electron-microscopy cryo-em structural-biology image-processing scipion-3.0
VCS
bugtrack_url
requirements scipion-em emtable emtools
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =============
Relion plugin
=============

This plugin provides wrappers for several programs of `RELION <https://relion.readthedocs.io/en/latest/index.html>`_ software suite.

.. image:: https://img.shields.io/pypi/v/scipion-em-relion.svg
        :target: https://pypi.python.org/pypi/scipion-em-relion
        :alt: PyPI release

.. image:: https://img.shields.io/pypi/l/scipion-em-relion.svg
        :target: https://pypi.python.org/pypi/scipion-em-relion
        :alt: License

.. image:: https://img.shields.io/pypi/pyversions/scipion-em-relion.svg
        :target: https://pypi.python.org/pypi/scipion-em-relion
        :alt: Supported Python versions

.. image:: https://img.shields.io/sonar/quality_gate/scipion-em_scipion-em-relion?server=https%3A%2F%2Fsonarcloud.io
        :target: https://sonarcloud.io/dashboard?id=scipion-em_scipion-em-relion
        :alt: SonarCloud quality gate

.. image:: https://img.shields.io/pypi/dm/scipion-em-relion
        :target: https://pypi.python.org/pypi/scipion-em-relion
        :alt: 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 <https://github.com/I2PC/xmippCore/issues/39>`_)
    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:

a) Stable version

   .. code-block::

      scipion installp -p scipion-em-relion

b) Developer's version

   * download repository

   .. code-block::

      git clone -b devel https://github.com/scipion-em/scipion-em-relion.git

   * install

   .. code-block::

      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 <https://github.com/scipion-em/scipion-em-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



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/scipion-em/scipion-em-relion",
    "name": "scipion-em-relion",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "scipion electron-microscopy cryo-em structural-biology image-processing scipion-3.0",
    "author": "Grigory Sharov, J.M. De la Rosa Trevin, Josue Gomez Blanco",
    "author_email": "gsharov@mrc-lmb.cam.ac.uk, delarosatrevin@scilifelab.se, josue.gomez-blanco@mcgill.ca",
    "download_url": "https://files.pythonhosted.org/packages/d6/0b/cadb5ffebad772a1c5a9d4338f996a190a5f59142da6bf2cb2f84ebc2320/scipion-em-relion-5.0.0.tar.gz",
    "platform": null,
    "description": "=============\nRelion plugin\n=============\n\nThis plugin provides wrappers for several programs of `RELION <https://relion.readthedocs.io/en/latest/index.html>`_ software suite.\n\n.. image:: https://img.shields.io/pypi/v/scipion-em-relion.svg\n        :target: https://pypi.python.org/pypi/scipion-em-relion\n        :alt: PyPI release\n\n.. image:: https://img.shields.io/pypi/l/scipion-em-relion.svg\n        :target: https://pypi.python.org/pypi/scipion-em-relion\n        :alt: License\n\n.. image:: https://img.shields.io/pypi/pyversions/scipion-em-relion.svg\n        :target: https://pypi.python.org/pypi/scipion-em-relion\n        :alt: Supported Python versions\n\n.. image:: https://img.shields.io/sonar/quality_gate/scipion-em_scipion-em-relion?server=https%3A%2F%2Fsonarcloud.io\n        :target: https://sonarcloud.io/dashboard?id=scipion-em_scipion-em-relion\n        :alt: SonarCloud quality gate\n\n.. image:: https://img.shields.io/pypi/dm/scipion-em-relion\n        :target: https://pypi.python.org/pypi/scipion-em-relion\n        :alt: Downloads\n\n\n**IMPORTANT NOTES!**\n\n    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 <https://github.com/I2PC/xmippCore/issues/39>`_)\n    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.\n    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).\n\nInstallation\n------------\n\nYou will need to use 3.0+ version of Scipion to be able to run these protocols. To install the plugin, you have two options:\n\na) Stable version\n\n   .. code-block::\n\n      scipion installp -p scipion-em-relion\n\nb) Developer's version\n\n   * download repository\n\n   .. code-block::\n\n      git clone -b devel https://github.com/scipion-em/scipion-em-relion.git\n\n   * install\n\n   .. code-block::\n\n      scipion installp -p /path/to/scipion-em-relion --devel\n\n- 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.\n- 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.\n- 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.\n- 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``\n- You might want to set *TORCH_HOME* pointing to the path with downloaded models. Default = ``software/em/modelangelomodels-1.0`` (shared with ModelAngelo plugin).\n- If you want to use SIDESPLITTER, you need the `sidesplitter <https://github.com/scipion-em/scipion-em-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.\n- 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``.\n\nTo check the installation, simply run one of the tests. A complete list of tests can be displayed by executing ``scipion test --show --grep relion``\n\nSupported versions\n------------------\n\n4.0, 5.0\n\nProtocols\n---------\n\n* 2D class ranker\n* 2D classification         \n* 3D auto-refine            \n* 3D classification         \n* 3D initial model          \n* 3D multi-body\n* assign optics groups\n* auto-picking (reference-based)\n* auto-picking LoG          \n* bayesian polishing\n* calculate fsc\n* center averages\n* clean project\n* compress movies\n* create 3d mask\n* crop / resize volumes\n* ctf refinement\n* DynaMight flexibility\n* estimate gain to compress\n* expand symmetry\n* export coordinates\n* export ctf                \n* export particles\n* local resolution\n* motion correction\n* particles extraction\n* post-processing           \n* preprocess particles      \n* reconstruct\n* remove preferential views\n* subtract projection\n* symmetrize volume\n\nReferences\n----------\n\n1. Scheres et al., JMB, 2012 \n2. Scheres et al., JSB, 2012 \n3. Kimanius et al., eLife, 2016 \n4. Zivanov et al., eLife, 2018\n5. Kimanius et al., Biochemical Journal, 2021\n\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Plugin to use Relion programs within the Scipion framework",
    "version": "5.0.0",
    "project_urls": {
        "Bug Reports": "https://github.com/scipion-em/scipion-em-relion/issues",
        "Homepage": "https://github.com/scipion-em/scipion-em-relion",
        "Source": "https://github.com/scipion-em/scipion-em-relion/"
    },
    "split_keywords": [
        "scipion",
        "electron-microscopy",
        "cryo-em",
        "structural-biology",
        "image-processing",
        "scipion-3.0"
    ],
    "urls": [
        {
            "comment_text": "scipion-3.0",
            "digests": {
                "blake2b_256": "c03a906b3796674e6c375596ef672ae5f57af75cc59bef31f57381d9a35e86b6",
                "md5": "36a61dc6162a6094ce3e0d68902f6b18",
                "sha256": "c0f79aaec64e86d946b41930f2b2252b5b61567b8968258e9b4203ee01d13ad0"
            },
            "downloads": -1,
            "filename": "scipion_em_relion-5.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "36a61dc6162a6094ce3e0d68902f6b18",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 324730,
            "upload_time": "2024-11-10T11:05:24",
            "upload_time_iso_8601": "2024-11-10T11:05:24.539456Z",
            "url": "https://files.pythonhosted.org/packages/c0/3a/906b3796674e6c375596ef672ae5f57af75cc59bef31f57381d9a35e86b6/scipion_em_relion-5.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "scipion-3.0",
            "digests": {
                "blake2b_256": "d60bcadb5ffebad772a1c5a9d4338f996a190a5f59142da6bf2cb2f84ebc2320",
                "md5": "cc1ebeddfad59499eac6d58a795ca87d",
                "sha256": "8823e2b252c743c369d5b591352cecf360de4612ca8517b77bf570c111b760b8"
            },
            "downloads": -1,
            "filename": "scipion-em-relion-5.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cc1ebeddfad59499eac6d58a795ca87d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 269285,
            "upload_time": "2024-11-10T11:05:26",
            "upload_time_iso_8601": "2024-11-10T11:05:26.218439Z",
            "url": "https://files.pythonhosted.org/packages/d6/0b/cadb5ffebad772a1c5a9d4338f996a190a5f59142da6bf2cb2f84ebc2320/scipion-em-relion-5.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-10 11:05:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "scipion-em",
    "github_project": "scipion-em-relion",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "scipion-em",
            "specs": []
        },
        {
            "name": "emtable",
            "specs": [
                [
                    ">=",
                    "0.0.14"
                ]
            ]
        },
        {
            "name": "emtools",
            "specs": [
                [
                    "==",
                    "0.1.0"
                ]
            ]
        }
    ],
    "lcname": "scipion-em-relion"
}
        
Elapsed time: 0.68189s