About qiime :convert fastq to fasta
0
0
Entering edit mode
5.0 years ago

I would ask you if there is a command in qiime for convert fastq file to fasta ??

genome sequence • 2.3k views
ADD COMMENT
1
Entering edit mode

Don't remember about qiime but you can use reformat.sh from BBMap suite to do the conversion easily.

reformat.sh in=file.fq.gz out=file.fa
ADD REPLY
0
Entering edit mode

You can also use SeqKit:

seqkit fq2fa file.fq.gz -o file.fa

or even awk:

zcat file.fq.gz | awk 'NR%4=="1" || NR%4=="2" {gsub("^@", ">", $0); print $0}' > file.fa
ADD REPLY

Login before adding your answer.

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