Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 560 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 560 Bytes

SplitFastq

It splits a fastq file containing R1 and R2 reads.

Compile: $gcc main.c -g -o SplitFastq.

Then: $chmod +rx SplitFastq.

Exec mode 1: SplitFastq ./path_to_fastq.fq.

Exec mode 2: SplitFastq ./path_to_gzipped_fastq.fq.gz.

Return: ./R1.fq & ./R2.fq | (./R1.fq.gz & ./R2.fq.gz).

Warning: You can use this program if the input fastq file has the following format

@S|S1|R0/1
sequence
+
quality
@S|S1|R0/2
sequence
+
quality
@S|S1|R1/1
sequence
+
quality
@S|S1|R1/2
sequence
+
quality