View Single Post
Old 08-09-2018, 08:31 PM   #3
landrjos
Junior Member
 
Location: Virginia

Join Date: Aug 2018
Posts: 3
Default Fastq reads are in groups of 4 lines

Hi anoopkmr,

Thanks for the reply. I made a mistake, I was not clear enough. I would like to partition the odd or even "reads" from a fastq file. The reads are in groups of 4 lines in the fastq file. So I would like read 1 (lines 1-4) to go to file1, and read 2 (lines 5-8) to go to file2, and so on until the whole fastq file is divided into two files, the odd (lines 1-4, 9-12, etc...) output file and the even (lines 5-8, 13-16, etc...) output file.

Not every even line and every odd line going to the output files.

Is there a way to do that?

Best,
landrjos is offline   Reply With Quote