faformat is a tool to format fasta file:

  1. flatten a single line sequence to multiple lines
  2. remove, get, sample sequence from fasta file by sequence id or regex expression
  3. convert fasta file to a sto file

Download faformat Manual

Warning: GCC >4.7, you can compile this tool with GCC-7.2

Contact Li Pan if you have any questions about this tool.