This is a fork
This repository is a fork of YosefLab/Cassiopeia, redistributed on PyPI as
cassiopeia-mtso that it can be pinned as a dependency of MiTo. The code is unmodified apart from the package name.All credit belongs to the original authors. Please direct issues, feature requests and citations to the upstream repository. Distributed under the original MIT License.
pip install cassiopeia-mt
Cassiopeia: A pipeline for single-cell lineage tracing data
Cassiopeia is an end-to-end pipeline for single-cell lineage tracing experiments. The software contained here comes equipped with modules for processing sequencing reads, reconstructing & plotting trees, analyzing these trees, and benchmarking new algorithms.
You can find all of our documentation here.
We also have provided tutorials for three modules:
- processing fastqs
- reconstructing trees
- simulating trees and benchmarking
- plotting trees with our local library
You can also find our originally describing Cassiopeia published in Genome Biology.
Free Software: MIT License
Installation
For users:
pip install git+https://github.com/YosefLab/Cassiopeia@master#egg=cassiopeia-lineage
For developers:
-
Clone the package as so:
git clone https://github.com/YosefLab/Cassiopeia.git -
Ensure that you have Python >= 3.10 installed. (Due to dependencies and ongoing updates to Python, we will not guarantee support for python <= 3.9) We prefer using miniconda.
-
[Optional] If you intend to use the CassiopeiaILP solver, please be sure that Gurobi is installed. You can follow the instructions listed here. To verify that it's working correctly, use the following tests:
- Run the command
gurobi.shfrom a terminal window - From the Gurobi installation directory (where there is a setup.py file), use
python setup.py install --user
- Run the command
-
[Optional] To use fast versions of Neighbor-Joining and UPGMA, install CCPhylo. Then copy the file
./data/ccphylo_config.inito your./cassiopeiadirectory, rename itconfig.iniand set the Path variable to point to your CCPhylo installation. -
Install Cassiopeia by first changing into the Cassiopeia directory and then
pip3 install .ormake install. To install dev and docs requirements, you can runpip3 install .[dev,docs]. -
[Optional] To use tools built for the analysis of spatial lineage tracing datasets, you can install Cassiopeia with
pip install .[spatial]. Please note that we recommend using Python >= 3.9 for these analyses as some features might not be available otherwise, due to package dependencies (especially 3D visualization).
To verify that it installed correctly, install pytest (pip install pytest) and try running our tests with make test.
Reference
If you've found Cassiopeia useful for your research, please consider citing our paper published in Genome Biology:
Matthew G Jones*, Alex Khodaverdian*, Jeffrey J Quinn*, Michelle M Chan, Jeffrey A Hussmann, Robert Wang, Chenling Xu, Jonathan S Weissman, Nir Yosef. (2020), Inference of single-cell phylogenies from lineage tracing data using Cassiopeia, Genome Biology
Metadata
Release files for cassiopeia-mt 2.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cassiopeia_mt-2.1.3.tar.gz | 5.8 MB | Details |
Release files / cassiopeia_mt-2.1.3.tar.gz
| Download URL | cassiopeia_mt-2.1.3.tar.gz |
|---|---|
| Size | 5.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5934043af6506a6439576816be49e170bc41dbe3766eaf49d14d05c3577a3e24
|
|
BLAKE2b-256 checksum How to use checksums |
7c23293337ab4fd0639a67a8dbc369785fa68e50c82e751c5b52f815ad3790c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 5, 2026.
Transparency log