Resolves name through the registry chain and returns the recipe (a
list) along with the source it was resolved from. Useful for previewing
what gdb.build_genome would do.
gdb.genome_info(name, registry = NULL)A list with components recipe (the resolved recipe) and
resolved_from (the registry source).
gdb.genome_info("hg38")
#> $recipe
#> $recipe$source
#> [1] "ucsc"
#>
#> $recipe$assembly
#> [1] "hg38"
#>
#>
#> $resolved_from
#> [1] "built-in (inst/genomes.yaml)"
#>
gdb.genome_info("GCF_009806435.1")
#> $recipe
#> $recipe$source
#> [1] "ucsc-hub"
#>
#> $recipe$accession
#> [1] "GCF_009806435.1"
#>
#>
#> $resolved_from
#> [1] "pattern fallback (UCSC mammal hub accession)"
#>