Skip to content

gxiaolab/SpliTWAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

SpliTWAS

SpliTWAS is framework that associates the genetically driven complexity of alternative RNA processing to disease.

SpliTWAS examines alternative splicing patterns to identify splicing-trait associations which are then fine-mapped at both the gene and exon levels. The degree of alternative splicing of an exon is quantified through percent spliced in (PSI), which indicates the level of exon inclusion in the transcriptpopulation of a gene, allowing an exon-centric view of the transcriptome.

The SpliTWAS framework is based on the work of Gusev et al. “Integrative approaches for large-scale transcriptome-wide association studies” 2016 Nature Genetics, with modifications described in our publication. Similarly to the FUSION/TWAS framework, the user can decide wether to compute their own predictive models for splicing based on an RNA-seq panel paired with genotype data or use precomputed models from BrainGVEX and CommonMind datasets availabile at Models.

Installation of FUSION

SpliTWAS is based on the FUSION framework, we recommend following the installation described in FUSION, as it covers the dependencies, required packages, external software and a thorough description of the workflow in the original framework.

PSI Calculation

For the computation of your own predictive models we start by first quantifying PSI. Otherwise, if using the pre-computed weights made available at the link above skip to the association step.

PSI is calculated using the set of scripts and annotations described in: PSI_Calculator. The scripts and annotations will yield PSI quantification for exonic parts, and these will be referenced as exons from here onwards.

PSI matrix clean-up and S-value transformation

Utilizing the PSI_matrix_clean_up.py script we can feed our PSI matrix compromised of exons x samples, to remove exons with little to no variance sd < 0.005, missing in over 60% of samples, and impute values for those with over 40% coverage.

Additionally the script will transform the matrix from PSI values to S-Values with the following formula

$$ S-Value = log_2({PSI \over 1+\alpha-PSI}) $$

PSI values typically follow a bimodal distribution centered around 0 and 1, which violates the assumption of a Gaussian distribution made by the regression schemes used to build the predictive models

SpliTWAS predictive models

To compute your own predictive models, we follow the same procedure described in the section "Compute your own predictive models" of FUSION, but utilizing the SpliTWAS_Weight_compute.sh and SpliTWAS.compute_weights.R provided in the Scripts directory in this repository.

Both of these scripts are modfified versions of the original FUSION scripts. Input file assumptions are for both of the scripts are the same with the exception of using the S-value matrix instead of a gene-expression matrix.

Caveats and tips described in FUSION apply for SpliTWAS.

SpliTWAS associations

Similarly for associations the steps and guidelines should be followed as described in the "Typical analysis and output" section of FUSION, however just in like the step above, please utilize the modified script SpliTWAS.assoc_test.R instead of FUSION.assoc_test.R as it is a modified version that fits the SpliTWAS framework.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published