revert: tex to org

I forgot that org was able to handle plain TeX commands
This commit is contained in:
Samuel Ortion 2024-04-12 06:31:37 +02:00
parent 798b84c7b0
commit c3262936a1
5 changed files with 22 additions and 169 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
report.tex
*.gls-abr *.gls-abr
*.glo-abr *.glo-abr
*.glg-abr *.glg-abr

View File

@ -41,7 +41,7 @@
[[printglossaries:]] [[printglossaries:]]
#+begin_export latex #+begin_export latex
%\flstart \flstart
#+end_export #+end_export
* Scientific context * Scientific context
@ -51,27 +51,13 @@ Duplicate genes offers a pool of genetic material available for further experime
** Gene duplication mechanisms ** Gene duplication mechanisms
#+begin_export latex #+begin_export latex
%\begin{addfigure} \fladdfig{
#+end_export \includegraphics[width=.9\linewidth]{./figures/lallemand2020-fig1_copy.pdf}
#+name: fig:gene-duplication-mechanisms \caption[Different types of duplication]{\label{fig:gene-duplication-mechanisms}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 \autocite{lallemandOverviewDuplicatedGene2020} (fig. 1).}
#+begin_src emacs-lisp :exports results :results value raw }
(setq caption "#+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).
")
(setq file (cond
((org-export-derived-backend-p org-export-current-backend 'html)
"[[file:./figures/lallemand2020-fig1_copy.svg]]")
((org-export-derived-backend-p org-export-current-backend 'latex)
"[[file:./figures/lallemand2020-fig1_copy.pdf]]")
(t "[[file:./figures/lallemand2020-fig1_copy.svg]]")))
(concat caption file)
#+end_src
#+begin_export latex
%\end{addfigure}
#+end_export #+end_export
# 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. Multiple mechanisms may lead to gene duplication. The following sections review them.
*** Polyploidisation and whole genome duplication *** Polyploidisation and whole genome duplication
In an event of gls:WGD, the entire set of genes present on the chromosomes is duplicated ([[cref:fig:gene-duplication-mechanisms]] (A)). In an event of gls:WGD, the entire set of genes present on the chromosomes is duplicated ([[cref:fig:gene-duplication-mechanisms]] (A)).
@ -96,7 +82,7 @@ DNA transposons are another type of transposable elements whose transposition me
This type of transposable element moves in the genome through a mechanisms known as "cut-and-paste". 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 (cref:fig:gene-duplication-mechanisms (E)). 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 (cref:fig:gene-duplication-mechanisms (E)).
*** Segment duplication *** Segment duplication
Segment duplications, also called low copy repeats are long stretches of DNA with high identity score ([[cref: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. Segment duplications, also called low copy repeats are long stretches of DNA with high identity score ([[cref:fig:gene-duplication-mechanisms]] (F)). 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]. 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 ** 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. 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.

BIN
report.pdf (Stored with Git LFS)

Binary file not shown.

View File

@ -1,138 +0,0 @@
% Scientific project report
% Samuel Orion
% Internship at LaMME in 2024
% M1 GENIOMHE
\documentclass[twoside=false]{scrreprt}
\usepackage{sty/lamme2024}
\newacronym{TAG}{TAG}{Tandemly Arrayed Genes}
\newacronym{FTAGfinder}{FTAG Finder}{Families and Tandemly Arrayed Genes Finder}
\newacronym{WGD}{WGD}{Whole Genome Duplication}
\newacronym{MCL}{MCL}{Markov Clustering}
\makeindex
\makeglossaries
\newcommand{\mykeywords}{duplicate genes, tandemly arrayed genes, pipeline}
\author{Samuel Ortion}
\date{2023-2024}
\title{Further development on FTAG Finder, a pipeline to identify Gene Families and Tandemly Arrayed Genes}
\hypersetup{
pdfauthor={Samuel Ortion},
pdftitle={Further development on FTAG Finder, a pipeline to identify Gene Families and Tandemly Arrayed Genes},
pdfkeywords={\mykeywords},
pdfsubject={},
pdflang={English}}
\addbibresource{references.bib}
\begin{document}
\maketitle
\flstart
\begin{center}
\textbf{keywords}: \mykeywords
\end{center}
\tableofcontents
\listoffigures
%\listoftables
\printglossaries
\chapter{Scientific context}
It is estimated that between 46\% and 65.5\% of human genes could be considered as duplicate genes \autocite{correaTransposableElementEnvironment2021}.
Duplicate genes offers a pool of genetic material available for further experimentation during species evolution.
\section{Gene duplication mechanisms}
\fladdfig{
\includegraphics[width=.9\linewidth]{./figures/lallemand2020-fig1_copy.pdf}
\caption[Different types of duplication]{\label{fig:gene-duplication-mechanisms}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 \autocite{lallemandOverviewDuplicatedGene2020} (fig. 1).}
}
%\end{addfigure}
Multiple mechanisms may lead to gene duplication. The following sections review them.
\subsection{Polyploidisation and whole genome duplication}
In an event of \gls{WGD}, the entire set of genes present on the chromosomes is duplicated (\cref{fig:gene-duplication-mechanisms} (A)).
\gls{WGD} is more frequent in plants.
A striking example is probably the \emph{Triticum} genus (wheat) in which some species (such as \emph{T. aestivum}) are hexaploid, due to hybridisation events \autocite{golovninaMolecularPhylogenyGenus2007a}.
We distinguish two kinds of polyploidisation, based on the origin of the duplicate genome:
\begin{itemize}
\item Allopolyploidisation occurs when the supplementary chromosomes comes from an other species. This is the case for \emph{Triticum aestivum} hybridisation.
\item Autopolyploidisation consist in the duplication of the genome within the same species.
\end{itemize}
\gls{WGD} can occur thanks to polyspermy or in case of a non-reduced gamete.
\subsection{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 \cref{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}.
\subsection{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 ( \cref{fig:gene-duplication-mechanisms} (D)).
\subsection{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 (\cref{fig:gene-duplication-mechanisms} (E)).
\subsection{Segment duplication}
Segment duplications, also called low copy repeats are long stretches of DNA with high identity score (\cref{fig:gene-duplication-mechanisms} (E)). Their exact duplication mechanisms remains unclear \autocite{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 \emph{Drosophila} \autocite{lallemandOverviewDuplicatedGene2020}.
\section{Fate of duplicate genes in genome evolution}
In his book \emph{Evolution by Gene Duplication}, Susumu \textsc{Ohno} proposed that gene duplication plays a major role in species evolution \autocite{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.
\subsection{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.
\subsection{Neofunctionalisation}
Duplicate genes may be conserved and gain a new function.
For instance, in \emph{Drosophila}, the set of olfactory receptor genes result from several duplication and deletion events \autocite{nozawaEvolutionaryDynamicsOlfactory2007}, after which the duplicate may specialize in the detection of a particular chemical compound.
\subsection{Subfunctionalisation}
Two duplicate genes with the same original function may encounter a subfunctionalisation during which each gene conserves only one part of the function.
\subsection{Functional redundancy}
Two copies may keep the ancestral function: in this case the organism may increase the quantity of gene product.
\section{Methods to identify duplicate genes}
\textsc{Lallemand} et al. review the different methods used to detect duplicate genes. These methods depend on the type of duplicate genes they target, and vary on computation burden \autocite{lallemandOverviewDuplicatedGene2020}.
\subsection{Paralog detection}
Paralogs are homologous genes derived from a duplication event. They can be identified as homologous genes located in the same genome, or as homologous genes between different species once we filtered out orthologous genes (homologous genes derived from a speciation event).
Two gene characteristics can be used to assess to assess homology between two genes: gene structure of sequence similarity.
The sequence similarity can be tested with a sequence alignment tool, such as \texttt{BLAST} \autocite{altschulBasicLocalAlignment1990}, \texttt{Psi-BLAST}, and \texttt{HMMER3} \autocite{johnsonHiddenMarkovModel2010}, or \texttt{diamond} \autocite{buchfinkSensitiveProteinAlignments2021}, which are heuristic algorithm, which means they may not provide the best results, but do so way faster than exact algorithms, such as the classical Smith and Waterman algorithm \autocite{smithIdentificationCommonMolecular1981} or its optimized versions \texttt{PARALIGN} or \texttt{SWIMM}.
\subsection{FTAG Finder}
Developed in the LaMME laboratory, the \gls{FTAGfinder} pipeline targets the detection of gene Families and Tandemly Arrayed Genes from a given species' proteome \autocite{bouillonFTAGFinderOutil2016}.
The pipeline proceeds in three steps. First, it estimates the homology links between each pair of genes; then, it deduce the gene families and finally, it detects \gls{TAG}.
\subsubsection{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 \texttt{BLAST} (Basic Local Alignment Search Tool) \autocite{altschulBasicLocalAlignment1990} run ``all against all'' on the proteome.
Several \texttt{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 \autocite{gibbonsEvaluationBLASTbasedEdgeweighting2015}.
\subsubsection{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 \autocite{vandongenNewClusterAlgorithm1998} or Walktrap \autocite{ponsComputingCommunitiesLarge2005}.
\subsubsection{Detection of TAGs}
The final step 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.
\chapter{Objectives for the internship}
\section{Scientific questions}
The underlying question of FTAG Finder is the study of the evolutionary fate of duplicate genes in Eukaryotes.
\section{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 \autocite{goecksGalaxyComprehensiveApproach2010}.
Last year, Séanna \textsc{Charles} worked on the Galaxy version of the FTAG Finder pipeline during her M1 internship \autocite{charlesFinalisationPipelineFTAG2023}. I will continue this work.
\section{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 \emph{à la} GNU Make \autocite{kosterSnakemakeScalableBioinformatics2012}. Nextflow, is a groovy powered workflow manager, which rely on data flows \autocite{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 \autocite{djaffardjyDevelopingReusingBioinformatics2023}.
\flstop
\printbibliography
\cleartoleftpage
\section*{Summary}
\end{document}

View File

@ -8,12 +8,12 @@
\RequirePackage{float} \RequirePackage{float}
\newbool{flcontinue} \newbool{flcontinue}
\newcommand{\flstart}{ \newcommand{\flstart}{
\booltrue{flcontinue} \booltrue{flcontinue}
\afterpage{\flblankpage} \afterpage{\flblankpage}
} }
\newcommand{\flstop}{ \newcommand{\flstop}{
\boolfalse{flcontinue} \boolfalse{flcontinue}
} }
\newcommand\@fladdfig{\relax} \newcommand\@fladdfig{\relax}
\newcommand\fladdfig[1]{\global\long\def\@fladdfig{#1}} \newcommand\fladdfig[1]{\global\long\def\@fladdfig{#1}}
@ -31,19 +31,22 @@
% \addtocounter{page}{-1} % \addtocounter{page}{-1}
\ifbool{flcontinue}{ \ifbool{flcontinue}{
\afterpage{\flblankpage} \afterpage{\flblankpage}
} }
} }
\iffalse \iffalse
% Example % Example
% Add this at the beggining of the document: % Add this at the beggining of the document (typically after the titlepage)
\afterpage{\flblankpage} \flstart
% Then for each new figure you want to add, add the following
\fladdfig{% \fladdfig{%
\centering
\includegraphics[scale=1]{Image1} \includegraphics[scale=1]{Image1}
\caption{Test} \caption{Test}
\label{Ima1} \label{Ima1}
} }
\fi
% At the end of the document, to avoid a unwanted late terminated loop of empty page creation, add the following
flstop
\fi