This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extatrcting only sequnces from fastq.gz

I have a fastq.gz file which contains millions of DNA sequences. IS there fast way to extract only the sequences (one sequence/read per line) and save all the sequences into csv or text file for further analysis?

sequencing rna-seq

1 answer

gunzip -c in.fastq.gz | awk '(NR%4==2)' > out.seq

Log in to answer this question.