MAPDAMAGE(1)
β¨ NAME β¨
mapDamage β tracking and quantifying damage patterns in ancient DNA sequences ππ§¬
okay so first things first: this is a User Command, manual section 1, and it's literally the whole plot β you hand it ancient DNA, it counts up the damage. iconic.
πΈ SYNOPSIS πΈ
mapDamage [options] -i BAMfile -r reference.fasta
like, give it a BAM and a reference and let it cook π
π¦ DESCRIPTION π¦
MapDamage is a computational framework written in Python and R, and what it does is track and quantify DNA damage patterns among ancient DNA sequencing reads generated by Next-Generation Sequencing platforms. no cap. that's the whole job and it does it beautifully π«Ά
π OPTIONS π
okay bestie, here's the menu. every single flag, nothing skipped, we're not doing that π
--versionβ show program's version number and exit-h,--helpβ show this help message and exit
π Input files π
the ones you literally cannot skip, fr fr
-i FILENAME,--input=FILENAMEβ SAM/BAM file, must contain a valid header, use'-'for reading a BAM from stdin-r REF,--reference=REFβ Reference file in FASTA format
π General options π
-n DOWNSAMPLE,--downsample=DOWNSAMPLEβ Downsample to a randomly selected fraction of the reads (if0 < DOWNSAMPLE < 1), or a fixed number of randomly selected reads (ifDOWNSAMPLE >= 1). By default, no downsampling is performed. (so like, do nothing and it just reads everything, your call β¨)--downsample-seed=DOWNSAMPLE_SEEDβ Seed value to use for downsampling. See documentation for py module'random'for default behavior.--merge-reference-sequencesβ Ignore reference sequence names when tabulating reads (using'*'instead). Useful for alignments with a large number of reference sequences, which may otherwise result in excessive memory or disk usage due to the number of tables generated. (translation: lots of refs = lots of tables = your disk crying π)-l LENGTH,--length=LENGTHβ read length, in nucleotides to consider[70]-a AROUND,--around=AROUNDβ nucleotides to retrieve before/after reads[10]-Q MINQUAL,--min-basequal=MINQUALβ minimum base quality Phred score considered, Phred-33 assumed[0]-d FOLDER,--folder=FOLDERβ folder name to store results[results_FILENAME]-f,--fastaβ Write alignments in a FASTA file--plot-onlyβ Run only plotting from a valid result folder-q,--quietβ Disable any output to stdout-v,--verboseβ Display progression information during parsing--mapdamage-modules=MAPDAMAGE_MODULESβ Override the system wide installed mapDamage module
π¨ Options for graphics π¨
-y YMAX,--ymax=YMAXβ graphical y-axis limit for nucleotide misincorporation frequencies[0.3]-m READPLOT,--readplot=READPLOTβ read length, in nucleotides, considered for plotting nucleotide misincorporations[25]-b REFPLOT,--refplot=REFPLOTβ the number of reference nucleotides to consider for plotting base composition in the region located upstream and downstream of every read[10]-t TITLE,--title=TITLEβ title used for plots[]
π₯ Options for the statistical estimation π₯
this is the main character section, ngl
--rand=RANDβ Number of random starting points for the likelihood optimization[30]--burn=BURNβ Number of burnin iterations[10000]--adjust=ADJUSTβ Number of adjust proposal variance parameters iterations[10]--iter=ITERβ Number of final MCMC iterations[50000]--forwardβ Using only the 5' end of the seqs[False]--reverseβ Using only the 3' end of the seqs[False]--var-dispβ Variable dispersion in the overhangs[False]--jukes-cantorβ Use Jukes Cantor instead of HKY85[False]--diff-hangsβ The overhangs are different for 5' and 3'[False]--fix-nicksβ Fix the nick frequency vector (Only C.T from the 5' end and G.A from the 3' end)[False]--use-raw-nick-freqβ Use the raw nick frequency vector without smoothing[False]--single-strandedβ Single stranded protocol[False]--theme-bwβ Use black and white theme in post. pred. plot[False]--seq-length=SEQ_LENGTHβ How long sequence to use from each side[12]--stats-onlyβ Run only statistical estimation from a valid result folder--rescaleβ Rescale the quality scores in the BAM file using the output from the statistical estimation--rescale-onlyβ Run only rescaling from a valid result folder--rescale-out=RESCALE_OUTβ Write the rescaled BAM to this file--no-statsβ Disabled statistical estimation, active by default--check-R-packagesβ Check if the R modules are working
π BUGS π
found a bug? do NOT suffer in silence bestie, report it:
aginolhac@snm.ku.dkMSchubert@snm.ku.dkjonsson.hakon@gmail.com
π AUTHOR π
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program.
and that's the whole page, bestie π this was mapDamage 2.0.6, dated August 2016, living in section 1 of the manual (the User Commands one, iykyk). go forth and quantify some damage, you absolute icon π§¬β¨π
π¦ where this page comes from
- debian bookworm: mapdamage 2.2.1+dfsg-3 Β· MIT
- debian trixie: mapdamage 2.2.2+dfsg-1 Β· MIT
- ubuntu jammy: mapdamage 2.2.1+dfsg-2 Β· MIT
- ubuntu noble: mapdamage 2.2.1+dfsg-3 Β· MIT
- ubuntu questing: mapdamage 2.2.2+dfsg-1
- ubuntu resolute: mapdamage 2.2.3+dfsg-2ubuntu1 Β· MIT
- ubuntu stonking: mapdamage 2.2.3+dfsg-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms