The ParticlesStarSet class provides an efficient way to manage a set of particles in cryo-electron microscopy (cryoEM). It allows for easy reading and manipulation of STAR files and associated .mrcs image stacks. The library also offers utilities for creating subsets and saving them back to disk.
Read STAR files and associated .mrcs particle stacks. Create new STAR files and .mrcs particle stacks. Support for creating subsets of particles. Support for particle stack file handling.
mrcfile numpy pandas starfile
pip install git+https://github.com/rsanchezgarc/starstack
Reading STAR Files
from starstack import ParticlesStarSet
pset = ParticlesStarSet("my_file.star", particlesDir="Particles/")