autobsgenome

Build installable BSgenome R packages from NCBI or Ensembl assemblies.

Updated Jun 26, 2023
One-click install
npx skills add https://github.com/JohnnyChen1113/autoBSgenome --skill autobsgenome
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: autobsgenome
Source: https://github.com/JohnnyChen1113/autoBSgenome/tree/main
Command: npx skills add https://github.com/JohnnyChen1113/autoBSgenome --skill autobsgenome

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of not having a required BSgenome reference package for your organism, which blocks Bioconductor tools that depend on standardized genome access (and forces users into a difficult, error-prone manual build process).

Core Features & Use Cases

  • On-demand BSgenome builds (Web): generate and deliver an installable BSgenome R package from an NCBI accession or Ensembl species/URL.
  • Metadata automation: auto-fill BSgenome Title/Description and related seed metadata; detect circular sequences for mitochondria/chloroplast/plasmids when applicable.
  • API-driven integration: trigger builds and poll status programmatically for repeatable, automated workflows.
  • Typical use case: preparing genomes for TSSr, motifmatchr, ChIPseeker, Gviz, and other BSgenome-dependent Bioconductor analyses when the package is missing.

Quick Start

Use the autobsgenome skill to build an organism package for your missing BSgenome dependency by triggering the API with your NCBI GCF_/GCA_ accession and then installing the returned tar.gz URL in R.

Frequently Asked Questions about autobsgenome

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a BSgenome R package for an organism missing from Bioconductor?

Building a BSgenome package requires fetching a specific genome assembly from NCBI or Ensembl, preparing the sequences, and generating seed metadata. This Skill automates that entire process, returning a downloadable tar.gz artifact ready for install.packages in R.

Can I automate BSgenome package generation for downstream Bioconductor tools like TSSr and ChIPseeker?

Yes, you can automate BSgenome package generation through API-driven build triggering and status polling. This provides a standardized BSgenome backend required by downstream Bioconductor tools like TSSr, motifmatchr, and ChIPseeker for repeatable automated workflows.

What is the best way to handle circular sequences like mitochondria or chloroplasts when creating a BSgenome package?

Handling circular sequences for mitochondria, chloroplasts, or plasmids requires specific metadata generation during the BSgenome build process. This Skill automatically detects and applies circular-sequence-aware metadata when preparing the genome assembly package.

Does autobsgenome work with NCBI accessions and Ensembl URLs?

Yes, autobsgenome works by accepting either an NCBI GCF_ or GCA_ accession number, or an Ensembl species URL. It fetches the target genome assembly directly from these databases to construct the installable R package artifact.

Why does my Bioconductor analysis fail when the required BSgenome reference package is missing?

Bioconductor analyses fail because downstream tools depend on standardized genome access provided by a BSgenome reference package. When the package is missing, the dependency is unmet; autobsgenome solves this by building the required package on demand.