BAMTOOLS(1)

πŸ“¦
version 2.5.3 Β· 2 versions
, in ubuntu resolute, ubuntu stonking

πŸ’… BAMTOOLS πŸ’…

okay so bestie, welcome to the bamtools manual page β€” this is the User Commands section, and yes, it's giving main character energy for your whole bioinformatics pipeline. pull up a chair 🫢


✨ NAME ✨

bamtools β€” the toolkit for manipulating BAM (genome alignment) files. that's it. that's the whole vibe. πŸ’–


🌸 SYNOPSIS 🌸

bamtools [--help] COMMAND [ARGS]

πŸ¦‹ DESCRIPTION πŸ¦‹

BamTools is literally here to facilitate research analysis and data management using BAM files. no cap.

the way it carries the enormous amount of data produced by current sequencing technologies… like, that data is typically stored in compressed, binary formats that are not easily handled by the text-based parsers commonly used in bioinformatics research. so yeah, bamtools said "not on my watch" and handled it. periodt. πŸ‘‘


✨ OPTIONS ✨

so these aren't your classic -a style flags, bestie β€” these are COMMANDS. each one is its own little icon. here's the full roster, no skips, no cuts πŸ’…

  • convert β€” converts between BAM and a number of other formats. glow-up for your file types ✨
  • count β€” prints number of alignments in BAM file(s). just a lil headcount, nbd πŸ”’
  • coverage β€” prints coverage statistics from the input BAM file. stats girlies rise 🫢
  • filter β€” filters BAM file(s) by user-specified criteria. you decide what stays, you decide what goes πŸ’…
  • header β€” prints BAM header information. the lore, basically πŸ“œ
  • index β€” generates index for BAM file. so you can find things fast, iykyk ⭐
  • merge β€” merge multiple BAM files into single file. many become one, iconic 🌈
  • random β€” select random alignments from existing BAM file(s), intended more as a testing tool. lowkey a testing tool, highkey chaotic 🎲
  • resolve β€” resolves paired-end reads (marking the IsProperPair flag as needed). matchmaking fr fr πŸ’–
  • revert β€” removes duplicate marks and restores original base qualities. undo, but make it science 🧚
  • sort β€” sorts the BAM file according to some criteria. putting things in order, a to z, alphabetized, chef's kiss πŸŽ€
  • split β€” splits a BAM file on user-specified property, creating a new BAM output file for each value found. one file becomes many, very demure 🌸
  • stats β€” prints some basic statistics from input BAM file(s). the numbers, the numbers, the numbers πŸ“Š
also bestie, for real: see 'bamtools help COMMAND' for more information on a specific command. don't just guess, go read the deets πŸ’œ

and that's the whole page!! this was bamtools 2.5.3+dfsg, written down in September 2025, and it is β€” and i say this with my whole chest β€” BAMTOOLS(1). slay, bye bestie πŸ’…βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from