Skip to main content

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)

Source distribution for starstack 0.2.14
File Size Uploaded
starstack-0.2.14.tar.gz 18.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for starstack 0.2.14
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.2.14 This release

2 release files

0.2.13

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page