This is a final project for Statistical Genomics (DSC 291) taught at UCSD Fall 2024
Given the impact of genetics on breast cancer, we would like to see if TWAS and GWAS have any shared loci of expressed genes and variants associated with breast cancer. Going beyond associations, we would like to see if there are any “causal” genes identified using fine-mapping.
-
Install FUSION: Follow the installation instructions according to the guidelines on their repository.
-
Instal FOCUS: Follow the installation instructions according to the guidelines on their repository.
-
Download the necessary files (remember to cd in to the
fusion_twas-masterdirectory):
- Gene Expression Weights (GTEx)
- Gene Expression Weights (TCGA breast tumor expression)
- Harmonized GWAS summary statistics for breast cancer from the GWAS Catalog created by EMBL-EBI, study GCST90454347
- Using the instructions on the FUSION repository, set up the
WEIGHTS/andLDREF/directories.
- Modify the GWAS sumstats files for FUSION
-
Rename the columns so that we have
SNP,A1, andA2, and calculate theZcolumn.Use the make_z_col.R script in this repository.
Rscript make_z_col.R GCST90454347.h.tsv.gz
The script will take a GWAS summary stats file and write it out as a tsv with the correct columns.
- Run FUSION on both predictive models (GTEx and TCGA)
- See
final.shfor code chunks. Please ensure that your edited sumstats file is namedharmonized2.tsv. - After running FUSION on all chromosomes, see
final.Rto aggregate the TWAS significant genes across all chromosomes.
- Run FOCUS (install FOCUS here)
- See
final.Rfor fine-mapping setup. Run focus finemap fromfinal.sh.
- Compare GWAS and TWAS significant results with FOCUS results
- See
final_proj.Rmdfor code chunks.