starstack: CryoEM Particle stars and stack Management in Python
Overview
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.
Features
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.
Dependencies
mrcfile numpy pandas starfile
Installation
pip install git+https://github.com/rsanchezgarc/starstack
Usage
Reading STAR Files
from starstack import ParticlesStarSet
pset = ParticlesStarSet("my_file.star", particlesDir="Particles/")
for img,metadata in pset:
print(img.shape)
Metadata
Release files for starstack 0.2.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| starstack-0.2.14.tar.gz | 18.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| starstack-0.2.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.9 kB
Release files / starstack-0.2.14.tar.gz
| Download URL | starstack-0.2.14.tar.gz |
|---|---|
| Size | 18.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9337e88a11fa2b217cb307cd148a15bba1ba3f07992d39cdcecadf2b4e75d3d
|
|
BLAKE2b-256 checksum How to use checksums |
012feb2e93d3d0423218fbe0bcba506e2e3ffecea48dd048c532e41ddfb0b552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Release files / starstack-0.2.14-py3-none-any.whl
| Download URL | starstack-0.2.14-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7422b94c976f985b1e5ac9bdf55366d17b0ab5525e1ef33f2244d010c0248ce4
|
|
BLAKE2b-256 checksum How to use checksums |
f2818e0720a5e4691f42ca0919a13f8001e01c16b80da23c6751f357e410ae3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|