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

read_fasta(file)

Arguments

file

the name of the file which the data are to be read from.

Value

a list of sequences.

See also

read.fasta: heavier function for processing FASTA files.

Examples

if (FALSE) { read_fasta("https://www.uniprot.org/uniprot/P28307.fasta") }