8000 GitHub - maxibor/pydamage at 0.30
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

maxibor/pydamage

Repository files navigation

pydamage logo

GitHub release (latest by date including pre-releases) pydamage CI Documentation Status PyPI Conda

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.

Install

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

By cloning in a dedicated conda environment

git clone git@github.com:maxibor/pydamage.git
cd pydamage
conda env create -f environment.yml
conda activate 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: 35]
  -p, --process INTEGER  Number of processes  [default: 2]
  -m, --mini INTEGER     Minimum reads aligned to consider reference
                         [default: 1000]

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

  -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

About

Damage parameter estimation for ancient DNA

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0