Interactive Mendelian Randomization Analysis Platform
A comprehensive and user-friendly web-based platform providing the first integrated and standardized MR analysis workflow
Mendelian randomization (MR) has emerged as a powerful epidemiological method for inferring causal relationships between exposures and outcomes using genome-wide association study (GWAS) summary data. By leveraging instrumental variables (IVs), such as single nucleotide polymorphisms (SNPs), MR can revolutionize our understanding of disease etiology, inform public health strategies, and accelerate drug discovery.
The widespread adoption of MR is hindered by several challenges, including inconsistent GWAS data formats, lack of standardized workflows, the need for extensive programming expertise, and limitations in data visualization and interpretability. MRanalysis addresses these challenges by providing an intuitive, no-code interface that makes sophisticated causal inference methods accessible to researchers across disciplines.
Built using the R Shiny framework, MRanalysis enables users to conduct common MR methods, including univariable, multivariable, and mediation MR analyses through an intuitive, no-code interface. The platform includes GWAS data quality assessment, power/sample size estimation, MR analysis, SNP-to-gene enrichment analysis, and comprehensive data visualization.
Choose the installation method that best suits your needs and start your Mendelian randomization analysis journey
MRanalysis is delivered as Docker images for consistent installations and executions to minimize any potential issues from user environment. A Docker running environment is required.
As usual, it is a good idea to update the local database of software to make sure you've got access to the latest revisions. Therefore, open a terminal window and type::
Next, it's recommended to uninstall any old Docker software before proceeding. Use the command:
To install Docker on Ubuntu, in the terminal window enter the command:
For other systems, visit Docker Installation Guide
The Docker service needs to be set up to run at startup. To do this, type in each command followed by enter:
If you don't want to preface the docker command with sudo, create a Unix group called docker and add user to it::
Download the MRanalysis Docker image package:
Mount your reference data directory to the container. Ensure you have downloaded the required reference datasets (see Reference Data tab).
Access the platform at http://127.0.0.1:8001
Follow these steps to manually install all required system dependencies, R packages, and third-party tools. Tested on Ubuntu 24.04.
Install R and development tools:
For the latest R version, add the CRAN repository before installing.
See details in https://posit.co/download/shiny-server/
Install required system libraries and compilers:
Install required CRAN and Bioconductor packages:
Install specialized packages from GitHub repositories:
Compile and install additional analysis tools:
Most commands require root or sudo privileges.
For additional configuration or troubleshooting, please refer to the documentation of each individual tool.
Access the platform at http://127.0.0.1:8001
The following reference datasets and files are required for the correct functioning of MRanalysis tools. Please download them manually from their official sources.
1000 Genomes Phase 3 reference panel in PLINK binary format (.bed, .bim, .fam)
📥 Download 1kg.v3.tgz
Extract to: /references/plink/1kg.v3/
Binary reference panel files for MAGMA gene and gene-set analysis
📥 Download from MAGMA
Extract to: /references/MAGMA/bfile/
Gene annotation and location files for SNP-to-gene mapping
📥 Download from MAGMA
Extract to: /references/MAGMA/reference/
Molecular Signatures Database gene sets for enrichment analysis
📥 Download from MSigDB
Extract to: /references/MAGMA/msigdb/
Ensure your reference directory is organized as follows: