How to write featureCounts command for paired end RNA seq data
1
0
Entering edit mode
2.3 years ago

I have 2 bam files, one for R1 and one for R2, how should I write the featureCounts command

bam • 1.1k views
ADD COMMENT
1
Entering edit mode

What have you tried already, and what was the problem?

ADD REPLY
1
Entering edit mode

If you are not interested in splicing then only one of the BAM files can be used for computing counts similar to having single end read data. But then only one file should to be used of the two. Otherwise remap as paired end as noted by ATPoint.

ADD REPLY
2
Entering edit mode
2.3 years ago
ATpoint 85k

That is not how this goes. Paired-end data have to be aligned together (not independently) with a paired-end aware aligner that for RNA-seq should also be splice-aware (in case your species does splicing). THat could be something like STAR or Hisat2. Once that is done simply add the paired-end flag to featureCounts, iirc that is -p.

ADD COMMENT

Login before adding your answer.

Traffic: 2093 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6