Skip to main content

Damage parameter estimation for ancient DNA

Project description

pydamage logo

pydamage CI Documentation Status

Pydamage, is a Python software to automate the process of contig damage identification and estimation. It uses a process akin to a likelihood ratio test to attempt to discriminate between truly ancient, and modern contigs originating from sample contamination.

Install

With conda (recommended)

conda install -c conda-forge -c bioconda -c maxibor pydamage

With pip

pip install pydamage

Documentation

pydamage.readthedocs.io

Help

$ pydamage --help
Usage: pydamage [OPTIONS] BAM

  PyDamage: Damage parameter estimation for ancient DNA
  Author: Maxime Borry
  Contact: <borry[at]shh.mpg.de>
  Homepage & Documentation: github.com/maxibor/pydamage

  BAM: path to BAM/SAM/CRAM alignment file

Options:
  --version              Show the version and exit.
  -w, --wlen INTEGER     Window length for damage modeling  [default: 20]
  -p, --process INTEGER  Number of processes  [default: 2]
  -m, --mini INTEGER     Minimum reads aligned to consider reference
                         [default: 2000]

  -c, --cov FLOAT        Minimum coverage to consider reference  [default:
                         0.5]

  -s, --show_al          Show alignments representations
  -pl, --plot            Make the damage plots
  --verbose              Verbose mode
  -o, --outdir PATH      Output directory  [default: pydamage_results]
  --force                Force overwriting of results directory
  --help                 Show this message and exit.

pydamage logic: n_reads >=minimum reads OR coverage >= minimum coverage

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.11.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

pydamage-0.11-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydamage-0.11.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pydamage-0.11.tar.gz
Algorithm Hash digest
SHA256 fef739482f9a7352ed21e00d876fb455ec67fe121d2fb074847fc4f1db996f6d
MD5 30dce4d94e5e19aece3dec7bd4b78e09
BLAKE2b-256 76fd54d6521a96666387d20452e787578f48533026bfcae48916904fd54d3e23

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: pydamage-0.11-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pydamage-0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 9aeb4ebaaca14b5aea531b7971484ba2b69990dfb236a293840503a31a8a18c3
MD5 0d2986d577a91c63e5ade1d7b9fa37a8
BLAKE2b-256 ec285504aeabb5260859bd9ce04f4e7b78eb0ff92443a5e6324f4e564ca567ea

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