AlphaGenomeR is currently available from GitHub and is pending release on Bioconductor. Installation requires two steps: the R package itself and theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/BDB-Genomics/AlphaGenomeR/llms.txt
Use this file to discover all available pages before exploring further.
alphagenome Python package that handles gRPC communication with the API.
Before you install, make sure you have all three prerequisites:
- Python >= 3.10 — required by
reticulateto load the AlphaGenome Python SDK alphagenomePython package — install withpip install alphagenome- AlphaGenome API key — obtain a free, non-commercial key from the AlphaGenome Science Page
Install from GitHub
Install the R package
Install AlphaGenomeR directly from the BDB-Genomics GitHub repository using This installs AlphaGenomeR and its R dependencies (
devtools:reticulate, glue, methods).Install the Python dependency
AlphaGenomeR uses If you use conda or a virtual environment, activate it first so
reticulate to call the official AlphaGenome Python SDK. Install it with pip:reticulate discovers the correct Python installation.Get your API key
AlphaGenome requires a free, non-commercial API key for all prediction requests. Obtain yours from the AlphaGenome Science Page.Store your key securely — never hard-code it in scripts you share or commit to version control. A common pattern is to use an environment variable:
Install from Bioconductor (upcoming)
AlphaGenomeR is pending submission to Bioconductor. Once accepted, you will be able to install it withBiocManager:
Verify installation
After installing, load the package and confirm that thealphagenome Python module is accessible:
FALSE, reticulate cannot find the Python installation where you ran pip install alphagenome. See the troubleshooting section below.
Troubleshooting
Python not found or wrong version
Python not found or wrong version
reticulate may be pointing to a different Python installation than the one where you installed alphagenome. Check which Python reticulate is using:reticulate at a specific Python binary or virtual environment, set the path before loading the package:use_python() or use_virtualenv() before any other reticulate call in a fresh R session.alphagenome Python package not found
alphagenome Python package not found
If Confirm the package version meets the minimum requirement (If you are using a conda environment, use
reticulate::py_module_available("alphagenome") returns FALSE, install the package into the Python environment that reticulate is using:>= 0.6.1):conda install or pip inside the activated environment.API key errors
API key errors
If API keys are restricted to non-commercial research use. Ensure your usage complies with the AlphaGenome terms of service.
alphagenome_query() returns an authentication error, verify that your key is valid and being passed correctly:devtools install fails
devtools install fails
If On Linux, you may need system build tools (
devtools::install_github() fails, make sure devtools is installed and that you have a working internet connection:build-essential, libcurl4-openssl-dev, libssl-dev). On macOS, install Xcode Command Line Tools with xcode-select --install.