How to split a fastq file to multiples fastq files
1
0
Entering edit mode
19 months ago
Apex92 ▴ 300

Dear all,

I have a fastq.gz file that has more than 100 million reads. My aim is to divide this fastq file into three separate fastq files, ensuring that all reads from the original fastq file are distributed and unique in the newly created fastq files. I tried using fastqsplitter as below but I get the mentioned error:

fastqsplitter -i 10_S10_R1_001.fastq.gz -o group4_sample10_R1.fq.gz -o group5_sample10_R1.fq.gz -o group6_sample10_R1.fq.gz

the error is: OSError: b'igzip: Error while decompressing extra concatenated gzip files on 10_S10_R1_001.fastq.gz\n' (exit code 1).

Do you know how I can solve this problem or is there any other tool that can do this?

Kind regards,

fastq sequencing rna-seq • 800 views
ADD COMMENT
0
Entering edit mode
ADD REPLY
1
Entering edit mode
19 months ago
Apex92 ▴ 300

I could solve the issue simply by unzipping and again zipping the main fastq file. Apparently, there was a minor problem related to the zipped format of the main fastq file by the bcl2fastq tool.

ADD COMMENT

Login before adding your answer.

Traffic: 1830 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6