Extatrcting only sequnces from fastq.gz
1
0
Entering edit mode
4.6 years ago

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 • 698 views
ADD COMMENT
2
Entering edit mode
4.6 years ago
gunzip -c in.fastq.gz | awk '(NR%4==2)' > out.seq
ADD COMMENT

Login before adding your answer.

Traffic: 1706 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