MiTo (Mitochondrial single-cell lineage tracing Toolkit)
Mitochondrial single-cell multi-omics in Python.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0b81932f8fa0bcb9f64afbcb73eb0f008e7549b1ef3fc5642cd43f6c04ddc37
|
|
| MD5 |
d626c0d654c63cd1b0f90fe02ed98ac6
|
|
| BLAKE2b-256 |
346694ad116910dc8cc223d37f69da08f9f257b2dc1c5ebcda5330a124c1908b
|
Provenance
The following attestation bundles were made for scmito-0.2.0.tar.gz:
Publisher:
release.yaml on andrecossa5/MiTo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scmito-0.2.0.tar.gz -
Subject digest:
e0b81932f8fa0bcb9f64afbcb73eb0f008e7549b1ef3fc5642cd43f6c04ddc37 - Sigstore transparency entry: 2349255503
- Sigstore integration time:
-
Permalink:
andrecossa5/MiTo@82ee86e271a8acd03323278dec77b455969db269 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/andrecossa5
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@82ee86e271a8acd03323278dec77b455969db269 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad2793763c0168a189a710019b632b9a89ce13e772c7eb88bae3c448d59995a7
|
|
| MD5 |
a98f10493924cd4167199d6cb9690199
|
|
| BLAKE2b-256 |
234e96b8d0ff879027dc403b52b024413898c4aadd08eedf27d3b28846b743f1
|
Provenance
The following attestation bundles were made for scmito-0.2.0-py3-none-any.whl:
Publisher:
release.yaml on andrecossa5/MiTo
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scmito-0.2.0-py3-none-any.whl -
Subject digest:
ad2793763c0168a189a710019b632b9a89ce13e772c7eb88bae3c448d59995a7 - Sigstore transparency entry: 2349256044
- Sigstore integration time:
-
Permalink:
andrecossa5/MiTo@82ee86e271a8acd03323278dec77b455969db269 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/andrecossa5
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@82ee86e271a8acd03323278dec77b455969db269 -
Trigger Event:
push
-
Statement type: