Skip to contents

Read DNA sequences from a FASTA file and convert to Biostrings DNAStringSet.

Usage

read_fasta(file_path)

Arguments

file_path

Character string specifying the path to a FASTA or FASTA.GZ file

Value

A DNAStringSet object containing the DNA sequences

Examples

if (FALSE) { # \dontrun{
sequences <- read_fasta("path/to/sequences.fasta")
} # }