Skip to contents

Obtain the latest release version from various genome annotation sources.

Usage

currentEnsemblVersion()

currentGencodeVersion(organism = c("Homo sapiens", "Mus musculus"))

currentRefseqVersion()

currentFlybaseVersion(dmel = FALSE)

currentWormbaseVersion()

Arguments

organism

character(1). Full Latin organism name (e.g. "Homo sapiens").

dmel

logical(1). Return Drosophila melanogaster genome release version.

Value

character(1) or integer(1) when possible. Release version.

Note

Updated 2023-10-04.

See also

Refer to the koopa package for Bash shell variants.

Examples

## Ensembl.
try({
    currentEnsemblVersion()
})
#> [1] 110

## GENCODE.
try({
    currentGencodeVersion(organism = "Homo sapiens")
})
#> [1] 44

## RefSeq.
try({
    currentRefseqVersion()
})
#> [1] 221

## WormBase.
try({
    currentWormbaseVersion()
})
#> Error in stop(simpleError(message = msg, call = if (p <- sys.parent(1L)) { : 
#>   Assert failure.
#> [1] isCharacter(x) is not TRUE.
#> Cause: `character` has length 0.