rbims (Reconstruction of Bin Metabolisms) is an R package designed to streamline the functional analysis and visualization of metagenome-assembled genomes (MAGs). It supports annotation integration from KEGG, InterProScan, dbCAN, and MEROPS, allowing researchers to quantify gene presence, abundance, and pathway coverage across microbial genomes.
The package includes a curated database for hydrocarbon degradation pathways (aerobic and anaerobic) and provides tools to generate publication-ready visualizations such as heatmaps and bubble plots. It is designed to assist in exploratory trait analysis and early-stage hypothesis generation in genome-resolved metagenomics.
install.packages("devtools")
library(devtools)
install_github("mirnavazquez/RbiMs")
library(rbims)
If you are on macOS, install XQuartz.
If using Ubuntu, install system dependency: libcairo2-dev
.
A complete example using MAGs from a hydrocarbon enrichment experiment is available in the folder /Hidrocarburos
, including annotation files and code to reproduce the figures in our manuscript.
Full documentation: https://mirnavazquez.github.io/RbiMs