Read sequences in FASTA format

read_fasta(file, type = "DNA")

Arguments

file

A path to a file, a connection or a character string.

type

Type of data. Can be "DNA" (the default), "RNA" or "AA".

Value

A DNA, RNA or AA vector (depending on type argument).

See also

Other input/output operations: write_fasta()