![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bowtie Illumina paired end reads alignment | empyrean | Bioinformatics | 3 | 09-20-2011 10:51 AM |
How to map SOLiD paired end reads by Bfast | beliefbio | Bioinformatics | 1 | 12-29-2010 01:55 AM |
Limiting Illumina Paired-End Reads | cryptic_star | Bioinformatics | 1 | 06-21-2010 06:30 AM |
BWA alignment for paired end reads | AvinashP | Genomic Resequencing | 2 | 06-08-2010 04:11 AM |
Problems with bwa on Q2 trimmed paired end reads | curious_mapper | Bioinformatics | 2 | 05-06-2010 03:44 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: albany ny Join Date: Jul 2011
Posts: 8
|
![]()
hello,
ugh... this is such a stupid question, i'm embarrassed to ask it, but i must. i can't find a definition of the workflow to use bwa to map paired end reads anywhere (am i simply missing it?). i'm starting with fastq seq files and i know how to index the genome. compiling info from the snooping i've done - this is what i believe the workflow to be: $ bwa aln genome.index.fa s_4_1_sequence.fastq > s_4_1.sai $ bwa aln genome.index.fa s_4_2_sequence.fastq > s_4_2.sai $ bwa sampe genome.index.fa s_4_1.sai s_4_2.sai s_4_1_sequence.fastq s_4_2_sequence.fastq > s_4.sam then, using samtools and s_4.sam i can create .bam and .bam.bai files. is this correct? i think i understand the -b1 and -b2 options, but those are only used when starting w/ .bam files, which i'm not. what is a little confusing to me is the two separate calls to 'bwa aln'. i suppose it's wildly wrong to (unix) cat the two s_4_[12]_sequence.fastq files together and make one call to 'bwa aln'? thanks for your help, mike |
![]() |
![]() |
![]() |
#2 |
Senior Member
Location: San Diego Join Date: May 2008
Posts: 912
|
![]()
I don't know that the sam file will reflect that you have paired reads if you cat the two fastqs together. It probably won't. If you carry out the default commands as you have written them, the software will figure out that the read are paired, and will set the flags, and ISIZE, etc correctly.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Location: albany ny Join Date: Jul 2011
Posts: 8
|
![]()
thanks for the help.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
Location: albany ny Join Date: Jul 2011
Posts: 8
|
![]()
thanks. i've run bwa, as described above, w/ the paired end data and i believe everything went properly.
thanks again mike |
![]() |
![]() |
![]() |
#5 |
Member
Location: Austin Join Date: Feb 2011
Posts: 20
|
![]()
Mikeworth,
Did you remove the sequencing adaptors or are you relying on BWA to do the soft clipping at the ends of the reads? |
![]() |
![]() |
![]() |
#6 |
Junior Member
Location: albany ny Join Date: Jul 2011
Posts: 8
|
![]()
i removed the adapters (and more) from the reads. our data was barcoded and i separated the reads via a perl script based on the barcodes and removed everything up to and including the barcodes.
i'm curious why you're asking? thanks, mike |
![]() |
![]() |
![]() |
#7 |
Senior Member
Location: NikoNarita.jp Join Date: Jul 2013
Posts: 142
|
![]()
May please I get the commands to remove the seq-adaptor prior to bwa for PE Illumina ?
|
![]() |
![]() |
![]() |
Tags |
bwa paired end |
Thread Tools | |
|
|