Skip to main content

miss-alignment

License PyPI Python Version CI

260_etomo_vs_3x3

Better alignment = cleaner tomograms. GIF shows a denoised reconstruction after patch tracking alignment and miss-alignment.

Installation

Installation is limited at the moment to a specific python, CUDA, and torch version. This might be fixed at some point in the future. For now, its easiest to set everything up in a conda environment.

First create an environment called miss-alignment with cuda-toolkit 12.9 and activate it:

conda create -n miss-alignment -c conda-forge python=3.12 cuda-toolkit=12.9 -y
conda activate miss-alignment

We need to fix some GPU dependencies for accelerated reconstruction:

python -m pip install torch==2.8.0
python -m pip install torch-projectors --index-url https://warpem.github.io/torch-projectors/cu129/simple/

Finally install miss-alignment with this command:

python -m pip install miss-alignment

Check that the CLI shows up with:

miss-alignment --help

This lists the available commands (train, infer, and download-models); run miss-alignment <command> --help for details on each.

Alternative: uv

From a clone of this repository, pick the group matching your CUDA version (cu126, cu128, cu129, or cpu for macOS/CPU-only):

uv sync --group cu129
source .venv/bin/activate

How to run?

To align a dataset with the pretrained models from easymode by Mart So-Last (downloaded on first use):

miss-alignment infer --data-directory /path/to/warp_tiltseries

See docs/usage.md for instructions, including training your own models.

Changelog

A full list of changes per release is available on the GitHub Releases page.

Citation

Chaillet, M.L., van Loenhout, J., Leung, M.R., Burt, A., and Tegunov, D. (2026) MissAlignment Teaches Itself Better Cryo-ET Tilt-Series Alignment by Making It Worse. bioRxiv. https://doi.org/10.64898/2026.04.29.721716

Metadata

Release files for miss-alignment 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miss-alignment 0.3.0
File Size Uploaded Provenance Actions
miss_alignment-0.3.0.tar.gz 2.0 MB With provenance Details for miss_alignment-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for miss-alignment 0.3.0
File Interpreter ABI Platform Actions
miss_alignment-0.3.0-py3-none-any.whl Python 3 none any Details for miss_alignment-0.3.0-py3-none-any.whl

Total release size: 2.1 MB

Release files / miss_alignment-0.3.0.tar.gz

Download URL miss_alignment-0.3.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
10ea9192cfc70648deb649908d2ace4507474f5e7090b844914586ab88dc98cc
BLAKE2b-256 checksum
How to use checksums
c6f7f2fe30d0842bdf4976646290d709c38e36d37c70d41da390299660da72a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / miss_alignment-0.3.0-py3-none-any.whl

Download URL miss_alignment-0.3.0-py3-none-any.whl
Size 83.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab93dab1d42027ce8b2df3c3d3b4d2c7ebb439c73bfded111e173cf636618a41
BLAKE2b-256 checksum
How to use checksums
be86cac7ebf44bb1674203f9604630415467a8bf98857cf0ceb9ee7e845ec2a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for miss-alignment 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for miss_alignment-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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