Related Experiment Video
Updated: Jun 17, 2025

A Rapid and Facile Pipeline for Generating Genomic Point Mutants in C. elegans Using CRISPR/Cas9 Ribonucleoproteins
Published on: April 30, 2018
pyTWMR: transcriptome-wide Mendelian randomization in python
Sergey Oreshkov1,2, Kaido Lepik3,4,5, Federico Santoni1,2,6
1Endocrine, Diabetes and Metabolism Service, Centre Hospitalier Universitaire Vaudois (CHUV), Lausanne 1005, Switzerland.
Motivation:
Mendelian randomization (MR) is a widely used approach to estimate causal effect of variation in gene expression on complex traits. Among several MR-based algorithms, transcriptome-wide summary statistics-based Mendelian Randomization approach (TWMR) enables the uses of multiple SNPs as instruments and multiple gene expression traits as exposures to facilitate causal inference in observational studies.
Results:
Here we present a Python-based implementation of TWMR and revTWMR. Our implementation offers GPU computational support for faster computations and robust computation mode resilient to highly correlated gene expressions and genetic variants.
Availability And Implementation:
pyTWMR is available at github.com/soreshkov/pyTWMR.
Insights
This study introduces pyTWMR, a Python tool for Mendelian randomization (MR) that estimates gene expression
Area of Science:
- Genetics
- Statistical Genetics
- Computational Biology
Background:
- Mendelian randomization (MR) is a key method for inferring causal relationships between gene expression and complex traits.
- Existing MR approaches have limitations in utilizing multi-SNP instruments and multi-trait exposures for robust causal inference.
- Transcriptome-wide summary statistics-based Mendelian Randomization (TWMR) offers an advanced framework for causal inference.
Purpose of the Study:
- To present a novel, efficient, and robust Python implementation of the TWMR and its reverse version (revTWMR) algorithms.
- To enhance the computational speed and applicability of TWMR for large-scale genetic studies.
Main Methods:
- Developed a Python-based software package, pyTWMR, implementing TWMR and revTWMR.
- Integrated GPU computational support for accelerated data processing.
- Incorporated a robust computation mode to handle highly correlated gene expressions and genetic variants.
Main Results:
- The pyTWMR implementation significantly speeds up TWMR analyses through GPU acceleration.
- The robust computation mode ensures reliable causal inference even with correlated genetic data.
- The software facilitates the use of multiple genetic variants (SNPs) and gene expression traits as exposures.
Conclusions:
- pyTWMR provides an efficient and robust computational tool for performing transcriptome-wide Mendelian randomization.
- This implementation advances the capability to perform causal inference between gene expression and complex traits using observational data.
- The open-source availability of pyTWMR promotes wider adoption and further development in genetic research.
Related Concept Videos
Regulated mRNA Transport
Single Nucleotide Polymorphisms-SNPs
Improving Translational Accuracy
Trihybrid Crosses
Some of Mendel’s crosses examined three pairs of contrasting characteristics. Such a cross is called a trihybrid cross. A trihybrid cross is a combination of three individual monohybrid crosses. For example, plant height (tall vs. short), seed shape (round vs. wrinkled), and seed color (yellow vs. green).
The F1 generation plants of a trihybrid cross are heterozygous for all three traits and produce eight gametes. Upon self-fertilization, these gametes have an equal...
Gene Conversion
Multiple Allele Traits

