BAM2WIG(1)
π 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
- ubuntu resolute: augustus 3.5.0+dfsg-5build4 Β· Artistic-1.0-Perl
- ubuntu stonking: augustus 3.5.0+dfsg-5build4 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms