SEQanswers

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 10:39 AM
BWA MEM question Liy Bioinformatics 1 02-24-2015 05:48 AM
bwa mem for compressed fastq files aevgup Bioinformatics 3 04-09-2014 11:31 AM
BWA -mem FrankiB RNA Sequencing 2 02-07-2014 08:31 AM
bwa mem segfault; bwa bwasw breaks MarkDuplicates ElenaN Bioinformatics 2 06-30-2013 10:23 PM

Reply
 
Thread Tools
Old 04-13-2016, 05:35 AM   #1
mstagliamonte
Member
 
Location: Florida

Join Date: Feb 2013
Posts: 31
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:

Code:
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

Thanks,
MAx

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

Join Date: Aug 2014
Posts: 21
Default

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, 08:52 AM   #3
mstagliamonte
Member
 
Location: Florida

Join Date: Feb 2013
Posts: 31
Default

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
Reply

Tags
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 06:36 PM.


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