View Single Post
Old 05-28-2014, 07:44 AM   #45
Brian Bushnell
Super Moderator
Location: Walnut Creek, CA

Join Date: Jan 2014
Posts: 2,707

BBTools has a tool to quickly re-pair arbitrarily disordered reads based on their names.

For interleaved reads: in=reads.fq out=fixed.fq outsingle=single.fq

For paired reads in two files: in1=read1.fq in2=read2.fq out1=fixed1.fq out2=fixed2.fq outsingle=single.fq

You can also repair simple broken interleaving much faster and with less memory, but this will not fix arbitrarily disordered reads, just reads that were interleaved and had some of the reads thrown away: in=reads.fq out=fixed.fq outsingle=single.fq fixinterleaving

Last edited by Brian Bushnell; 02-13-2015 at 09:31 AM.
Brian Bushnell is offline   Reply With Quote