Question: Extatrcting only sequnces from fastq.gz
0
gravatar for abdul.karim
12 months ago by
abdul.karim0 wrote:

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 • 275 views
ADD COMMENTlink modified 12 months ago by Pierre Lindenbaum130k • written 12 months ago by abdul.karim0
2
gravatar for Pierre Lindenbaum
12 months ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum130k wrote:
gunzip -c in.fastq.gz | awk '(NR%4==2)' > out.seq
ADD COMMENTlink written 12 months ago by Pierre Lindenbaum130k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1213 users visited in the last hour