Question: Extatrcting only sequnces from fastq.gz
0
gravatar for abdul.karim
5 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 • 181 views
ADD COMMENTlink modified 5 months ago by Pierre Lindenbaum126k • written 5 months ago by abdul.karim0
2
gravatar for Pierre Lindenbaum
5 months ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Pierre Lindenbaum126k wrote:
gunzip -c in.fastq.gz | awk '(NR%4==2)' > out.seq
ADD COMMENTlink written 5 months ago by Pierre Lindenbaum126k
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: 1458 users visited in the last hour