STAR doesn't output unmapped reads in the BAM file. This causes unexpected results in the QC. The tools that report stats on the BAM files make it seemed that 100% of the reads are mapped, but this is just because the unmapped reads never make it into the SAM file written by STAR.
I believe this can be remedied by using the STAR option --outSAMunmapped'Within KeepPairs. Consider adding this to the default arguments.
STAR doesn't output unmapped reads in the BAM file. This causes unexpected results in the QC. The tools that report stats on the BAM files make it seemed that 100% of the reads are mapped, but this is just because the unmapped reads never make it into the SAM file written by STAR.
I believe this can be remedied by using the STAR option
--outSAMunmapped'Within KeepPairs
. Consider adding this to the default arguments.