Paired End Mapping : What Is Bwa Solid Paired End Default Direction (Bwa Sampe) ?
2
5
Entering edit mode
13.5 years ago
Hx ▴ 60

Hi,

SOLiDTM Library construct

For Paired End

F3 F5

---------><----------

Can anyone tell me the default directions on how BWA will map paired ends?

Thanks in advance.

bwa paired solid • 6.6k views
ADD COMMENT
4
Entering edit mode
13.5 years ago
brentp 24k

BWA expects mate-pair F3/R3 (as input to solid2fastq.pl).

You could reverse-complement your F5 reads (and reverse the quality) and send them to solid2fastq.pl and it should work more/less as expected. Then you just have to consider how having the low-quality bases at the start of the read affects BWA (lh3?) -- you may want to quality trim your reads before-hand.

EDIT: if this works, it would be just reverse, not reverse-complement of the F5 reads.

ADD COMMENT
0
Entering edit mode

Thanks brentp, solve my question mark on weird flagstats. However, regarding "reverse-complement your F5 reads (and reverse the quality)" as you mentioned, can I know how to reverse the reads?

ADD REPLY
0
Entering edit mode

just reverse complement the reads. You can do this with bioperl or biopython. In perl, it's like my $rc = reverse(seq); =~ tr/ACGTacgt/TGCAtgca/. So just loop over the csfasta and do that to every other line. And for the qual file. Just reverse it.

ADD REPLY
0
Entering edit mode

SOLiD reads are colourspace reads where I cant perform reverse complement on them, are there any other ways?

ADD REPLY
0
Entering edit mode

Oh, yes of course. I think in colorspace, you can just reverse the colorspace sequence, without complementing to get (what would be in base-space) the reverse complement. I havent mapped F3/F5 Solid reads but maybe check the -c parameter to bwa (http://bio-bwa.sourceforge.net/bwa.shtml)

ADD REPLY
0
Entering edit mode

I'm not sure whether this works, will give a try, thanks for the suggestions brentp, but I'm still hoping for a more concrete solution, perhaps other software may help

ADD REPLY
0
Entering edit mode
13.2 years ago
Yaira04 • 0

Hi HX,

did you find any better solution eventually? I am confronting the same issue these days...

Thanks.

ADD COMMENT
0
Entering edit mode

Yaira, it seems there's no concrete solution for bwa paired end mapping yet since bwa assumes paired end mapping has the same orientation as mate pair, maybe you can consider trying out Bioscope or try using bfast http://seqanswers.com/forums/showthread.php?t=7100 or bowtie http://bowtie-bio.sourceforge.net/manual.shtml#paired-end-colorspace-alignment

ADD REPLY

Login before adding your answer.

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