BAMFILTERAUX(1)
π BAMFILTERAUX β ok bestie, let's talk auxiliary tag glow-ups
So like⦠this is bamfilteraux, from the General Commands Manual section (that's section 1, iykyk). It's giving ⨠tag surgeon ⨠and honestly? obsessed.
πΈ NAME πΈ
bamfilteraux β filter auxiliary tags from BAM file
β¨ SYNOPSIS β¨
bamfilteraux [options]
π¦ DESCRIPTION π¦
Okay so here's the tea: bamfilteraux reads a BAM file from standard input, filters the list of auxiliary fields of each alignment, and writes the resulting data to standard output as a BAM file. Stream in, stream out, no drama, no cap. π
You can give it the following key=value pairs, and heads up: the keep and remove keys are mutually exclusive. Pick a lane bestie, you literally cannot do both.
level=<-1|0|1|9|11>β sets the compression level of the output BAM file. The valid values are:-1β zlib/gzip default compression level0β uncompressed1β zlib/gzip level 1 (fast) compression9β zlib/gzip level 9 (best) compression
And like, 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 in the chat:
11β igzip compression
verbose=<1>β the valid values are:1β print progress report on standard error0β do not print progress report
keep=<>β list of tag ids to keep. By default all are kept. If this key is set, then all the ids not in this list are discarded. π«Άremove=<>β list of tag ids to remove. By default none are removed. If this key is set, then all the ids not in this list are kept.tmpfile=<filename>β prefix for temporary files. By default the temporary files are created in the current directory.md5=<0|1>β md5 checksum creation for output file. Valid values are:0β do not compute checksum. This is the default.1β compute checksum. If themd5filenamekey is set, then the checksum is written to the given file. Ifmd5filenameis unset, then no checksum will be computed.
md5filenameβ file name for md5 checksum ifmd5=1.index=<0|1>β compute BAM index for output file. Valid values are: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.
indexfilenameβ file name for BAM index ifindex=1.
not me pointing out thatmd5=1andindex=1both need their filename buddy set or they justβ¦ do nothing π read the fine print bestie, it's giving plot twist.
π 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. (fr fr, no warranty at all, she said what she said π)
and that's the whole page, bestie β go filter some tags and slay β¨
this was BIOBAMBAM, July 2013, page BAMFILTERAUX(1) β mwah, take care of her ππ
π¦ 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