BAMRECOMPRESS(1)
π BAMRECOMPRESS π
okay bestie, so this is bamrecompress from the General Commands Manual section β and yes it's literally just "recompress BAM file", that's the whole name, she's simple and she serves π
β¨ NAME β¨
bamrecompress β recompress BAM file. that's it. that's the girl.
πΈ SYNOPSIS πΈ
bamrecompress [options]
π¦ DESCRIPTION π¦
so here's the vibe: bamrecompress reads a BAM file from standard input and writes it back out to standard output, but using whatever compression setting you asked for. glow-up via re-encode, basically. and the way that it's also capable of using multi threading?? she's got range, fr fr π₯
you configure her with these key=value pairs, and honestly they're giving choose-your-own-adventure:
π
level=<-1|0|1|9|11> π
sets the compression level of the output BAM file. valid values are, in order:
-1β the zlib/gzip default compression level (let her cook, she knows what she's doing)0β uncompressed. zero. nothing. raw. π1β zlib/gzip level 1, which is the fast one9β zlib/gzip level 9, which is the best one
and if libmaus has been compiled with support for igzip (see https://software.intel.com/en-us/articles/igzip-a-high-performance-deflate-compressor-with-optimizations-for-genomic-data) then there's one more valid value, a little bonus round:
11β igzip compression π
π verbose=<1> π
valid values:
1β print progress report on standard error0β do not print progress report
(that <1> in the header is the default, so yes, she's chatty by default. main character energy.)
π§ numthreads=<1> π§
number of threads to be used for comrpession/decompression β one by default. yes, one. she's polite.
π tmpfile=<filename> π
prefix for temporary files. by default the temporary files are created in the current directory, no cap.
π md5=<0|1> π
md5 checksum creation for output file. valid values:
0β do not compute checksum. this is the default.1β compute checksum. but (and this is the plot twist) if themd5filenamekey is set, then the checksum is written to the given file. ifmd5filenameis unset, then no checksum will be computed. so like... you asked for a checksum and got nothing. tragic but that's the rules π
π md5filename π
file name for md5 checksum if md5=1.
β index=<0|1> β
compute BAM index for output file. valid values:
0β do not compute BAM index. this is the default.1β compute BAM index. if theindexfilenamekey is set, then the BAM index is written to the given file. ifindexfilenameis unset, then no BAM index will be computed. same energy as the md5 thing, iykyk π
π indexfilename π
file name for BAM index if index=1.
π AUTHOR π
Written by German Tischler.
π«Ά REPORTING BUGS π«Ά
Report bugs to <germant@miltenyibiotec.de>
π₯ COPYRIGHT π₯
Copyright Β© 2009-2013 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. like, none. zero. don't come for her if it breaks π
and that's the whole page bestie!! this was the BIOBAMBAM joint, dated July 2013, living in section 1 of your manual β go forth and recompress responsibly πβ¨π
π¦ 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