write_fasta: Write sequences in FASTA format

View source: R/read_write_fasta.R

write_fastaR Documentation

Write sequences in FASTA format

Description

Write sequences in FASTA format

Usage

write_fasta(x, file, append = FALSE, line_length = 80, block_length = 10)

Arguments

x

a DNA, RNA or AA vector.

file

a path to a file or a connection.

append

a logical. If TRUE append the data to the file. If FALSE (default), overwrite the file.

line_length

length (in number of character) of one line (excluding spaces separating blocks). Use Inf to avoid line breaks.

block_length

length (in number of character) of one block. Use the same value as line_length or Inf to avoid block separation.

See Also

Other input/output operations: read_fasta()


bioseq documentation built on Sept. 6, 2022, 5:07 p.m.