Skip to main content

Damage parameter estimation for ancient DNA

Project description

PyDamage

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 conda-forge -c bioconda -c maxibor 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

pydamage.readthedocs.io

Cite

@article{Borry2021_pydamage,
    author = {Borry, Maxime and Huebner, Alexander and Rohrlach, Adam B and Warinner, Christina G},
    doi = {10.1101/2021.03.24.436838},
    elocation-id = {2021.03.24.436838},
    eprint = {https://www.biorxiv.org/content/early/2021/03/24/2021.03.24.436838.full.pdf},
    journal = {bioRxiv},
    publisher = {Cold Spring Harbor Laboratory},
    title = {PyDamage: automated ancient damage identification and estimation for contigs in ancient DNA de novo assembly},
    url = {https://www.biorxiv.org/content/early/2021/03/24/2021.03.24.436838},
    year = {2021}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydamage-0.60.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

pydamage-0.60-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file pydamage-0.60.tar.gz.

File metadata

  • Download URL: pydamage-0.60.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for pydamage-0.60.tar.gz
Algorithm Hash digest
SHA256 6b32152ef72302fd952460646bf011f698fd23d70201ddadedf8d2fefe433576
MD5 1d77429c8e1683e643503812baef49ef
BLAKE2b-256 c72951599434dc7eeeaf875978679c69e7f0aaf8f40cb1ef0a2ab0673841b082

See more details on using hashes here.

Provenance

File details

Details for the file pydamage-0.60-py3-none-any.whl.

File metadata

  • Download URL: pydamage-0.60-py3-none-any.whl
  • Upload date:
  • Size: 33.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for pydamage-0.60-py3-none-any.whl
Algorithm Hash digest
SHA256 b4924e93ab59f494bef8af6319974e47d11d11331715b1d2e4b4a8a0c5957b17
MD5 53720c70476257547a33cd163547addf
BLAKE2b-256 be904dd38dde29656716aecb3be8d099f1e4290c4690f33d14ed241bf307791a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page