Skip to contents

Dispatches on the source's cache$builder: obo fetches the ontology release, hgnc_tsv fetches the HGNC complete set. Identifiers that match the source pattern are written to the cache directory as a snapshot, and a retired-id map, when the builder produces one, to the matching <version>.retired.tsv sidecar. An OBO version defaults to the ontology's own data-version; an HGNC version defaults to the source's default_version.

Usage

biobouncer_pull(source_db, version = NULL, quiet = FALSE)

Arguments

source_db

Source key, for example "mondo".

version

Snapshot version label. Defaults to the builder's own version.

quiet

Suppress progress messages.

Value

The path to the written snapshot, invisibly.

Examples

if (FALSE) { # \dontrun{
# Downloads a full snapshot into the cache directory (needs a network).
biobouncer_pull("mondo")
} # }