Return the accession version for an accession ID.
See also
Other get:
gb_definition_get()
,
gb_fasta_get()
,
gb_organism_get()
,
gb_record_get()
,
gb_sequence_get()
Examples
library(restez)
restez_path_set(filepath = tempdir())
#> ... Creating '/tmp/RtmpUsDojX/restez'
#> ... Creating '/tmp/RtmpUsDojX/restez/downloads'
demo_db_create(n = 5)
(ver <- gb_version_get(id = 'demo_1'))
#> demo_1
#> "demo_1.4"
(vers <- gb_version_get(id = c('demo_1', 'demo_2')))
#> demo_1 demo_2
#> "demo_1.4" "demo_2.1"
# delete demo after example
db_delete(everything = TRUE)