Skip to content

Latest commit

 

History

33 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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.

Set Up:

  1. Install FUSION: Follow the installation instructions according to the guidelines on their repository.

  2. Instal FOCUS: Follow the installation instructions according to the guidelines on their repository.

  3. Download the necessary files (remember to cd in to the fusion_twas-master directory):

  1. Using the instructions on the FUSION repository, set up the WEIGHTS/ and LDREF/ directories.

Run the analysis:

  1. Modify the GWAS sumstats files for FUSION
  • Rename the columns so that we have SNP, A1, and A2, and calculate the Z column.

    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.

  1. Run FUSION on both predictive models (GTEx and TCGA)
  • See final.sh for code chunks. Please ensure that your edited sumstats file is named harmonized2.tsv.
  • After running FUSION on all chromosomes, see final.R to aggregate the TWAS significant genes across all chromosomes.
  1. Run FOCUS (install FOCUS here)
  • See final.R for fine-mapping setup. Run focus finemap from final.sh.
  1. Compare GWAS and TWAS significant results with FOCUS results
  • See final_proj.Rmd for code chunks.

About

Using GWAS and TWAS data to improve breast cancer subtype diagnosis

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages