BAMTAGCONVERSION(1)
π BAMTAGCONVERSION π
okay bestie, welcome to bamtagconversion, section 1 of the General Commands Manual β she's giving glow-up energy and she's here to fix your tags β¨
πΈ NAME πΈ
bamtagconversion β convert old tags to new ones π
β¨ SYNOPSIS β¨
bamtagconversion [options]
π¦ DESCRIPTION π¦
So like, bamtagconversion takes your old MS, MT and MC tags and converts them into the matching ms, mt and mc tags. Iconic, right? But wait β plot twist π β because there's already an official MC:Z tag in the SAM spec, bamtagconversion only converts MC:i tags. no cap.
She takes a BAM file as input and outputs a BAM file with the changes made. in and out, bam to bam, slay π
the following key=value pairs can be given:
level=<-1|0|1|9|11>β set the compression level of the output BAM file. the valid values are:-1: zlib/gzip default compression level.0: uncompressed.1: zlib/gzip level 1 (fast) compression.9: zlib/gzip level 9 (best) compression.
if libmaus has been compiled with support for igzip (peep 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 on the menu:
11: igzip compression.
verbose=<0|1>β valid values are:0: do not print progress report (default).1: print progress report to standard error.
md5=<0|1>β md5 checksum creation for the output file. this one can only be given ifoutputformat=bam. then the 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.outputthreads=<[1]>β output helper threads. π§
π AUTHOR π
Written by Andrew Whitwham. periodt π
π REPORTING BUGS π
Report bugs to <aw7@sanger.ac.uk> π«Ά
π COPYRIGHT π
Copyright Β© 2015 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. (yes bestie, that's the dramatic part, take it seriously π«‘)
BIOBAMBAM Β· June 2015 β mwah, that's the whole page, go convert those tags and be the main character of your own BAM file πβ¨ππ¦
π¦ 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