The tools were created to facilitate different aspects of processing cryoem data. The application possibly is very niche, however I hope that someone find tools usefull.
The script is adding correct optical groups for each particle in particles.star file if optical groups weren't specified for some reason. The correct optic groups are taken from micrographs_ctf.star file.
To start the script:
- copy this change_optic.py file to a folder when results will be stored.
- add corresponding pathways for micrographs_ctf.star and particles.star file to the fields in the beggining of the script
- Run in terminal: python change_optic.py
The processing takes around 1-2 minutes depending on the number of particles.
Possible problems to fix:
- Script recreates the particles file with different spacing between columns - it could possibly cause problems reading the file with Relion.
The script is created for a fast convertation of mrc files to png, so you can easily scroll microgrpaphs to overview the data. See the comments inside the file to start the run correctly.