BAMCLIPXT(1)
π NAME π
ok so bamclipXT β she puts back the query sequence fragments that bamadapterclip took out π«Ά no cap, that's literally the whole job.
β¨ SYNOPSIS β¨
bamclipXT [options]
πΈ DESCRIPTION πΈ
ok bestie, listen up, because this one's actually kind of iconic. π
bamclipXT takes a SAM/BAM/CRAM file that's carrying the XT flag β you know, the one Picard's MarkIlluminaAdapters leaves behind β and it sets the designated base qualities to 2. That's the vibe. π
But here's the part that eats: the original base qualities don't just get yeeted into the void. Nope. They get copied over to a brand new aux tag named cq (short for clipped quality, iykyk π). So nothing is lost, everything is preserved, we love a data-hygiene moment.
Then the resulting data gets written back out as a SAM/BAM/CRAM file. slay. β¨
π§ the key=value pairs you can hand her π§
These are the little key=value combos you can pass in:
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
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 πmd5=<0|1>β md5 checksum creation for the 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.
π«Ά quick heads up bestie:levellists11as a valid value up top, but the descriptions below only spell out-1,0,1and9. Just passing along exactly what she said, no edits, no guessing, periodt.
π AUTHOR π
Written by German Tischler.
π REPORTING BUGS π
Report bugs to <germant@miltenyibiotec.de>
(ngl if something's broken, tell the author, not me π)
π 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.
fr fr, read that last line again. no warranty, bestie. she's free and she's fabulous and she comes with zero promises. π
that's the whole page, mwah π this one comes to you from BIOBAMBAM, dated July 2019, and it's page BAMCLIPXT(1) of the manual β go forth and clip responsibly, queen πβ¨π¦
π¦ 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