Write sequences in FASTA format
write_fasta(x, file, append = FALSE, line_length = 80, block_length = 10)
a DNA, RNA or AA vector.
a path to a file or a connection.
a logical. If TRUE
append the data to the file.
If FALSE
(default), overwrite the file.
length (in number of character) of one line
(excluding spaces separating blocks). Use Inf
to avoid line breaks.
length (in number of character) of one block.
Use the same value as line_length
or Inf
to avoid
block separation.
Other input/output operations:
read_fasta()