forked from fchen365/surf-paper
/
README.Rmd
61 lines (43 loc) · 3.17 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
# date: "`r Sys.Date()`"
output: github_document
header-includes:
- \usepackage{amsfonts,amsmath,amsthm,amsbsy,amssymb,dsfont,bm,mathtools,mathalfa}
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# Code for SURF Analysis of ENCODE Data
<!-- badges: start -->
<!-- [![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental) -->
[![DOI](https://zenodo.org/badge/260113226.svg)](https://zenodo.org/badge/latestdoi/260113226)
<!-- badges: end -->
This repository makes available the source code for our SURF paper(s). Last updated in April 2020.
The paper presents the **S**tatistical **U**tility for **R**BP **F**unctions (SURF) for integrative analysis of RNA-seq and CLIP-seq data. The goal of SURF is to identify alternative splicing (AS), alternative transcription initiation (ATI), and alternative polyadenylation (APA) events regulated by individual RBPs and elucidate protein-RNA interactions governing these events. We apply the SURF pipeline to analyze 104 RBP data sets (from [ENCODE](https://www.encodeproject.org)). Check out the browsable results from this [shiny](http://www.statlab.wisc.edu/shiny/surf/) app!
The current repository includes:
* application/
* `xena.R`: process TCGA and GTEx transcriptome data.
* `encode_surf_one.R`: perform SURF analysis for one RBP. This is used for all 104 RBPs.
* `encode_surf_summary.R`: summarize the SURF results, including all the statistics and plots reported in the paper.
* simulation/
* `other_simulation.sh`: prepare DEXSeq and run [rMATS](http://rnaseq-mats.sourceforge.net/) and [MAJIQ](https://majiq.biociphers.org).
* `drseq_simulation.R`: run DrSeq and DEXSeq, analyze simulation results, including all the statistics and plots reported in the paper.
* majiq/: contain two files needed for running MAJIQ.
* dexseq/: contain two files needed for DEXSeq preparation.
To reproduce the ENCODE data analysis/results (available at (DOI): [10.5281/zenodo.3779037](https://doi.org/10.5281/zenodo.3779037)):
1. Download the processed bam files (shRNA-seq and eCLIP-seq) from [ENCODE](https://www.encodeproject.org) portal.
1. Download transcriptome quantification of [TCGA](https://www.cancer.gov/about-nci/organization/ccg/research/structural-genomics/tcga) and [GTEx](https://commonfund.nih.gov/gtex) projects from [Xena](https://xena.ucsc.edu).
1. Run `xena.R`, `encode_surf_one.R` (for each RBP), and `encode_surf_summary.R` in order.
To reproduce the simulation results:
1. Download the processed bam files (Homo sapiens) from ArrayExpress dataset [E-MTAB-3766](https://www.ebi.ac.uk/arrayexpress/experiments/E-MTAB-3766/files/processed/).
1. Run `other_simulation.sh` and `drseq_simulation.R` in order.
## Contact
Fan Chen (fan.chen@wisc.edu) or Sunduz Keles (keles@stat.wisc.edu)
## Reference
Chen F and Keles S. "SURF: integrative analysis of a compendium of RNA-seq and CLIP-seq datasets highlights complex governing of alternative transcriptional regulation by RNA-binding proteins."