Skip to main content

Plugin to use motioncorr programs within the Scipion framework

Project description

This plugin allows to use motioncor2 program within the Scipion framework.

Motioncor2 is a GPU-accelerated program for correction of electron beam-induced sample motion. It is developed by Shawn Zheng.

PyPI release License Supported Python versions SonarCloud quality gate Downloads

IMPORTANT!

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

  2. When importing EER movies, you should specify dose per single EER frame during import step.

  3. If you are processing EER movies and providing *.gain reference file camera defects will be automatically extracted from the gain file header and converted to Motioncor2 format. This step is omitted if you provide a defects file yourself.

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-motioncorr
  1. Developer’s version

    • download repository

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

    scipion installp -p path_to_scipion-em-motioncorr --devel

Motioncor2 binaries will be installed automatically with the plugin, but you can also link an existing installation. Default installation path assumed is software/em/motioncor2-1.4.7, if you want to change it, set MOTIONCOR2_HOME in scipion.conf file to the folder where the Motioncor2 is installed. Depending on your CUDA version you might want to change the default binary from MotionCor2_1.4.7_Cuda102_12-09-2021 to a different one by explicitly setting MOTIONCOR2_BIN variable. If you need to use CUDA different from the one used during Scipion installation (defined by CUDA_LIB), you can add MOTIONCOR2_CUDA_LIB variable to the config file. Various binaries can be downloaded from the official UCSF website.

To check the installation, simply run the following Scipion test:

scipion test motioncorr.tests.test_protocols_motioncor2.TestMotioncor2AlignMovies

Licensing

Motioncor2 is free for academic use only. For commercial use, please contact David Agard or Yifan Cheng for licensing:

Supported versions

1.4.0, 1.4.2, 1.4.4, 1.4.5, 1.4.7

Protocols

  • movie alignment

  • align tilt-series movies

References

  1. Shawn Q Zheng, Eugene Palovcak, Jean-Paul Armache, Kliment A Verba, Yifan Cheng & David A Agard. MotionCor2: anisotropic correction of beam-induced motion for improved cryo-electron microscopy. Nature Methods volume 14, pages 331–332 (2017).

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-motioncorr-3.4.tar.gz (38.1 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_motioncorr-3.4-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

Details for the file scipion-em-motioncorr-3.4.tar.gz.

File metadata

  • Download URL: scipion-em-motioncorr-3.4.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for scipion-em-motioncorr-3.4.tar.gz
Algorithm Hash digest
SHA256 ed12e91a088eb0c82536c74a6613f0f5157c073008903aac06f3a742b3fd174a
MD5 c8d036bb2ae465a2045b9d9d7b9804a0
BLAKE2b-256 dfdbea421c9d1c1993cf8f7d1ed4b9b1bce2eb10adf6143528e63b8824317cb7

See more details on using hashes here.

File details

Details for the file scipion_em_motioncorr-3.4-py3-none-any.whl.

File metadata

  • Download URL: scipion_em_motioncorr-3.4-py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for scipion_em_motioncorr-3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ae18edeacc2905981996d85aac2b3678537a95ca4753e4f5bea59439af3dd6c5
MD5 ce851b36e80a67adc624e4ef910997f9
BLAKE2b-256 d787e77045739eb58358eea3c039720965488517c18620bc4276c09212883068

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