Dirichlet allocation of mutations in cancer genomes
Project description
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},
}
Project details
Release history Release notifications | RSS feed
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 damuta-1.0.6.tar.gz.
File metadata
- Download URL: damuta-1.0.6.tar.gz
- Upload date:
- Size: 34.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfb17714590606b16fedf9241f6a2e94d7f533a9f5d4e7a652fac419d1657c7e
|
|
| MD5 |
a00c809e4affddd2f375ecd77b550620
|
|
| BLAKE2b-256 |
73f13be46e986e180e4edec8a85d91c19f85a1faab200d89e436a72ad9291794
|
File details
Details for the file damuta-1.0.6-py3-none-any.whl.
File metadata
- Download URL: damuta-1.0.6-py3-none-any.whl
- Upload date:
- Size: 35.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13314649537cea38337197f513326e40d100c5d56655bec86b767454c38e51bb
|
|
| MD5 |
3d834cd1b2ebf454ff54fd8ba260b0eb
|
|
| BLAKE2b-256 |
a91a07366585070654c2c06b3c97ca38a361a23f17206e85c2d5a4a1d011e5b3
|