Parse Genbank file ACCESSION FIELD

parse_ACCESSION_FIELD(gb_line)

Arguments

gb_line

character vector of a Genbank file.

Examples

inf <- system.file("extdata", "sample.gb", package = "bstringr") readLines(inf) %>% parse_ACCESSION_FIELD()
#> [1] "U49845"