How to use AutoBSgenome.
Search the package repository first. If the genome you need is not there, build a new one from NCBI or Ensembl and install the resulting tarball in R.
Search and download
Best when you need a common organism or want to avoid rebuilding an existing package.
- 01Open Packages and search by species, assembly, accession, or package name.
- 02Choose a matching package and inspect provider, assembly, source, and storage.
- 03Install from Bioconductor when available, or copy the AutoBSgenome one-line local install command.
One-click build
Best when you already have an NCBI accession or Ensembl species page.
- 01Open Build and paste an NCBI accession such as GCF_000001405.40, or an Ensembl species URL.
- 02Fetch metadata, check the generated package name and organism information, then submit the build.
- 03Wait for the job to finish, then download the temporary tarball or copy the one-line local install command.
Manual review
Best when the metadata needs correction before the package is built.
- 01After metadata fetch, review package name, organism, common name, assembly, provider, and version.
- 02Check circular sequences, title, description, and source URL before starting the build.
- 03Use the generated result as the final installable source package for downstream R analysis.
Common things users paste
AutoBSgenome accepts accessions, Ensembl pages, and package names depending on the page you are using.
- NCBI RefSeq accessioninput · pasteGCF_000001405.40
Use this form for NCBI-hosted assemblies.
- Ensembl species pageinput · pastehttps://www.ensembl.org/Danio_rerio/Info/Index
Use this form when the genome is easier to identify from Ensembl.
- Package searchinput · pasteBSgenome.Hsapiens.NCBI.GRCh38
Use this form when you already know the BSgenome package name.
From a package card.
local({options(timeout = 7200); url <- "TARBALL_URL"; tarball <- tempfile(fileext = ".tar.gz"); on.exit(unlink(tarball), add = TRUE); download.file(url, tarball, mode = "wb", method = "libcurl"); install.packages(tarball, repos = NULL, type = "source")})Use the Copy button on a package card; it downloads the tarball first, then installs from a local file.
BiocManager::install(
"BSgenome.Hsapiens.UCSC.hg38"
)Use this only for package cards labeled Bioconductor.
Search first. Build only if the package is missing. Then install the snippet shown by the browser or build result.