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.
IMPORTANT!
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)
When importing EER movies, you should specify dose per single EER frame during import step.
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:
Stable version
scipion installp -p scipion-em-motioncorr
Developer’s version
download repository
git clone -b devel 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.6.4, 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 this plugin will guess the right default binary from MotionCor2_1.6.4_CudaXY_Mar312023 (X is for cuda major version, Y for the minor). You can always set 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.
For an automatically updated installation of motioncor2 binaries, do not define neither MOTIONCOR2_HOME nor MOTIONCOR2_BIN.
To check the installation, simply run the following Scipion tests:
scipion test motioncorr.tests.test_protocols_motioncor2.TestMotioncor2AlignMovies
scipion test motioncorr.tests.test_protocols_tomo.TestMotioncor2TiltSeriesAlignMovies
Licensing
Motioncor2 is free for academic use only. For commercial use, please contact David Agard or Yifan Cheng for licensing:
Supported versions
1.5.0, 1.6.2, 1.6.3, 1.6.4
Protocols
movie alignment
align tilt-series movies
References
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
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
Built Distribution
Hashes for scipion-em-motioncorr-3.14.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc09d34ac3f8986d88039026ee1c541c287bbcc938f91c127962570985ac63e |
|
MD5 | df14f0d11a82186ebd66b9639fd4b321 |
|
BLAKE2b-256 | 722475d60f276f31aa6de11f21e89fafe9f0ecd4b19037ad23030bb785271f52 |
Hashes for scipion_em_motioncorr-3.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d16650d2ce1193a34410a3a197681b0522bc28750926a02a034ae28cf9f3a37a |
|
MD5 | 2bb53cb599338d1960cc3945f85315a8 |
|
BLAKE2b-256 | da5917a7bafea97be31bef71671406e76297b31fe6e7928eb574b8d4c2c92b1e |