REAPR-PERFECTFROMBAM(1)
π REAPR-PERFECTFROMBAM π
okay bestie, welcome to the reapr-perfectfrombam(1) page β it's the manual page for the bit of REAPR that goes "hey, what if we made a perfect mapping depth file from a BAM?" and you're gonna understand all of it, i promise π«Ά
β¨ NAME β¨
reapr-perfectfrombam β generate perfect mapping plots from a bam file πΈ
β¨ SYNOPSIS β¨
reapr perfectfrombam [options] <in.bam> <outfileprefix> <mininsert>
<maxinsert> <repetitive-max-qual> <perfect-min-qual>
<perfect-min-alignment-score>
β¨ DESCRIPTION β¨
so basically this is the alternative to using perfectmap, for large genomes. that's the whole vibe of it.
It takes a BAM, and like β that BAM must have AS:... tags in each line. non-negotiable, it needs those. Then it makes a file of perfect mapping depth, which you use with the REAPR pipeline. π
genuinely though, the recommendation is to useperfectmapinstead, unless your genome is large (more than ~300MB). why? because even thoughreapr perfectmapis very fast to run, it uses a lot of memory. so it's giving speed, but at the cost of RAM. pick your fighter. π
A BAM file made by smaltmap is suitable input. β
Reads in pair pointing towards each other, with the given minimum alignment score and mapping quality and within the given insert size range are used to generate the coverage across the genome. like, those are the reads that get to count. everyone else is a background character. β¨
Additionally, regions with repetitive coverage are called, by taking read pairs where at least one read of the pair (is mapped and) has mapping quality less than or equal to <repetitive max qual>. π
β¨ OPTIONS β¨
-nocleanβ Use this to not delete the temporary bam file. (yes bestie, that temporary bam file wants to be cleaned up by default β this flag is you saying "no, keep it, i need it" π)
β¨ SEE ALSO β¨
and that's the whole thing, no cap β you're now certified in reapr-perfectfrombam π
β¨
sign-off time: this was the REAPR-PERFECTFROMBAM(1) manual page (source: REAPR), so go forth and map perfectly, you absolute icon ππ¦
π¦ where this page comes from
- ubuntu resolute: reapr 1.0.18+dfsg-7build1 Β· GPL-3.0-only
- ubuntu stonking: reapr 1.0.18+dfsg-7build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms