Hi everyone,
I have paired-end RNAseq data, and I used STAR aligner to do alignment, so basically for each paired-end fastq files I ended-up creating one alignment file (bam). Now I would like to create a count matrix to do DE analysis. I would like to use featureCounts tool. I was wondering what are the optimal flags to use? I am not sure if I have to use -p flag, since my reads are already aligned to the reference.
Thanks!
Works perfectly thank you very much!
One more question, is having this warning normal? I get it with -p option
WARNING: reads from the same pair were found not adjacent to each || || other in the input (due to read sorting by location or || || reporting of multi-mapping read pairs).
Were your BAM files sorted?
featureCounts
should sort the files as needed. You could always pre-sort them withsamtools
.should
allowMultiOverlap
be used or not?