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 2025-04-14.

See also

Refer to the koopa package for Bash shell variants.

Examples

## Ensembl.
try({
    currentEnsemblVersion()
})
#> Error in vapply(X = X, FUN = FUN, FUN.VALUE = logical(1L), ..., USE.NAMES = useNames) : 
#>   formal argument "USE.NAMES" matched by multiple actual arguments

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

## RefSeq.
try({
    currentRefseqVersion()
})
#> Error in vapply(X = X, FUN = FUN, FUN.VALUE = logical(1L), ..., USE.NAMES = useNames) : 
#>   formal argument "USE.NAMES" matched by multiple actual arguments

## WormBase.
try({
    currentWormbaseVersion()
})
#> Error in stop(simpleError(message = msg, call = if (p) { : 
#>   Assert failure.
#> [1] isAnExistingUrl(url) is not TRUE.
#> Cause: URL doesn't exist