The most popular feature of pyem is exporting particle metadata from cryoSPARC.
Detailed instructions can be found in the project wiki.
The TL;DR for using Relion Class3D is that you will mirror the particle stacks in your Relion project, and use
csparc2star.py Px/Jy/last_iter_particles.cs Px/Jy/passthrouh_particles.cs Px_Jy_particles.star --inverty
to create a particle data file.
pyem
A collection of Python modules and command-line utilities for electron microscopy of biological samples.
Documentation for the programs can be found in their usage text, comments in code, and in the Wiki of this repository.
The entire collection is licensed under the terms of the GNU Public License, version 3 (GPLv3).
How to cite
Please cite the pyem DOI: 10.5281/zenodo.3576630.
For example, the formatting for a Nature journal is:
Asarnow, D., Palovcak, E., Cheng, Y. UCSF pyem v0.5. Zenodo https://doi.org/10.5281/zenodo.3576630 (2019)
Installation
Install pyem to any conda environment (Python >= 3.9) from conda-forge:
I recommend using miniforge (and mamba), in which case the channel argument should be dropped:
For development pyem can be installed with an egg-link and adding pyem.cli programs to the $PATH:
Exporting from cryoSPARC to Relion
The most popular feature of pyem is exporting particle metadata from cryoSPARC. Detailed instructions can be found in the project wiki.
The TL;DR for using Relion Class3D is that you will mirror the particle stacks in your Relion project, and use
csparc2star.py Px/Jy/last_iter_particles.cs Px/Jy/passthrouh_particles.cs Px_Jy_particles.star --invertyto create a particle data file.(C) 2016-2024 Daniel Asarnow