lh3 / seqtk

Toolkit for processing sequences in FASTA/Q formats
MIT License
1.38k stars 308 forks source link

support fasta output with subseq #98

Closed tolot27 closed 6 years ago

tolot27 commented 7 years ago

It would be great if the subseq command would support fasta output as the seq command does.

tseemann commented 6 years ago

@tolot27 that's a useful idea. the subseq outputs in the same format you give it, so you could do either

  1. seq -A in.fq | subseq - > out.fa or
  2. subseq in.fq | seqtk -A - > out.fa
lh3 commented 6 years ago

Thanks, @tseemann. Piping is the recommended way.