BAMALIGNFRAC(1)
β¨ NAME β¨
bamalignfrac β bestie, it computes the fraction of aligned bases in an alignment file π
This one's from the General Commands Manual, and yes she is that girl.
πΈ SYNOPSIS πΈ
bamalignfrac [options] <input.bam>
π¦ DESCRIPTION π¦
okay so bamalignfrac reads a SAM/BAM/CRAM file, does a whole lil math moment, and prints a set of statistical values on the standard output channel. no cap. here's what she gives you:
- the number of names passing a given regex filter π
- the number of primary alignments
- the number of total alignments
- the total number of bases
- the total number of aligned bases
- the fraction of aligned bases π
- the total number of clipped/unaligned bases
- the number of unmapped reads π
all of these get printed on the standard output channel at the end of the program run, in the last line printed by the program. before that, the program prints a set of line description lines. so like, the receipts come first, then the β¨numbersβ¨.
π«Ά heads up bestie: the input file needs to be provided in query name sorted order. you can get that via e.g.
$ bamsort SO=queryname
right before being passed to bamalignfrac. do not skip this step, i'm literally begging π
The following key=value pairs can be given:
verbose=<0|1>β print preliminary values for file prefixes while processing the input file πname=<>β only consider reads matching the given regular expression. by default all reads are considered, no filtering, we love an inclusive queen π
π AUTHOR π
Written by German Tischler-HΓΆhle. icon behavior fr fr.
π REPORTING BUGS π
Report bugs to <germant@miltenyibiotec.de>. she wants to hear from you, tell her everything.
π COPYRIGHT π
Copyright Β© 2009-2019 German Tischler, Β© 2011-2013 Genome Research Limited. License GPLv3+: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
π¨ There is NO WARRANTY, to the extent permitted by law. (so true, so real, protect yourself)
and that's the whole page bestie, mwah π β this was the BIOBAMBAM era, July 2019, filed under BAMALIGNFRAC(1). slay, periodt. π β¨π
π¦ where this page comes from
- debian bookworm: biobambam2 2.0.185+ds-1 Β· GPL-3.0-or-later
- debian trixie: biobambam2 2.0.185+ds-2 Β· GPL-3.0-or-later
- ubuntu jammy: biobambam2 2.0.183+ds-1 Β· GPL-3.0-or-later
- ubuntu noble: biobambam2 2.0.185+ds-1 Β· GPL-3.0-or-later
- ubuntu questing: biobambam2 2.0.185+ds-2
- ubuntu resolute: biobambam2 2.0.185+ds-2build1 Β· GPL-3.0-or-later
- ubuntu stonking: biobambam2 2.0.185+ds-2build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms