Skip to main content

A relion star mrcs stack class

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

starstack-0.2.14.tar.gz (18.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

starstack-0.2.14-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file starstack-0.2.14.tar.gz.

File metadata

  • Download URL: starstack-0.2.14.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for starstack-0.2.14.tar.gz
Algorithm Hash digest
SHA256 e9337e88a11fa2b217cb307cd148a15bba1ba3f07992d39cdcecadf2b4e75d3d
MD5 2aeccbfa41c7f61359c9c0856887b642
BLAKE2b-256 012feb2e93d3d0423218fbe0bcba506e2e3ffecea48dd048c532e41ddfb0b552

See more details on using hashes here.

File details

Details for the file starstack-0.2.14-py3-none-any.whl.

File metadata

  • Download URL: starstack-0.2.14-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.23

File hashes

Hashes for starstack-0.2.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7422b94c976f985b1e5ac9bdf55366d17b0ab5525e1ef33f2244d010c0248ce4
MD5 3023e858f380ddbb7c25091222d4b333
BLAKE2b-256 f2818e0720a5e4691f42ca0919a13f8001e01c16b80da23c6751f357e410ae3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page