How to convert raw sequence to FASTA format with awk

Dear all,

we had a question here about converting raw sequence (one sequence per line) from the output of the select tool, when run on a FASTQ file, to FASTA format.

This was a good solution.

  1. Select the awk tool
  2. Enter the following (no typical awk outer quotes! ‘’): {$1 = “>seq_“i++”\n” $1 } 1
  3. Change the dataset format to fasta
  4. Done

Hope that helps someone,
Colin

1 Like