Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
read number in fastq does not match bwa-mem produced sam file melis Bioinformatics 0 09-29-2015 11:39 AM
BWA MEM question Liy Bioinformatics 1 02-24-2015 06:48 AM
bwa mem for compressed fastq files aevgup Bioinformatics 3 04-09-2014 12:31 PM
BWA -mem FrankiB RNA Sequencing 2 02-07-2014 09:31 AM
bwa mem segfault; bwa bwasw breaks MarkDuplicates ElenaN Bioinformatics 2 06-30-2013 11:23 PM

Thread Tools
Old 04-13-2016, 06:35 AM   #1
Location: Florida

Join Date: Feb 2013
Posts: 33
Default BWA mem on interlaced fastq

Hi, everybody,

I am trying to use bwa mem (v. 0.7.12) on some interleaved fastq files, i.e. the reads are paired end, but they are in one file (the ith read is forward; ith+1 is the reverse).

after indexing the reference genome, I have used the command:

bwa mem -M my_ref.fa -p myfile.interleaved.fastq > ./mapped/my_file.sam
When I read the log file though, I get this:

[M:: bwa_idx_load_from_disk] read 0 ALT contigs
[M:: process] read 117486 sequences (10000027 bp)...
[M:: process] 117486 single-end sequences; 0 paired-end sequences
[M:: process] read 118316 sequences (10000081 bp)...

and so on. Does this mean bwa is not recognizing my reads as paired ends? Have I misunderstood the manual regarding the -p option?
Looking for advice


Last edited by mstagliamonte; 04-13-2016 at 07:08 AM.
mstagliamonte is offline   Reply With Quote
Old 04-13-2016, 09:43 AM   #2
Location: planet earth

Join Date: Aug 2014
Posts: 21

Do the ith read and the ith+1 read have EXACTLY the same name? Please note, that option '-p' is called 'smart pairing'.
piet is offline   Reply With Quote
Old 04-13-2016, 09:52 AM   #3
Location: Florida

Join Date: Feb 2013
Posts: 33

Thank you, I did not realize it would check for names, thought it would just bluntly take the order of the reads.
The reads have a bit of an uncommon name, being:

read1.1 1
read1.2 1
read2.1 2
read2.2 2
read3.1 3
read3.2 3

I'll do a find and replace, see if it works.
mstagliamonte is offline   Reply With Quote

bwa, interlaced fastq, mapping

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:28 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO