Skip to main content
MiTo

MiTo (Mitochondrial single-cell lineage tracing Toolkit)

Mitochondrial single-cell multi-omics in Python.

PyPI Python Tests Documentation License: MIT

MiTo infer clonal ancestries in single-cell data from natural mtDNA variation.

The framework provides the infrastructure to convert MAESTER, scmtATAC-seq and RedeeM pre-processing outputs into Allele Frequency Matrices (i.e., AnnData objects), filter informative mtDNA variants, genotype individual cells, and infer mitochondrial phylogenies and clones for dowstream multi-omic analysis.

Installation

pip install scmito

Requires Python 3.11+.

import mito as mt
print(mt.__version__)

Quick start

import scanpy as sc
import mito as mt

# Allele Frequency Matrix (cell x site AnnData with AD / DP layers)
afm = sc.read('afm_unfiltered.h5ad')

# Cell and variant filters, distances in mtDNA mutation space
afm = mt.pp.filter_cells(afm, cell_filter='filter2')
afm = mt.pp.filter_afm(afm, filtering='MiTo')

# Phylogeny and clonal inference
tree = mt.tl.build_tree(afm, precomputed=True, solver='UPMGA')
annotator = mt.tl.MiToTreeAnnotator(tree)
annotator.clonal_inference()

# Visualization
mt.pl.plot_tree(tree, features=['MiTo clone'])

See getting-started tutorial for the full vignette.

API

MiTo follows the scverse layout, composing with scanpy and anndata:

Module Purpose
io Build AFMs from pre-processing outputs, read/write Newick tree objects
pp Cell and variant filtering, genotying, distances, kNN graphs, embeddings
tl Tree building, clonal inference, clustering, fate bias
pl Trees, heatmaps, embeddings, coverage and variant-spectrum plots
ut Metrics, helpers

Supported platforms: scRNA-seq (MAESTER), scmtATAC-seq and 10x MultiOme (RedeeM).

Full reference: MiTo docs.

Development

git clone https://github.com/andrecossa5/MiTo.git
cd MiTo
pip install -e ".[test]"
pytest

Citation

If MiTo is useful in your work, please cite:

Cossa, A. Dalmasso A. et al. MiTo: mitochondrial lineage tracing and single-cell multi-omics. Nat Comm (2026). https://doi.org/10.1038/s41467-026-71607-5

MiTo builds on the Cassiopeia package for phylogeny reconstruction and data infrastructure. Please, cite it as well.

Releases

See CHANGELOG.md.

License

MIT — see LICENSE.

Download files

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

Source Distribution

scmito-0.2.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

scmito-0.2.0-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file scmito-0.2.0.tar.gz.

File metadata

  • Download URL: scmito-0.2.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scmito-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e0b81932f8fa0bcb9f64afbcb73eb0f008e7549b1ef3fc5642cd43f6c04ddc37
MD5 d626c0d654c63cd1b0f90fe02ed98ac6
BLAKE2b-256 346694ad116910dc8cc223d37f69da08f9f257b2dc1c5ebcda5330a124c1908b

See more details on using hashes here.

Provenance

The following attestation bundles were made for scmito-0.2.0.tar.gz:

Publisher: release.yaml on andrecossa5/MiTo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scmito-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: scmito-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for scmito-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2793763c0168a189a710019b632b9a89ce13e772c7eb88bae3c448d59995a7
MD5 a98f10493924cd4167199d6cb9690199
BLAKE2b-256 234e96b8d0ff879027dc403b52b024413898c4aadd08eedf27d3b28846b743f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for scmito-0.2.0-py3-none-any.whl:

Publisher: release.yaml on andrecossa5/MiTo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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