Skip to contents

getAccNumFromFA

getAccNumFromFA

Usage

getAccNumFromFA(fasta_file)

getAccNumFromFA(fasta_file)

Arguments

fasta_file

Character. Path to the FASTA file from which accession numbers will be extracted.

Value

A character vector containing the extracted accession numbers.

A character vector containing the extracted accession numbers.

Examples

if (FALSE) { # \dontrun{
getAccNumFromFA("my_sequences.fasta")
} # }
if (FALSE) { # \dontrun{
# Example usage
accnums <- getAccNumFromFA("path/to/sequences.fasta")
accnums
} # }