Pydamage
Damage parameter estimation for ancient DNA
Install / Use
/learn @maxibor/PydamageREADME
PyDamage
Pydamage, is a Python software to automate the process of contig damage identification and estimation. After modelling the ancient DNA damage using the C to T transitions, Pydamage uses a likelihood ratio test to discriminate between truly ancient, and modern contigs originating from sample contamination.
Installation
With conda (recommended)
conda install -c bioconda pydamage
With pip
pip install pydamage
Install from source to use the development version
Using pip
pip install git+ssh://git@github.com/maxibor/pydamage.git@dev
By cloning in a dedicated conda environment
git clone git@github.com:maxibor/pydamage.git
cd pydamage
git checkout dev
conda env create -f environment.yml
conda activate pydamage
pip install -e .
Running tests
python -m pytest
Quick start
pydamage --outdir result_directory analyze aligned.bam
Note that if you specify
--outdir, it has to be before the PyDamage subcommand, example:pydamage --outdir test filter pydamage_results.csv
CLI help
Command line interface help message
pydamage --help
Documentation
Cite
PyDamage has been published in PeerJ: 10.7717/peerj.11845
@article{borry_pydamage_2021,
author = {Borry, Maxime and Hübner, Alexander and Rohrlach, Adam B. and Warinner, Christina},
doi = {10.7717/peerj.11845},
issn = {2167-8359},
journal = {PeerJ},
language = {en},
month = {July},
note = {Publisher: PeerJ Inc.},
pages = {e11845},
shorttitle = {PyDamage},
title = {PyDamage: automated ancient damage identification and estimation for contigs in ancient DNA de novo assembly},
url = {https://peerj.com/articles/11845},
urldate = {2021-07-27},
volume = {9},
year = {2021}
}
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
111.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
353.3kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
