Python scripts for Relion 5 "External job" type
Before running the scripts you will need to:
- install emtable - the STAR file parser:
pip3 install --user emtable
- edit the variables inside the scripts so that they point to a correct conda environments and training models
- make the scripts executable and provide full path to them in Relion GUI
- run scripts from Relion project directory
To see all available arguments, use for example: ./external_job_cryolo.py -h
From command line run:
./external_job_cryolo.py --in_mics MotionCorr/job002/corrected_micrographs.star --o picking --gpu 0,1
Alternatively, from Relion GUI:
From command line run::
./external_job_cryolo.py --in_mics MotionCorr/job002/corrected_micrographs.star --o picking --model cryolo_model.h5 --box_size 140 --filament --bd 40 --mn 1
Alternatively, from Relion GUI: