HI I have question here, if I just need to check or view the order of chromosome in BAM file after aligment with BWA, what tools can do this and how?
I used $ samtools tview sample.bam
and could not help me find this information of chromosome order easily because " Within the tview of samtools, you can only jump to a new location by typing g: and a location, like g:chr1:10,000,000." from Wikipedia
I cannot check it now, but is samtools idxstats aln.sorted.bam doing what you want?