Write sequences to a FASTA file
Arguments
- x
A named character vector of sequences (for example from [read_fasta()]). The names are written as header lines.
- file
Output path. If it ends in `.gz` the file is gzip-compressed.
- width
Maximum number of bases per line. The default, `0`, writes each sequence on a single line, which is what most metabarcoding tools expect.