R/parse_fasta_header.R
parse_fasta_headers.Rd
Extracts the sequence identifier from the recognized fasta sequence headers.
parse_fasta_headers(headers)
A vector of characters
A vector of characters
headers <- c(
"gb|M73307|AGMA13GT",
"gb|M73307|AGMA13GT",
"emb|CAM43271.1|",
"sp|P01013|OVAX_CHICK description"
)
parse_fasta_headers(headers)
#> [1] "M73307" "M73307" "CAM43271.1" "OVAX_CHICK"