BAMSPLITDIV(1)
β¨ bamsplitdiv(1) β¨
okay so bestie, this is a page from the General Commands Manual, and it's all about bamsplitdiv π
buckle up, it's lowkey iconic.
πΈ NAME πΈ
bamsplitdiv β split a BAM file into a whole set of BAM files π§
π SYNOPSIS π
bamsplitdiv [options]
π DESCRIPTION π
so here's the vibe: bamsplitdiv reads a BAM file through standard input and creates a set of output BAM files holding the alignments from the input. β¨
Give it a positive natural number div and it will make div files. The alignments from the input get distributed across the output files in a round robin type scheme, like:
- entries
0,div,2div,3div, etc. β go to the first output file π₯ 1,div+1,2div+1,3div+1, etc. β go to the second, etc. π₯
periodt. that's the whole distribution scheme, no cap.
The following key=value pairs can be given:
div=<1>β number of output files πprefix=<filename>β prefix for the created files. The created files will have names${prefix}_000000.bam,${prefix}_000001.bam, etc. πlevel=<-1|0|1|9|11>β set the compression level of the output BAM file. Valid values are:-1: zlib/gzip default compression level0: uncompressed1: zlib/gzip level 1 (fast) compression9: zlib/gzip level 9 (best) compression
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 an additional valid value is:
11: igzip compression π₯
verbose=<1>β valid values are:1: print progress report on standard error0: do not print progress report
π AUTHOR π
Written by German Tischler. π
π REPORTING BUGS π
Report bugs to <germant@miltenyibiotec.de> β yes bestie, fr fr, they want to hear about it π«Ά
π 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. β οΈ
and that's a wrap, my love π this page came to you courtesy of BIOBAMBAM, dated October 2013 β vintage but still slaying β¨π¦π
π¦ 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