Fastq to fasta (fastq and fasta are common file formats for bioinformatics sequence data)

cat file.fastq | paste - - - - | sed 's/^@/>/g'| cut -f1-2 | tr '\t' '\n' >file.fa
click the source code to copy