Translate the name of a genome build from one format to another.

translate_genome(
  genome,
  style = c("UCSC", "Ensembl", "NCBI"),
  omit_subversion = TRUE
)

Arguments

genome

A character vector of genomes equivalent to UCSC version or Ensembl Assemblies

style

A single value equivalent to "UCSC" or "Ensembl" specifying the output genome

omit_subversion

Omit any subversion suffixes after the ".".

Value

Standardized genome build name as a character string.

Examples

genome <- translate_genome(genome="hg38", style="Ensembl")