Plugin to use TomoTwin within the Scipion framework
Project description
This plugin provides a wrapper for TomoTwin software: Particle picking in Tomograms using triplet networks and metric learning
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-tomotwin
Developer’s version
download repository
git clone -b devel https://github.com/scipion-em/scipion-em-tomotwin.git
install
scipion installp -p /path/to/scipion-em-tomotwin --devel
TomoTwin software will be installed automatically with the plugin but you can also use an existing installation by providing TOMOTWIN_ENV_ACTIVATION (see below).
Important: you need to have conda (miniconda3 or anaconda3) pre-installed to use this program.
Configuration variables
CONDA_ACTIVATION_CMD: If undefined, it will rely on conda command being in the PATH (not recommended), which can lead to execution problems mixing scipion python with conda ones. One example of this could can be seen below but depending on your conda version and shell you will need something different: CONDA_ACTIVATION_CMD = eval “$(/extra/miniconda3/bin/conda shell.bash hook)”
TOMOTWIN_ENV_ACTIVATION (default = conda activate tomotwin-0.8.0): Command to activate the TomoTwin environment. Tomotwin uses cuda-11.8, so you might want to activate specific CUDA libs via e.g. TOMOTWIN_ENV_ACTIVATION = . /etc/profile.d/lmod.sh && module load cuda/11.8 && conda activate tomotwin-0.8.0
TOMOTWIN_MODEL (default = software/em/tomotwin_model-092023/tomotwin_model_p120_092023_loss.pth): Path to the pre-trained model.
NAPARI_ENV_ACTIVATION (default = conda activate napari-0.4.17): Command to activate the Napari viewer environment.
Verifying
To check the installation, simply run the following Scipion tests:
scipion tests tomotwin.tests.test_protocols_tomotwin.TestTomoTwinRefBased
scipion tests tomotwin.tests.test_protocols_tomotwin.TestTomoTwinClusterBased
Supported versions
0.6.1, 0.7.0, 0.8.0
Protocols
clustering-based picking (step 1)
clustering-based picking (step 2)
create tomo masks
reference-based picking
References
TomoTwin: Generalized 3D Localization of Macromolecules in Cryo-electron Tomograms with Structural Data Mining. Gavin Rice, Thorsten Wagner, Markus Stabrin, Stefan Raunser. https://www.biorxiv.org/content/10.1101/2022.06.24.497279v1
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
File details
Details for the file scipion-em-tomotwin-3.4.tar.gz
.
File metadata
- Download URL: scipion-em-tomotwin-3.4.tar.gz
- Upload date:
- Size: 160.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f969f5273d6161954493cf436cde9f430bd6c2592c49e78b50e8e5473103e361 |
|
MD5 | e5f8c4bb98c560699be0b9df5632f3a3 |
|
BLAKE2b-256 | 2ee4de20063d87a76570f8cf0217b033be7fd79e7aee978e7dca16cc3ed300a1 |
File details
Details for the file scipion_em_tomotwin-3.4-py3-none-any.whl
.
File metadata
- Download URL: scipion_em_tomotwin-3.4-py3-none-any.whl
- Upload date:
- Size: 170.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc1542afca8bb1291b7366ebce5932c5650d744d284b85a2e0dd66cab8d670b5 |
|
MD5 | 9ae5d30ac92b56ec9a143c9e46961d98 |
|
BLAKE2b-256 | 5475357ed0d0ca8a0587bad1d9cebb6ab3fdfb427bee7c496230cab343e48405 |