Dirichlet Allocation of MUTAtions in cancer
Damage and Misrepair Signatures: Compact Representations of Pan-cancer Mutational Processes
Features
- Separately model damage and misrepair processes
- Estimate activities of DAMUTA signatures
- Fit new Damage- and Misrepair-signatures denovo
DAMUTA signature definitions
nb. internally these signatures are referred to by their symbols in the graphical model: eta and phi respectively.
Model
Repo contents
- damuta python package
- docs package documentation
- example notebooks usage examples & tutorials
- manuscript code code to reproduce experiments and plots reported in manuscript
Documention
DAMUTA documentation is hosted via readthedocs
System requirements
Recommended Requirements:
- Unix-based system (tested on CentOS Linux 7)
- RAM: 16+ GB (for large-scale pan-cancer datasets)
- CPU: 4+ cores, 3.0+ GHz/core
- GPU: NVIDIA GPU with CUDA support (optional, for GPU acceleration via Theano)
Software dependencies are specified in (damuta_env.yml)[./damuta_env.yml]
Installation
From github
Clone this repo git clone https://github.com/morrislab/damuta
conda env create -f damuta_env.yml
conda activate damuta
pip install -e .
from PyPI
pip install damuta
theanorc
To use the GPU, ~/.theanorc should contain the following:
[global]
floatX = float64
device = cuda
Otherwise, device will default to CPU.
Installation Time Estimates
Conda environment setup: ~3-5 minutes Package installation: ~2-3 minutes
Demo
See quickstart to get started (~5 min)
Reproducing manuscript results
See manuscript code for code to reproduce experiments and plots reported in manuscript
Some data files are omitted from this repository due to access restrictions. Access can be requested from the corresponding sources:
Data for reproducing manuscript figures
Unrestricted-access data and certain useful intemediate files are also available via can be downloaded from zenodo
To download and organize these data:
# in top-level directory
wget https://zenodo.org/records/15685052/files/damuta_zenodo.zip
unzip damuta_zenodo
mv damuta_zenodo/data/* manuscript/data
mv damuta_zenodo/figure_data/* manuscript/results/figure_data
# clean up now-empty directories
rmdir damuta_zenodo/data damuta_zenodo/figure_data damuta_zenodo
Some useful public data
| file name | info | source |
|---|---|---|
| COSMIC_v3.2_SBS_GRCh37.csv | COSMIC database | |
| icgc_sample_annotations_summary_table.txt | sample annotations used by PCAWG heterogeneity & evolution working group | ICGC data portal |
| PCAWG_sigProfiler_SBS_signatures_in_samples | counts of mutations attributed to each signature for PCAWG samples | syn11738669.7 |
| pcawg_counts.csv | mutation type counts in PCAWG samples | Derived from syn7357330 |
| pcawg_cancer_types.csv | sample annotations used in Jiao et. al | Adapted from z-scores file |
| gel_clinical_ann.csv | tumour type annotations for 18640 samples (ICGC, HMF, GEL) | Adapted from Degasperi et. al table S6 |
| gel_counts.csv | mutation type counts for 18640 samples (ICGC, HMF, GEL) | Adapted from Degasperi et. al table S7 |
Citation
@misc{harrigan_damage_2025,
title = {Damage and {Misrepair} {Signatures}: {Compact} {Representations} of {Pan}-cancer {Mutational} {Processes}},
copyright = {© 2025, Posted by Cold Spring Harbor Laboratory. This pre-print is available under a Creative Commons License (Attribution-NonCommercial 4.0 International), CC BY-NC 4.0, as described at http://creativecommons.org/licenses/by-nc/4.0/},
shorttitle = {Damage and {Misrepair} {Signatures}},
url = {https://www.biorxiv.org/content/10.1101/2025.05.29.656360v1},
doi = {10.1101/2025.05.29.656360},
language = {en},
urldate = {2025-06-02},
publisher = {bioRxiv},
author = {Harrigan, Caitlin F. and Campbell, Kieran and Morris, Quaid and Funnell, Tyler},
month = jun,
year = {2025},
}
Metadata
Release files for damuta 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| damuta-1.0.7.tar.gz | 32.2 kB | Without provenance | Details for damuta-1.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| damuta-1.0.7-py3-none-any.whl | Python 3 | none | any | Details for damuta-1.0.7-py3-none-any.whl |
Total release size: 66.2 kB
Release files / damuta-1.0.7.tar.gz
| Download URL | damuta-1.0.7.tar.gz |
|---|---|
| Size | 32.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b1f18c37d3a15bfa17b18f9337edf8eb9a886fbe8531ce134daab9f0e54ec60
|
|
BLAKE2b-256 checksum How to use checksums |
064fc9a6365a61cd8a0c54e54439a2172238429176c2cae0186f44e9785fb2b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.20
|
Release files / damuta-1.0.7-py3-none-any.whl
| Download URL | damuta-1.0.7-py3-none-any.whl |
|---|---|
| Size | 34.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7138efd4e5ddb979e090aee0e6382cdf1c98f61ce751bc552f139d6382b5018d
|
|
BLAKE2b-256 checksum How to use checksums |
eb8337242ddcaae1d141e00a51ed6827ec3d34f0694d4e474a2114767e26c0f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.20
|
Security for damuta 1.0.7
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.