-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tex
More file actions
188 lines (120 loc) · 15.2 KB
/
main.tex
File metadata and controls
188 lines (120 loc) · 15.2 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
\documentclass[a4paper, 11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{floatrow}
\usepackage[margin = 1in]{geometry}
\usepackage{float}
\usepackage[hidelinks, urlcolor=cyan]{hyperref}
\usepackage{url}
\usepackage{natbib}
\bibliographystyle{abbrvnat}
\setcitestyle{authoryear,open={(},close={)}}
\usepackage{csquotes}
\usepackage{fancyhdr}
%\addbibresource{references.bib}
\title{\Large BINF-402 Project \\
\huge Differential expression analysis of micro-RNA transcriptome between pancreas, prostate and gastrocnemius medialis tissues}
\author{Léopold Guyot}
\date{\today}
\begin{document}
\pagestyle{fancy}
\setlength{\headheight}{32.3pt}
\fancyhead{}\fancyfoot{}
\fancyhead[L]{\includegraphics[scale = 0.05]{Figures/LOGO_Universite _libre_bruxelles.png}}
\fancyhead[R]{Differencial expression analysis of microRNA transcriptomes}
\fancyfoot[R]{\thepage}
\maketitle
\begin{multicols}{2}
\section{Introduction}
This analysis investigates microRNA expression variations across three distinct tissues: prostate gland, pancreas body, and gastrocnemius medialis. A simple workflow has been used, consisting of quality control of reads, followed by a filtering, then a mapping. To finish with a classic differential expression analysis. The goal is to unveil tissue-specific expression patterns of miRNA. Tissue selection is strategic, anticipating closer miRNA expression patterns between prostate and pancreas, both glandular, and unique signatures in gastrocnemius medialis, a muscle tissue.
\section{Methods}
All the data processing was done using the R language \citep{Rlang} and several packages. All graphs have been realized with the ggplot2 package \citep{ggplot2} and basic data manipulations have been done with the help of the tidyr package \citep{tidyr}. Note that, for each section, the relevant scripts are indicated. Each script name is clickable to access code through the associated github link. The link to the github repo is
{\scriptsize \href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/}{https://github.com/leopoldguyot/BINF-402\_Transcriptomic\_Project/}}
\subsection{Data Retrieval}
\begin{scriptsize}
\textbf{Associated script : \href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/blob/main/retrieve_data.R}{retrieve\_data.R}}
\end{scriptsize}
All the data sets used in this project have been retrieved from the ENCODE database \citep{luo2020new}.
Three tissues have been selected; pancreas body, prostate gland and the gastrocnemius medialis tissue.
For each tissue, collected data was coming from two distinct experiments, each comprising two replicates, thereby totalling four replicates per tissue (cf. \href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/blob/data/sample_table_links.csv}{"data/sample\_table\_links.csv"} for file accession numbers).
The original UCSC hg38 genome was used as reference for the mapping. The NCBI accession code for this genome is \href{https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000001405.26/}{GCA\_000001405.26}.
\subsection{Read Quality Control}
\begin{scriptsize}
\textbf{Associated scripts : \href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/blob/main/reads_mapping.R}{reads\_mapping.R},\\
\href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/blob/main/Quality_control_stats.R}{Quality\_control\_stats.R}, \\
\href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/blob/main/quality_control.R}{quality\_control.R}}
\end{scriptsize}
A preliminary analysis done using the Rqc package \citep{Rqc} revealed notable issues with the quality of the sequencing reads. Other statistics have been retrieved and used to identify the problems and adapt the processing of the reads.
Red line in the summary Figure \ref{fig:cycles_mean} depicts the evolution of the quality trough the cycles for the unprocessed reads, indicating a substantial low mean quality for the 5 initial cycles (certainly due to an adapter) and a significant decrease from the 43rd cycle to the end of the reads (mean quality of the cycles of unprocessed reads is highlighted by the red line in the figure).
To address these quality issues, an initial processing step was implemented using the QuasR package \citep{QuasR}. This step involved trimming the first 5 and the last 7 cycles of the reads (in addition, reads with unidentified residues were filtered out). The result is visible with the green line in Figure \ref{fig:cycles_mean}. Even after this first step, a persistent decrease in mean quality throughout the remaining cycles was still observed.
In response to the persistent decline in mean quality, a second processing step was undertaken. In this step, reads were filtered to retain only those with a mean quality higher than 20. The outcome of this filtering is illustrated by the blue line in Figure \ref{fig:cycles_mean}. This additional processing step led to a global increase in mean quality across the entire read length and a stable read quality through cycles. So the trend of decreasing quality has been effectively mitigated.
\begin{figure}[H]
\centering
\includegraphics[width=1\columnwidth]{Figures/QC_plots/mean_per_group_and_cycles.pdf}
\caption{\footnotesize{ Graph of the mean quality (Phred score) for each cycle. Each line is composed of the mean quality values of all the reads contained on the 12 datasets (4 replicates and 3 tissues). The red line stands for the unprocessed data, the green line for the data with trimmed reads and the blue line for the data with trimming and filtering.}}
\label{fig:cycles_mean}
\end{figure}
In the following section, the mapping performance for each version of the data (unprocessed, with trimming, with trimming and filtering) will be explored. This analysis will provide insights into how the quality enhancements impact the alignment of reads.
\subsection{Mapping}
\begin{scriptsize}
\textbf{Associated script : \href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/blob/main/reads_mapping.R}{reads\_mapping.R}}
\end{scriptsize}
Before mapping, an index of the hg38 genome was created. The mapping was conducted on unprocessed data sets, data sets with reads trimming and data sets with trimming and filtering. Both indexing and mapping were carried out with the Rsubread package \citep{Rsubread}.
By comparing the mapping proportions, we can clearly see the impact of quality control on the mapping performance (cf Fig.\ref{fig:mapping}). With no processing on the reads, the proportion is really low with a median value under 10\%, some data sets have mapping proportion under even 2\%. After a first trimming of the start and end of the reads, the improvement is quite visible, as we go from 10\% to slightly under 75\% of median mapping proportion. And the minimal proportion is not going under 65\%. With the extra step of filtering the reads, the median proportion slightly increase and is above 75\%. And the minimal proportion is 68\%.
\begin{figure}[H]
\centering
\includegraphics[width=1\columnwidth]{Figures/mapping_props.pdf}
\caption{\footnotesize{Graph of the proportion of reads mapped in function of the read processing method used. For each category, n = 12 (4 replicates for 3 tissues). The first category "No" stands for the case with no processing.}}
\label{fig:mapping}
\end{figure}
\subsection{Differential Expression Analysis}
\begin{scriptsize}
\textbf{Associated script : \href{https://github.com/leopoldguyot/BINF-402_Transcriptomic_Project/blob/main/differential_expression_analysis.R}{differential\_expression\_analysis.R}}
\end{scriptsize}
Before running the differential analysis, a feature count was carried out with the Rsubread package \citep{Rsubread}. The annotation is the one contained within the package.
The differential expression analysis was done using the DESeq2 package \citep{DESeq2}. The workflow is inspired from the workflow presented in Chapter 4 of the "Omics Data Analysis" UCLouvain course from Laurent Gatto \citep{Gatto_Loriot}.
The big strength of DESeq2 is that it does correct the count matrix to take into account potential bias between data sets. These bias are for instance the difference in sequencing depth across sample (quite present in this analysis cf. Fig \ref{fig:depth}) and the difference in library composition that can lead to bad normalisation if not taken into account. To execute this normalisation, DESeq2 will compute geometric mean for each feature. Then, it will use these values and create a new matrix that consists of the counts divided by their associated geometric mean. Then, it will use this new matrix to build scaling factors for each sample, and finally applying this scaling factor to the original counts.
\begin{figure}[H]
\centering
\includegraphics[width=1\columnwidth]{Figures/differential_analysis/depth.pdf}
\caption{\footnotesize{Graph of the sequence depth for each sample, 486DIS shows a significant higher depth. This figure shows the importance of counts normalisation.}}
\label{fig:depth}
\end{figure}
A first exploration of the normalized count matrix was done using dimension reduction method. To avoid that largely expressed features strongly impact the new dimension reduction, at the expense of features with lower expression profile, a regularized-logarithm transformation was carried out. This type of transformation allows low and high expressed features to have same weight during the dimension reduction step. A classic Principal Component Analysis was conducted. Then an unsupervised clustering algorithm (using k-means method with k = 3) was used to assess if the different tissues types can be identified based on the miRNA expression pattern.
To access the differential analysis, DESeq2 uses a step that will estimate the dispersion parameter of the negative-binomial distribution. This estimation relies on the assumption that features of similar expression levels have similar dispersions and will thus use information coming from similarly expressed features to estimate the dispersion values. Then, it proceeds with extra step that will lead to reduce false positives in the differential expression analysis. These steps include, fitting the dispersion values to then shrink the dispersion values toward the values predicted by the curve. The results of the dispersion estimation is visible on the Figure \ref{fig:dispersion}.
\begin{figure}[H]
\centering
\includegraphics[width=\columnwidth]{Figures/differential_analysis/dispersion.pdf}
\caption{\footnotesize{Graph of the dispersion estimation carried out by DESeq2. Black dots show the estimated dispersion for each feature in function of the mean expression level. The red line is the fitted curve to feature-wise dispersion estimates. Blue points are the new values obtained with the shrinkage of the initial toward the predicted values. Black dots circled with blue show features with too high dispersion that are not shrunk.}}
\label{fig:dispersion}
\end{figure}
DESeq2 will then fit a generalized linear model. This model will give us the log2 Fold Change between two sampled types and their associated p-values (the p-value is obtained with Wald test). Due to the high number of statistical tests that need to be carried out, DESeq2 uses the Benjamini-Hochberg method to adjust pvalues. To decrease the loss of statistical power associated with the multiple testing corrections, DESeq2 filters out the tests that have almost no chance to show a significant fold change.
The results of this analysis will be explored on the Results section.
\section{Results and Discussion}
\subsection{Graphic exploration}
The dimension reduction (cf. Fig \ref{fig:pca}) shows that the 3 sample groups are well separated within the new dimension space (based on the features dimensions). Although visually distinct groupings are apparent, their separation lacks numerical interpretability. Therefore, an unsupervised clustering was used to obtain more robust group assignments. This clustering showed a correct classification of the sample, and the ratio between "between-cluster sum of squares" and "total sum of squares" was 99\%. This means that 99\% of the distance between points is explained by the groups. As a result, this proves that these 3 tissues have a quite different miRNA expression profile.
\begin{figure}[H]
\centering
\includegraphics[width=\columnwidth]{Figures/differential_analysis/pca.pdf}
\caption{\footnotesize{PCA plot, showing the two first components axis. Variance associated with component is indicated on legend axis. The PCA was computed on the top 500 features (ordered by variance).}}
\label{fig:pca}
\end{figure}
\subsection{Differential expression}
A first exploration of the differential expression analysis results can be done using a volcano plot, that represents the adjusted p-value by the log2 of fold change. Since the analysis is based on comparison between two sample groups, the results were produced to compare Pancreas versus Prostate and Pancreas versus Gastrocnemius medialis. The choice behind these pairs of comparison is to answer the initial hypothesis("anticipating closer miRNA expression patterns between prostate and pancreas, both glandular, and unique signatures in Gastrocnemius medialis, a muscle tissue" cf. Introduction). Visually, the two volcano plots (cf Fig. \ref{fig:volcano}) seem to be quite similar, both showing an important number of miRNA with a considerable log2 Fold change (greater than 1) and a low adjusted p-value (less than 0.05). In fact, if we count the number of these miRNAs, we have 558 for the comparison with Gastrocnemius medialis and 597 for the comparison with prostate. This difference is not significant (chi test pval = 0.2705). Therefore, we can not say that there is a pair of tissue type that has much similar miRNA expression pattern. Thus, we have to reject the initial hypothesis.
\section{Conclusion}
To conclude this report, I want to highlight things I could add to my analysis workflow.
For the quality control, it would maybe be better to trim the read ends selectively, and maybe cut off the cycles that have low quality values. A newer version of the genome would maybe increase the proportion of read mapped. As for the sample chosen, it would maybe be better to choose two different tissue types and have more replicates. This would simplify and improve the differential expression analysis. Other results could be explored, for instance comparing the normalized counts of the highest expressed features across the tissue types. Run a Gene Ontology on the highest expressed miRNA would also be a great idea.
\end{multicols}
\begin{figure}[H]
\centering
\includegraphics[width=\columnwidth]{Figures/differential_analysis/volcano.pdf}
\caption{\footnotesize{Volcano plot of the two differential expression analysis. Red points represents miRNA with an adjusted p-value lower than 0.05 and an absolute log2 Fold change higher than 1 (black lines are threshold values). The volcano plot on the left show the results for the comparison between Pancreas body and Prostate gland, as the right one show the comparison between Pancreas body and Gastrocnemius medialis.)}}
\label{fig:volcano}
\end{figure}
\begin{multicols}{2}
\bibliography{references}
\end{multicols}
\end{document}