A lightweight tool to read nucleic or amino-acid sequences from a file in FASTA format.

write_fasta(seq, file, nchar = 80)

Arguments

seq

a list of sequences.

file

the name of the output file.

nchar

the number of characters per line.

See also

write.fasta: heavier function for writing FASTA files.