Change paired end library from FR to RF
1
0
Entering edit mode
7.2 years ago
Jake Warner ▴ 830

Dear all, I have several RNAseq paired end datasets that I want to pool for input into a Trinity de novo assembly. The problem is that half of my datasets are of library type RF (first read (/1) of fragment pair is sequenced as anti-sense (reverse(R)), and second read (/2) is in the sense strand (forward(F))) and half of my data are FR: first read (/1) of fragment pair is sequenced as sense (forward), and second read (/2) is in the antisense strand (reverse).

Is there a way to convert the library type? Simply reverse complementing the reads will not work since then they won't be "pointing" at each other. Any ideas?

RNA-Seq Assembly sequence • 2.3k views
ADD COMMENT
3
Entering edit mode
7.2 years ago

For the FR pairs, you simply swap R1 and R2, and they become RF. But that's if you know which pairs are FR, which you probably don't. It's not clear why you want to do this, though; Trinity should be able to handle unstranded libraries without a problem.

ADD COMMENT
1
Entering edit mode

Good suggestion. He probably knows which libraries are FR and which are RF, so he can follow your suggestion. His assembly should be a bit better using strand information.

ADD REPLY
0
Entering edit mode

Oh, I guess I misinterpreted the question as "half my reads are RF". Yes, if all libraries are purely FR or purely RF, it's easy.

ADD REPLY
1
Entering edit mode

Thanks, Brian. I worked out which libraries were incorrect by aligning to another transcriptome and looking at the flags in the SAM output. With that I could calculate a ratio of "first read mapped to forward strand" to "first read mapped to reverse strand". Your suggestion about swapping the R1 and R2 worked and reversed this ratio so I'm good to assemble!

ADD REPLY
0
Entering edit mode

Glad to hear it! If you think this answer resolved the question, please "accept" it so that other people know it is resolved.

ADD REPLY

Login before adding your answer.

Traffic: 2753 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