Skip to main content

Synthetic Cryo-EM map generator from PDB models

Project description

synth-cryo-em

Tests Documentation

A lightweight Pythonic utility to convert atomic models (PDB/CIF) into synthetic 3D Cryo-EM maps with realistic noise, CTF effects, and varying resolutions.

🌟 Features

  • Voxelize atomic models with accurate resolution simulation.
  • Simulate Physics: Apply Contrast Transfer Functions (CTF) and envelope functions.
  • Noise Modeling: Add adjustable Gaussian noise to simulate low-SNR experimental data.
  • Standard Format: Export results to MRC files compatible with RELION, ChimeraX, and other tools.

🚀 Quick Start

Installation

pip install synth-cryo-em

Basic Generation

synth-cryo-em structure.pdb output.mrc --resolution 4.0

Realistic Simulation

synth-cryo-em structure.pdb output.mrc --resolution 3.5 --apply-physics --snr 5

📚 Documentation

For detailed guides and API reference, visit the Documentation Site.

🛠️ Development

To install for development and documentation:

pip install -e ".[test,docs]"

Run tests:

pytest tests/

Build docs locally:

mkdocs serve

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

synth_cryo_em-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

synth_cryo_em-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file synth_cryo_em-0.1.0.tar.gz.

File metadata

  • Download URL: synth_cryo_em-0.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for synth_cryo_em-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9cc41f9caa8aca11aaa1422a145fcddc2277f9d38cb5512ff9dc308b27a73197
MD5 429f43ac2c7c8bee832d1a345d61f3f2
BLAKE2b-256 1d30f5a3f1de3f2262fa386721158c2cea45430ca0e81d53aa6e5b475df46de6

See more details on using hashes here.

File details

Details for the file synth_cryo_em-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: synth_cryo_em-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for synth_cryo_em-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a91ae91464e9c966f85495c0bf5e5d3492c76748fa1d5e2deb12fbf79cee77d
MD5 bb08f06e58ce3a6aeb7e0266f049c6b1
BLAKE2b-256 9bc924478d3cf3a9833e91f6350703665534bae03a4d5dbe9250c98ff7c4cd5b

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