BAM2WIG(1)

πŸ“¦
version 3.5.0 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– BAM2WIG(1) πŸ’–

okay bestie, welcome to the BAM2WIG(1) manual page β€” yes it's a real one, yes it's giving bioinformatics main character energy, and yes i'm about to make it make sense. 🧬✨


🌸 NAME 🌸

bam2wig β€” convert bam files to wiggle files!! πŸŽ€ and not just for the aesthetic, ok, it can also be used to generate exonpart hints for AUGUSTUS. slay.


✨ SYNOPSIS ✨

bam2wig [-r region] [-t trackname] <in.bam>

that's it. that's the whole vibe. πŸ’…


πŸ”₯ OPTIONS πŸ”₯

okay so before we even get to the flags, there's a whole prerequisite situation and it is NOT optional, bestie:

The file needs to be sorted by Reference ID (i.e. target name). like, it has to be. no cap.

To do that, use samtools sort <in.bam> β€” that's the move. 🫢

And to double check your file is actually sorted, hit it with samtools stats <in.bam> | grep 'is sorted' β€” it will literally tell you. πŸ™ˆ

seriously, sort it first. unsorted input is not going to be your moment.

πŸ¦‹ Parameters:

  • -r β€” lets you specify a target region, e.g. 'chr3L:10-250'. tiny catch though: this option can only be used if an index file exists, see: samtools index. no index, no region, no exceptions. 😭
  • -t β€” a string provided as track name. you name the track, the track gets named. iconic. πŸ‘‘

πŸ’œ AUTHORS πŸ’œ

AUGUSTUS was written by M. Stanke, O. Keller, S. Kânig, L. Gerischer and L. Romoth. absolute legends, we stan. 🌈⭐


πŸ“š ADDITIONAL DOCUMENTATION πŸ“š

An exhaustive documentation can be found in the file /usr/share/doc/augustus/README.md.gz. go read it, it's the extended cut. πŸ“


and that's the page, bestie β€” BAM2WIG(1), from the AUGUSTUS crew, straight out of your friendly neighbourhood manual. mwah. πŸ’–πŸ’…πŸ¦‹

πŸ“¦ where this page comes from