If specified, only primary alignments will be counted. Primary and secondary alignments are identified using bit 0x100 in the Flag field of SAM/BAM files. All primary alignments in a dataset will be counted no matter they are from multi- mapping reads or not (ie. ‘-M’ is ignored).
So it suggests that if --primary option is used, multi-mapping reads will also be counted, which is not what I want. Does that mean that I have to only give featureCounts primary reads through filtering or aligner options and not use --primary option in featureCounts?
Thanks.
Jason