How to use AutoBSgenome
Start by searching existing packages. If the genome you need is not available, build a new package from NCBI or Ensembl and install the resulting tarball in R.
Inputs
Common things users paste
AutoBSgenome accepts accessions, Ensembl pages, and package names depending on the page you are using.
NCBI RefSeq accession
GCF_000001405.40
Use this form for NCBI-hosted assemblies.
Ensembl species page
https://www.ensembl.org/Danio_rerio/Info/Index
Use this form when the genome is easier to identify from Ensembl.
Package search
BSgenome.Hsapiens.NCBI.GRCh38
Use this form when you already know the BSgenome package name.
Recommended order
Search first, build only if the package is missing, then use the install command shown by the package browser or build result. This avoids duplicate builds and keeps common packages easy to reuse.