Skip to main content

Updated relion_it with cryolo wrappers

Project description

#####################################################################################################
## #
## relion_it with crYOLO support #
## #
#####################################################################################################

relion_it is now running with python 3.6.8! In options you can choose to pick via the crYOLO
general model or with the relion auto picker. CrYOLO runs as an external job after ctfFind. Relion
then takes the particle coordinates found by crYOLO and then further processes them. Particles
appear as a manual pick job in the relion gui and can be viewed there.


Normal usage for Diamond:

1. module load EM/cryolo/yolo_it # Prepares python environment for relion_it and crYOLO

2. dls_yolo_relion_it # This opens a gui with options


Requirements for external use:

1. CrYOLO and Relion 3.0 installed.

2. Conda Environment for crYOLO and Relion

3. Edit paths in options.py for your MotionCor2 and Cryolo general model

4. Run by: cryolo_relion_it.py --gui


Scripts being use:

- cryolo_relion_it.py: The main script that dls_yolo_relion calls. This houses the main pipeline
and calls to all the other scripts.

- CryoloPipeline.py: The crYOLO pipeline. This runs as a subprocess and exectutes many repeated
times to Import, MotionCorr, CtfFind, crYOLO pick, Extract... as new movies are
collected. As Relion 3.0 does not support external job types the YOLO pipeline is in fact 3
seperate pipelines chained together.

- CryoloExternalJob.py: Reads Relion star files and makes a directory that crYOLO can execute
particle picking from.

- CorrectPath.py: After crYOLO has picked particles, the coordinate star files must be placed in a
directory tree that Relion is expecting. This does that!

- CryoloFineTuneJob.py: After 2D classification, good classes can be selected to fine tune the
cryolo general model. After the finetuning, crYOLO uses this new model to pick future
particles in the current run.

- options.py: Basic options for relion_it to run with.

- qsub.sh: Cluster submit script for crYOLO.

- qtemplate.sh: Cluster template for crYOLO. If using cluster must have template create a
'.cry_done' file so that the pipeline knows that cryolo has finished.


Note: Fine-tuning requires good 2D classes to be picked by hand after first 2D iteration


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

relion_yolo_it-0.2.3.tar.gz (38.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

relion_yolo_it-0.2.3-py3-none-any.whl (115.7 kB view details)

Uploaded Python 3

File details

Details for the file relion_yolo_it-0.2.3.tar.gz.

File metadata

  • Download URL: relion_yolo_it-0.2.3.tar.gz
  • Upload date:
  • Size: 38.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.8

File hashes

Hashes for relion_yolo_it-0.2.3.tar.gz
Algorithm Hash digest
SHA256 e0137a19d4aa7ffb8a00081a67d8c0450995c4e256806d3b198beebf943abec2
MD5 d66bf1e7df81a4baff0030620403868a
BLAKE2b-256 2b720121c1909a6b19b5b67782dfd1470cb15a0e07657c3d41f02667382da451

See more details on using hashes here.

File details

Details for the file relion_yolo_it-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: relion_yolo_it-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 115.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.8

File hashes

Hashes for relion_yolo_it-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 005338e91fc9c773ea18f9999395a6a870337085333281a5a8a67fccc19ae9a6
MD5 7fa050caf5cc2ebed1cab78d20d63c0e
BLAKE2b-256 c7d2ea70387345c0f1596fc0651475c18e23fecb7f97a1ea4907a5a61ffcba0b

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