This project aims to repeat the ChIP-Seq and RNA-Seq analyses using data GSE156591, for ChIP-Seq, and GSE156654, for RNA-Seq.
For both two analyses, the following reference files are used:
- Reference Genome: GRCh37.87.fa
- GTF file: Homo_sapiens.GRCh37.87.gtf
Due to the limitation on files, the raw fastq files, .bam files and the reference data files are not uploaded. And because of the IPR, the R scripts are not included.
===============================RNA-Seq Analysis================================= The structure of the folder rnaseq is shown as the following:
. βββ results βΒ Β βββ fastqc βΒ Β βΒ Β βββ SRR12492510 βΒ Β βΒ Β βββ SRR12492511 βΒ Β βΒ Β βββ SRR12492512 βΒ Β βΒ Β βββ SRR12492513 βΒ Β βΒ Β βββ SRR12492514 βΒ Β βΒ Β βββ SRR12492515 βΒ Β βΒ Β βββ SRR12492516 βΒ Β βΒ Β βββ SRR12492517 βΒ Β βΒ Β βββ SRR12492518 βΒ Β βΒ Β βββ SRR12492519 βΒ Β βΒ Β βββ SRR12492520 βΒ Β βΒ Β βββ SRR12492521 βΒ Β βββ reports βΒ Β βΒ Β βββ salmon_DGE βΒ Β βΒ Β βββ salmon_EDA βΒ Β βΒ Β βββ STAR_DGE βΒ Β βΒ Β βββ STAR_EDA βΒ Β βββ salmon βΒ Β βΒ Β βββ SRR12492510 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492511 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492512 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492513 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492514 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492515 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492516 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492517 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492518 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492519 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492520 βΒ Β βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βΒ Β βββ logs βΒ Β βΒ Β βββ SRR12492521 βΒ Β βΒ Β βββ aux_info βΒ Β βΒ Β βββ libParams βΒ Β βΒ Β βββ logs βΒ Β βββ STAR βΒ Β βββ counts βΒ Β βββ SRR12492510 βΒ Β βββ SRR12492511 βΒ Β βββ SRR12492512 βΒ Β βββ SRR12492513 βΒ Β βββ SRR12492514 βΒ Β βββ SRR12492515 βΒ Β βββ SRR12492516 βΒ Β βββ SRR12492517 βΒ Β βββ SRR12492518 βΒ Β βββ SRR12492519 βΒ Β βββ SRR12492520 βΒ Β βββ SRR12492521 βββ scripts
For the RNA-Seq analysis, the following software are used:
- STAR: v2.7.10a
- htseq-count: v2.0.3
- salmon: v1.4.0
- R: v4.3.1
- tximport_1.28.0
- DESeq2_1.40.2
- biomaRt_2.56.1
- tidyverse_2.0.0
- gplots_3.1.3
- DT_0.28
- reshape_0.8.9
- RColorBrewer_1.1.3
In the directory rnaseq, there are two sub-directories:
- results, which contains all the outputs from the pipeline
- scripts, which includes all the scripts (except the R scripts) used for running the pipeline
Next, a detailed introduction will be give to the direcotry "result": The directory results have four sub-directories: fastqc, reports, salmon, STAR.
- In the directory fastqc, there are 12 sub-directories names after the SRR accession numbers. Each sub-directory contains the fastqc results for both two strands.
- In the reports folder, there are four sub-folders: salmon_EDA, salmon_DGE, STAR_EDA, and STAR_DGE. In the folders salmon_EDA, STAR_EDA, the Exploratory Data Analysis(EDA) reports generated based on gene counts created by salmon and STAR accordingly. The Differential Gene Expression(DGE) analysis outputs generated based on gene counts from salmon and STAR can be found int salmon_DGE, STAR_DGE correspondingly.
- In the salmon folders, 12 sub-directories named after the SRR accession numbers can be found. In each sub-directory, the gene counts file quant.sf can be found.
- In the STAR directory, a sub-directory "counts" can be found. The counts folder contains the gene counts files, in .count format, for each sample generated by htseq-count. ====================================End RNA-Seq=================================
=================================ChIP-Seq Analysis============================== Case sample: SRR12490775 Control Sample: SRR12490774
The following steps were take to process the data
- Run fastqc on the fastq files
- Align the fastq files using bowtie
- Generate the .narrowpeak file using macs2 with SRR12490774 as the control sample and SRR12490775 as the case sample. (The website of the data showed that SRR12490774 is the control sample). And the command for calling macs2 could be found via the path ./chipseq/scripts/peak_calling.sh
- Intersect the peaks with the promoter regions(defined as 200 bp around a TSS in this case)
Other than macs2, HOMER was used to analysis the aligned data. The following command was used to identify the significant peaks: findPeaks -style histone -o auto -i The same as macs2, the sample SRR12490774 was set as the control case. And the output of this command, peaks.txt, can be found in the directory chipseq/results/homer. bedGraph.gz files for each sample were generated using the command makeUCSCfile from HOMER. And the output can be found via the path ./chipseq/results/homer/UCSCFile/SRR1249077*/SRR1249077*.ucsc.bedGraph.gz Tried to generate the bigWig files using HOMER. However, an error kept popping out. Still trying to get it fiexed. But, deepTools generated the bigWig files sucessfully and the files can be found in the path ./chip/results/visualization/bigwig
The directory tree of chipseq is shown as follow
. βββ results βΒ Β βββ fastqc βΒ Β βΒ Β βββ SRR12490774 βΒ Β βΒ Β βββ SRR12490775 βΒ Β βββ HOMER βΒ Β βΒ Β βββ peaks βΒ Β βΒ Β βββ Tags βΒ Β βΒ Β βββ SRR12490774 βΒ Β βΒ Β βββ SRR12490775 βΒ Β βββ macs2 βΒ Β βΒ Β βββ CaseVsCtrl βΒ Β βΒ Β βββ SRR12490774 βΒ Β βΒ Β βββ SRR12490775 βΒ Β βββ visualization βΒ Β βββ bigwigs βΒ Β βββ generatedByDeepTools βββ scripts
To perform the analysis, the following software were used:
- bowtie-1.3.1
- fastqc-0.12.1
- macs-2.2.7.1
- HOMER-4.11
- deepTools-3.5.1
- R-4.3.1
- genomation-1.32.0
- IRagnes-2.34.1
- chipseq-1.50.0
- Gviz-1.44.0
- biomaRt-2.56.1 ======================================End=======================================
==============================Pathway analysis==================================To perform the pathway analysis, two softwares were used:
- GSEA
- pathfindR
The input datasets were DESeq2 normalized gene counts which generated by STAR and Salmon. And both two softwares used the KEGG database.
The directory structure of the folder pathway is:
.
βββ GSEA
βΒ Β βββ inputs
βΒ Β βββ outputs
βΒ Β βΒ Β βββ Salmon_Output_Analysis
βΒ Β βΒ Β βΒ Β βββ edb
βΒ Β βΒ Β βββ STAR_Output_Analysis
βΒ Β βΒ Β βββ edb
βΒ Β βββ scripts
βββ pathfindR
βββ outputs
βΒ Β βββ Salmon
βΒ Β βΒ Β βββ active_snw_searches
βΒ Β βΒ Β βΒ Β βββ Iteration_1
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_10
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_2
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_3
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_4
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_5
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_6
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_7
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_8
βΒ Β βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βΒ Β βββ Iteration_9
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ term_visualizations
βΒ Β βββ STAR
βΒ Β βββ active_snw_searches
βΒ Β βΒ Β βββ Iteration_1
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_10
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_2
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_3
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_4
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_5
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_6
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_7
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_8
βΒ Β βΒ Β βΒ Β βββ active_snw_search
βΒ Β βΒ Β βββ Iteration_9
βΒ Β βΒ Β βββ active_snw_search
βΒ Β βββ term_visualizations
βββ scripts