Does BAM input need to be sorted by name?

161 views
Skip to first unread message

Alex Lee

unread,
Oct 26, 2017, 12:41:05 PM10/26/17
to Subread
Hi so I'm trying to summarize by exon using bam from STAR aligner.  However, Star output is sorted by coordinate.  Since my reads are paired-end I would like to use the -p switch, however, I'm curious if I need to resort the BAM input by name first? or will featureCounts do this automatically?  thank you! 

Alex

Wei Shi

unread,
Oct 29, 2017, 7:09:41 PM10/29/17
to Subread
No you do not need to sort your bam files. featureCounts will do that for you automatically. featureCounts processes name-sorted and location-sorted bam files at the same speed.
Reply all
Reply to author
Forward
0 new messages