lamme2024-scientific-project/report.org

169 lines
12 KiB
Org Mode

#+title: Further development on FTAG Finder, a pipeline to identify Gene Families and Tandemly Arrayed Genes
#+author: Samuel Ortion
#+date: 2023-2024
#+LATEX_CLASS: scientific-project
#+LATEX_HEADER: \usepackage{sty/lamme2024}
#+bibliography: ../references.bib
#+exclude_tags: noexport
#+options: H:7
#+options: toc:nil
# ref. https://write.as/dani/writing-a-phd-thesis-with-org-mode
#+name: acronyms
| key | abbreviation | full form |
|------+--------------+------------------------------------|
| TAG | TAG | Tandemly Arrayed Genes |
| FTAG | FTAG | Families and Tandemly Arrayed Genes |
| WGD | WGD | Whole Genome Duplication |
| MCL | MCL | Markov Clustering |
#+begin_export latex
\makeatletter
\hypersetup{
pdfkeywords={duplicate genes, tandemly arrayed genes, pipeline},
}
\makeatother
#+end_export
#+begin_center
*keywords*: duplicate genes, tandemly arrayed genes, pipeline
#+end_center
#+begin_export latex
\tableofcontents
\listoffigures
%\listoftables
#+end_export
[[printglossaries:]]
#+begin_export latex
%\afterpage{\flblankpage}
#+end_export
* Scientific context
It is estimated that between 46% and 65.5% of human genes could be considered as duplicate genes [cite:@correaTransposableElementEnvironment2021].
Duplicate genes offers a pool of genetic material available for further experimentation during species evolution.
** Gene duplication mechanisms
#+begin_comment
#+name: fig:gene-duplication-mechanisms
#+begin_src emacs-lisp :exports results :results raw
(cond
((org-export-derived-backend-p org-export-current-backend 'html)
"[[./figures/lallemand2020-fig1_copy.svg]]")
((org-export-derived-backend-p org-export-current-backend 'latex)
"[[./figures/lallemand2020-fig1_copy.pdf]]")
(t "[[./figures/lallemand2020-fig1_copy.svg]]"))
#+end_src
#+end_comment
#+LABEL: fig:gene-duplication-mechanisms
#+CAPTION[Different types of duplication]: Different types of duplication. (A) Whole genome duplication. (B) An unequal crossing-over leads to a duplication of a fragment of a chromosome. (C) In tandem duplication, two (set of) genes are duplicated one after the other. (D) Retrotransposon enables retroduplication: a RNA transcript is reverse transcribed and inserted back without introns and with a polyA tail in the genome. (E) A DNA transposon can acquire a fragment of a gene. (F) Segmental duplication corresponds to long stretches of duplicated sequences with high identity. Adapted from [cite:@lallemandOverviewDuplicatedGene2020] (fig. 1).
[[./figures/lallemand2020-fig1_copy.pdf]]
# https://stackoverflow.com/questions/13611837/how-can-i-use-different-image-formats-for-different-exports-in-org-mode
Multiple mechanisms may lead to gene duplication. The following sections review them.
*** Polyploidisation and whole genome duplication
In an event of gls:WGD, the entire set of genes present on the chromosomes is duplicated (figure [[ref:fig:gene-duplication-mechanisms]] (A)).
gls:WGD is more frequent in plants.
A striking example is probably the /Triticum/ genus (wheat) in which some species (such as /T. aestivum/) are hexaploid, due to hybridisation events [cite:@golovninaMolecularPhylogenyGenus2007].
We distinguish two kinds of polyploidisation, based on the origin of the duplicate genome:
- Allopolyploidisation occurs when the supplementary chromosomes comes from an other species. This is the case for /Triticum aestivum/ hybridisation.
- Autopolyploidisation consist in the duplication of the genome within the same species.
gls:WGD can occur thanks to polyspermy or in case of a non-reduced gamete.
*** Unequal crossing-over
A crossing-over may occur during cell division. Two chromatids may exchange a fragment of chromosome. If the cleavage of the two chromatids occurs at different positions, the shared fragments may have different lengths. Homologous recombination of such uneven crossover results in the incorporation of a duplicate region, as represented in figure ref:fig:gene-duplication-mechanisms (B, C).
This mechanism leads to the duplication of the whole set of genes present in the inserted fragment. These duplicate genes locate one set after the other, and are thus called gls:TAG.
*** Retroduplication
Retrotransposons, or RNA transposons are one type of transposable elements. Retrotransposons share similar structure and mechanism with retroviruses.
They may replicate in the genome through a mechanism known as "copy-and-paste".
These transposons typically contain a reverse transcriptase gene. This enzyme may proceed in the reverse transcription of an mRNA transcript into DNA sequence which can then be inserted elsewhere in the genome.
More generally, retroduplication refers to the duplication of a region of a chromosome through reverse transcription of a RNA transcript. In this case the duplicate gene lost its intronic sequences and brings a polyA tail with it (figure ref:fig:gene-duplication-mechanisms (D)).
*** Transduplication
DNA transposons are another type of transposable elements whose transposition mechanism can also lead to gene duplication.
This type of transposable element moves in the genome through a mechanisms known as "cut-and-paste".
A typical DNA transposon contains a transposase gene. This enzyme recognize two sites surrounding the donnor transposon sequence in the chromosome resulting in a DNA cleavage and excision of the transposon. The transposase can then insert the transposon in a new genome locus. A transposon can bring a fragment of a gene during its transposition in the other locus (figure ref:fig:gene-duplication-mechanisms (E)).
*** Segment duplication
Segment duplications, also called low copy repeats are long stretches of DNA with high identity score (figure [[ref:fig:gene-duplication-mechanisms]] (E)). Their exact duplication mechanisms remains unclear [cite:@lallemandOverviewDuplicatedGene2020], they may results from an accidental replication, distinct from an uneven cross-over or a double stranded breakage.
Nevertheless, transposable elements may well be involved as a high enrichment of transposable elements has been found at segment extremities, in /Drosophila/ [cite:@lallemandOverviewDuplicatedGene2020].
** Fate of duplicate genes in genome evolution
In his book /Evolution by Gene Duplication/, Susumu [[latex:textsc][Ohno]] proposed that gene duplication plays a major role in species evolution [cite:@ohnoEvolutionGeneDuplication1970], as it provides a new genetic material to build on new phenotypes while keeping a backup gene for the previous function.
Duplicate genes may be inactivated becoming pseudogenes, be deleted or conserved.
*** Pseudogenisation
Duplicate genes may be inactivated and become pseudogenes. These pseudogenes keep a gene-like structure, which degrades as and when further genome modifications occur, but are no longer expressed.
*** Neofunctionalisation
Duplicate genes may be conserved and gain a new function.
For instance, in /Drosophila/, the set of olfactory receptor genes result from several duplication and deletion events [cite:@nozawaEvolutionaryDynamicsOlfactory2007], after which the duplicate may specialize in the detection of a particular chemical compound.
*** Subfunctionalisation
Two duplicate genes with the same original function may encounter a subfunctionalisation during which each gene conserves only one part of the function.
** Methods to identify duplicate genes
[[latex:textsc][Lallemand]] et al. review the different methods used to detect duplicate genes. These methods depend on the type of duplicate genes they target [cite:@lallemandOverviewDuplicatedGene2020].
*** FTAG Finder
Developped in the LaMME laboratory, the FTAG Finder pipeline targets the detection of gene Families and Tandemly Arrayed Genes from a given species' proteome [cite:@bouillonFTAGFinderOutil2016].
The pipeline proceeds in three steps: first, it estimates the homology links between each pair of gene; then, it deduce the gene families and finally, it detects gls:TAG.
**** Estimation of homology links between genes
This step consists in establishing a relation between each genes in the proteome.
In this step, the typical tool involved is =BLAST= (Basic Local Alignment Search Tool) [cite:@altschulBasicLocalAlignment1990] run "all against all" on the proteome.
Several =BLAST= metrics can be used as homology measures, such as bitscore, identity percentage, E-value or variations of these. The choice of metrics can affect the results of graph clustering in the following step, and should therefore be chosen carefully [cite:@gibbonsEvaluationBLASTbasedEdgeweighting2015].
**** Identification of gene families
Based on the homology links between each pair of genes, we construct a undirected weighted graph whose vertices correspond to genes and edges to homology links between them.
We apply a graph clustering algorithm on the graph in order to infer the gene families.
FTAG Finder proposes three clustering algorithm alternatives: single linkage, Markov Clustering [cite:@vandongenNewClusterAlgorithm1998] or Walktrap [cite:@ponsComputingCommunitiesLarge2005].
**** Detection of TAGs
The final steps of FTAG Finder consists in the determination of gls:TAG from the gene families and the chromosome sequence.
For a given chromosome, the tool seeks genes belonging to the same family and located close to each other. The tool allows a maximal number of genes between the homologous genes, with a parameter set by the user.
* Objectives for the internship
** Scientific questions
The underlying question of FTAG Finder is the study of the evolutionary fate of duplicate genes in Eukaryotes.
** Extend the existing FTAG Finder Galaxy pipeline
Galaxy is a web-based platform for running accessible data analysis pipelines, first designed for use in genomic data analysis [cite:@goecksGalaxyComprehensiveApproach2010].
Last year, Séanna [[latex:textsc][Charles]] worked on the Galaxy version of the FTAG Finder pipeline during her M1 internship [cite:@charlesFinalisationPipelineFTAG2023]. I will continue this work.
** Port FTAG Finder pipeline on a workflow manager
Another objective of my internship will be to port FTAG Finder on a workflow manager better suited to larger and more reproducible analysis.
We will have to make a choice for the tool we will use.
The two main options are Snakemake and Nextflow. Snakemake is a python powered workflow manager based on rules /à la/ GNU Make [cite:@kosterSnakemakeScalableBioinformatics2012]. Nextflow, is a groovy powered workflow manager, which rely on data flows [cite:@ditommasoNextflowEnablesReproducible2017]. Both are widely used in the bioinformatics community, and their use have been on the rise since they came out in 2012 and 2013 respectively [cite:@djaffardjyDevelopingReusingBioinformatics2023].
#+begin_export html
<h3>Bibliography</h3>
#+end_export
#+print_bibliography:
#+begin_export latex
\cleartoleftpage
#+end_export
** Summary
:PROPERTIES:
:UNNUMBERED: t
:END:
* Bean :noexport:
** MCL
MCL uses two operations on a stochastic matrix representation $M$ of the graph first derived from the adjacency matrix, namely /expansion/ and /inflation/. Expansion consists in elevating the matrix to a power $r$, and subsequently scaling its columns so that they sum to 1 again. The image of the inflation operator $\Gamma_r$ is defined as
\[
(\Gamma_r M)_{pq} = (M_{pq})^r / \sum_{i=1}^m (M_{iq})^r
\]
where $m$ is number of rows in the matrix, and $M_{pq}$ is the value in the $p, q$ cell of the matrix $M$.
This operator strengthens the edges with higher weights and tend to anihilate edges with lower flow.
The application of both operator iteratively eventually ends up in a partition of the initial graph's edges into clusters of closely connected nodes (corresponding, in our case to gene families).
** Walktrap
Principle: construct vertex communities based on where an agent would get stuck in a random walk.