A Java based tool to determine damage patterns on ancient DNA as a replacement for mapDamage
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



Build Status Documentation Status DOI install with bioconda

This method can be used to calculate damage profiles of mapped ancient DNA reads.

Main author: Judith Neukamm judith.neukamm@uzh.ch Contributor: Alexander Peltzer alexander.peltzer@qbic.uni-tuebingen.de


DamageProfiler calculates damage profiles of mapped reads and provides a graphical as well as text based representation.

It creates

  • damage plots
  • a fragment length distribution
  • a read identity distribution
  • a base frequency table of reference
  • a table of different base misincorporations and their occurrences
How to run
java -jar DamageProfiler-VERSION.jar <arguments> [options]


Shows this help page.

The input sam/bam file.

The output folder


Number of bases which are computations.

Use all mapped reads to calculate damage plots. Default: false.

The reference file

RefSeq ID of the reference genome. This will just use the reads mapping to the specific reference for creating the damage profile. It can for example be used for MALT output files. In this case, please make sure that you run MALT without --sparseSAM option. This would create a sam file with is not readable.
Example: -s NC_022116.1

-sf,--specieslist file
List with species (RefSeq IDs) for which damage profile has to be calculated. One species per line, given as text file (.txt). Species must have the same format like -s parameter.

Number of bases which are considered for plotting nucleotide misincorporations.

-title,--title <TITLE>
Title used for all plots (Default: file name of input SAM/BAM file).

Maximal value on y axis (Default: flexible, adapts to the calculated damage).

Running the jar file without any parameter starts a GUI to configure the run.

A more detailed description, manual and tutorial of DamageProfiler is available on https://damageprofiler.readthedocs.io