BAMBISECT(1)
π BAMBISECT β find the tiniest little BAM that still breaks your program π
okay so bestie, welcome to bambisect, a member of the General Commands Manual family, and honestly? she's a baddie. she takes your big messy BAM file and hunts down the smallest possible slice that still makes your program crash. debugging arc, but make it efficient. periodt. π
β¨ NAME β¨
bambisect β find reduced size BAM file on which a program fails
like, the whole vibe is: "your program exploded on this BAM? cool. let's find the minimal BAM that still explodes it so you don't have to stare at a million records." π¦
πΈ SYNOPSIS πΈ
bambisect [options] in.bam prog
π DESCRIPTION π
So here's the tea, bestie. bambisect runs prog on in.bam. If that fails β and by fails we mean a non-zero return code, the classic "it's giving error" moment β then it starts systematically reducing the number of records by extracting intervals of records from in.bam and rerunning prog on those intervals. It keeps going until it finds an interval where prog fails, but where prog succeeds on any proper sub interval. That's the winner. That's the main character. π
The following key=value pairs can be given:
level=<-1|0|1|9>β sets the compression level used when compressing BAM. The valid values are:-1β zlib/gzip default compression level0β uncompressed1β zlib/gzip level 1 (fast) compression9β zlib/gzip level 9 (best) compression
verbose=<1>β the valid values are:1β print progress report on standard error0β do not print progress report
tmpfile=<filename>β prefix for temporary files. By default the temporary files are created in the current directory
ngl, thatverbosedefault is1, so she's gonna yap about her progress on stderr unless you tell her not to. π¬
π«Ά AUTHOR π«Ά
Written by German Tischler. icon behavior, honestly. π
π REPORTING BUGS π
Report bugs to <germant@miltenyibiotec.de>
(not me begging you to actually email instead of just yelling into the void, fr fr π)
π 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.
okay that last bit is the serious one bestie β no warranty, no cap. use it, remix it, redistribute it, but nobody's covering you if it goes sideways. π
and that's the whole page!! stay slay, go find that one cursed record, and remember: BIOBAMBAM, July 2019 β¨πππ
π¦ 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