Damage parameter estimation for ancient DNA
Project description
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 .
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}
}
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
File details
Details for the file pydamage-0.72.tar.gz
.
File metadata
- Download URL: pydamage-0.72.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92ced045c05f6ec24f5862cb7c2ed916bd179b03a63b9d2ca5be5cb8118e09af |
|
MD5 | 077f4b5f59a39c483bf51441f901294e |
|
BLAKE2b-256 | f5894b6766c0a86ceca5db68b99516c87d1a98c561698517fe29c3aaf3a61f31 |
Provenance
File details
Details for the file pydamage-0.72-py3-none-any.whl
.
File metadata
- Download URL: pydamage-0.72-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74911139f11d036c703b6f13799d5571d15155b56c1cef395c857f4ed76ac2ec |
|
MD5 | df70e7f67e23a20d59fe71571da620ed |
|
BLAKE2b-256 | 20d573ab828d2fbd3953a6e317821fc3b817d09125416490a177521d291cbb94 |