Merged unsync fastq files

26 views
Skip to first unread message

ekar...@gmail.com

unread,
Aug 11, 2023, 4:28:34 AM8/11/23
to VSEARCH Forum
Dear Torognes,
Thank you for updating and maintaining the repository.
I have a question regarding merging un-sync fastq files. During the pre-processing step outside the Vserach pipeline, the order of raw reads in R1 and R2 has changed, and consequently, they are no longer in the same order. 
Does the merge command look at the fastq header before merging, or alternatively, does the pipeline merge them based on min overlaps, max diff etc., that we feed in to command independent of the fastq headers?
Thank you un advance

Torbjørn Rognes

unread,
Aug 11, 2023, 6:24:39 AM8/11/23
to VSEARCH Forum
Hi

Unfortunately, vsearch requires the R1 and R2 files to be in sync for merging.

- Torbjørn

Colin J Brislawn

unread,
Aug 12, 2023, 2:27:11 AM8/12/23
to VSEARCH Forum
Good afternoon,

You may have found this already, but just in case, I've use repair.sh from the BB Tools package to re-sync fastq files.
Just like vsearch, you can install bbtools / bbmap with conda:

Colin

ekar...@gmail.com

unread,
Aug 13, 2023, 6:07:23 AM8/13/23
to VSEARCH Forum
Thank you, Torbjørn and Colin.
Reply all
Reply to author
Forward
0 new messages