R/Shiny interface to run and monitor SqueezeMeta pipelines (SqueezeMeta, SQM_reads, SQM_longreads) locally from your browser.
- SqueezeMeta installed via conda and available in your PATH
- The conda environment for SqueezeMeta must be active before installing or running the app
We provide an installation script that handles all dependencies automatically. It uses mamba if available, falling back to conda otherwise.
1. Activate your SqueezeMeta conda environment:
conda activate SqueezeMeta # or your environment name2. Download and run the installation script:
bash install_sqmlauncher.shThe script will:
- Install all required R/Shiny dependencies from conda-forge (precompiled binaries)
- Clone this repository into your conda environment
- Install the
squeezeMetaRR package - Add a convenience
sqm()function to your~/.Rprofile
If you prefer to install manually, first install the Shiny dependencies from conda-forge:
conda install -c conda-forge r-httpuv r-shiny r-shinyjs r-shinyfiles r-remotesThen install the package from R:
remotes::install_local("/path/to/SQMlauncher/",
force = TRUE, build = TRUE,
build_vignettes = FALSE, upgrade = "never")If you used the installation script, simply open R and run:
sqm()Or manually:
library(squeezeMetaR)
lazyLoad(file.path(find.package("squeezeMetaR"), "R", "squeezeMetaR"), envir = globalenv())
run_app()The interface will open in your default web browser.
- Execution profiles — pre-defined profiles for common use cases:
- Standard Metagenome: default settings for Illumina/short-read data
- Nanopore Metagenome: optimized settings for long-read data, with automatic adjustment of consensus and assembly parameters
- Real-time monitoring — live log updates and non-blocking pipeline execution via
processxandshinyjs - Path verification — checks for
SqueezeMeta.plon launch and warns if the environment is not correctly configured
The app fails to start or the Run button does not respond:
- Make sure your SqueezeMeta conda environment is active
- Verify all dependencies are installed by re-running
install_sqmlauncher.sh - Check the R console for error messages
- Ensure you have write permissions in the Working Directory selected in the app
R cannot find run_app after library(squeezeMetaR):
This is a known issue in some conda environments where the package namespace does not load correctly. Use the lazyLoad workaround shown above, or reinstall using the provided script which configures this automatically via ~/.Rprofile.