alexdobin / STAR

RNA-seq aligner
MIT License
1.84k stars 504 forks source link

Number of lines in BAM file? #2084

Open yagam-fluent opened 6 months ago

yagam-fluent commented 6 months ago

Hi Alex,

Is there a way to know the total number of lines in the BAM file from any of the STAR outputs? The log outputs the total number of multimapped reads, but not how many alignments there are.

Thanks, Yigal

alexdobin commented 6 months ago

Hi Yigal,

STAR does not output such a number, so you would need to count the lines.