-The study of DNA analysis is playing an important role for studying genome evolution, phylogenetic and genetic analysis in recent years. Various models of genome evolution were made based on the analysis of DNA sequences, SNP, mutation, and so on. This will allows to us to incorporate extinct species into genome evolution trees. In this research, we introduce various methods to build the genome evolution tree based on extracting the core genome (e.g common genes). We built the two evolution trees based on twelve chloroplast genomes from genBank, fully annotated by: NCBI and Dogma. We made then gene quality control among the common genes in NCBI and Dogma. Comparing genes sequences from dogma with their aliases in NCBI will give to us an important role for genome evolution.
\ No newline at end of file
+DNA analysis techniques have received a lot of attention these last
+years, because they play an important role in understanding
+genomes evolution over time, and in phylogenetic and genetic analyses. Various models
+of genomes evolution are based on the analysis of DNA sequences, SNPs,
+mutations, and so on. We have recently investigated the use of
+core (\emph{i.e.}, common genes) and pan genomes to infer evolutionary information
+on a collection of 107 chloroplasts. In particular,
+we have regarded methods to build a genes content evolutionary tree using
+distances to core genome. However,
+the production of reliable core and pan genomes is not an easy task,
+due to error annotations of the NCBI. The presentation will then
+consist in various compared approaches to construct such a tree using
+fully annotated genomes by NCBI and Dogma, followed by a gene quality
+control among the common genes. We will finally explain how, by comparing
+sequences from Dogma with NCBI contents, we achieved to identify the
+genes that play a key role in the dynamics of genomes evolution. \\
+
+\textbf{Keywords:} genome evolution, phylogenetic tree, core genes, evolution tree, genome annotation
+\end{abstract}
\ No newline at end of file
-The field of Genome annotation pay a lot of attentions where the ability to collect and analyze genomical data can provide strong indicator for the study of life\cite{Eisen2007}. A lot of genome annotation centres present various types of annotation tools (cost-effective sequencing methods\cite{Bakke2009}) on different annotation levels. In this section, we will consider a new method of annotation for extracting core genome from large amount of chloroplast genomes as a solution of the previous method where stated in section two. This method is based on extracting gene features from well annotated genomes. The question now is how can we have good annotation genome? To answer this question, we need to focusing on studying the annotation's accuracy (systematically\cite{Bakke2009}) of the genome. The general overview of the system is illustrated in Figure 1.\\
+The field of Genome annotation pay a lot of attentions where the ability to collect and analysis genomical data can provide strong indicator for the study of life\cite{Eisen2007}. A lot of genome annotation centres present various types of annotation tools (i.e cost-effective sequencing methods\cite{Bakke2009}) on different annotation levels. Methods of gene finding in annotated genome can be categorized as: Alignment-based, composition based or combination of both\cite{parra2007cegma}. The Alignment-based method is used when we try to predict a coding gene (i.e. Genes that produce proteins) by aligning DNA sequence of gene to the protein of cDNA sequence of homolog\cite{parra2007cegma}, this approache used in GeneWise\cite{birney2004genewise} with known splicing signals. Composition-based mothod (known as \textit{ab initio} is based on a probabilistic model of gene structure to find genes and/or new genes accoding to the probility gene value, this method like GeneID\cite{parra2000geneid}. In this section, we will consider a new method of finding core genes from large amount of chloroplast genomes, as a solution of the previous method where stated in section two. This method is based on extracting gene features. The question now is how can we have good annotation genome? To answer this question, we need to focusing on studying the annotation's accuracy (systematically\cite{Bakke2009}) of the genome. The general overview of the system is illustrated in Figure 1.\\
-
-\begin{figure}[h]
+\begin{figure}[H]
\caption{A general overview of the system}
\centering
\includegraphics[width=0.5\textwidth]{generalView}
In Figure 1, we illustrate the general overview of the system. In this system, there are three main stages: \textit{Database, Gene extraction ,} and \textit{relationships}. There are many international nucleotide sequence databases like (GenBank/NCBI in USA at (http://www.ncbi.nlm.nih.gov/genbank/),\\ EMBL-Bank/ENA/EBI in Europe at (http://www.ebi.ac.uk/ena/), and DDBJ in Japon at (http://www.ddbj.nig.ac.jp/)). In our work, the database must be any confident data source that store annotated or unannotated chloroplast genomes. We will consider GenBank/NCBI database as our nucleotide sequences database. Extract Gene Features, we refer to our main process of extracting needed information to find core genome from well large annotation genomes. Thanks to good annotation tool that lead us to extract good gene features. Here, Gene features can be anything like (genes names, gene sequences, protein sequence,...etc). To verify the results from our system, we need to organize and represent our results in the form of (tables, phylogenetic trees, graphs,...,etc), and compare these results with another annotation tool like Dogma\cite{RDogma}. All this work is to see the relationship among our large population of chloroplast genomes and find the core genome for root ancestral node. Furthermore, in this part we can visualize the evolution relationships of different chloroplast organisms.\\
The output from each stage in our system will be considered to be an input to the second stage and so on. The rest of this section, in section 3.1, we will introduce some annotation problem with NCBI chloroplast genomes and we will discuss our method for how can we extract useful data. Section 3.2 we will present here our system for calculating evolutionary core genome based on another annotation tool than NCBI.
+\subsection{Genomes Samples}
+In this research, we retrieved 107 genomes of Chloroplasts from NCBI where 9 genomes considered as not good. These 99 genomes lies in the 11 types of chloroplast families, divided as 11 for Algues Brunes, 3 Algue Rouges, 17 Algues Vertes, 45 Angiospermes, 3 Brypoytes, 2 Dinoflagelles, 2 Euglenes, 5 Filicophytes, 7 Gymnosperms, 2 Lycophytes, and 1 Haptophytes, as show in Table 1.
+\begin{figure}[H]
+\caption{Sample Genomes with its Families}
+ \centering
+ \includegraphics[width=0.7\textwidth]{image1}
+\end{figure}
+\begin{figure}[H]
+ \centering
+ \includegraphics[width=0.7\textwidth]{image2}
+\end{figure}
+
\subsection{Gene Extraction Techniques from annotated NCBI genomes}
-With NCBI, the idea is to use the existing annotations of NCBI for chloroplast genomes to extract the core and pan genome. Techniques used here is by using Gene name and Gene contents based on some similarity issues.
+With NCBI, the idea is to use the existing annotations of NCBI with chloroplast genomes. To extract the core and pan genes: Core extraction techniques with NCBI are based on two techniques: Gene count and Gene contents based on some similarity issues.
+
+\subsubsection{Core genes based on NCBI Gene names and Counts}
+The trivial and simple idea to construct the core genome is based on the extraction of Genes names (as gene presence or absence). For instant, in this stage neither sequence comparison nor new annotation were made, we just want to extract all gene counts stored in each chloroplast genome then find the intersection core genes based on gene names.\\
+
+\textbf{Step I: pre-processing}\\
+The objective from this step is to organize, solve genes duplications, and generate sets of genes for each genome. The input to the system is a list genomes from NCBI stored as a \textit{.fasta} file that include a collection of coding genes\cite{parra2007cegma}(genes that produce protein) with its coding sequences.
+As a preparation step to achieve the set of core genes, we need to translate these genomes and extracting all information needed to find the core genes. This is not an easy job. The output from this operation is a lists of genes stored in a local database for genomes, their genes names and genes counts. In this stage, we will accumulate some Gene duplications with each genome treated. In other words, duplication in gene name can comes from genes fragments as long as chloroplast DNA sequences. Identical state, which it is the state that each gene present only one time in a genome (i.e Gene has no copy) without considering the position or gene orientation can be reached by filtering the database from redundant gene name. To do this, we have two solutions: first, we made an orthography checking. Orthography checking is used to merge fragments of a gene to be one gene so that we can solve a duplication.
+Second, we convert the list of genes names for each genome (i.e. after orthography check) in the database to be a set of genes names. Mathematically speaking, if $g=\left[g_1,g_2,g_3,g_1,g_3,g_4\right]$ is a list of genes names, by using the definition of a set in mathematics, we will have $set(g)=\{g_1,g_2,g_3,g_4\}$, where each gene represented only ones. With NCBI genomes, we do not have a problem of genes fragments because they already treated it, but there are a problem of genes orthography. This can generate the problem of gene lost in our method and effect in turn the core genes.
+The whole process of extracting core genome based on genes names and counts among genomes is illustrate in Figure 3.
+
+\begin{figure}[H]
+\caption{Extracting Core genome based on Gene Counts}
+ \centering
+ \includegraphics[width=0.7\textwidth]{NCBI_GeneName}
+\end{figure}
+
+\textbf{Step II: Gene Intersection}\\
+The main objective of this step is try to find best core genes from sets of genes in the database. The idea for finding core genes is to collect in each iteration the maximum number of common genes. To do this, the system build an intersection core matrix(ICM). ICM here is a two dimensional symmetric matrix where each row and column represent the list of genomes in the local database. Each position in ICM stores the \textit{intersection scores}. Intersection Score(IS), is the score by intersect in each iteration two sets of genes for two different genomes in the database. Taking maximum score from each row and then taking the maximum of them will result to draw the two genomes with their maximum core. Then, the system remove these two genomes from ICM and add the core of them under a specific name to ICM for the calculation in next iteration. The core genes generated with its set of genes will store in a database for reused in the future. this process repeat until all genomes treated. If maximum intersection core(MIC) equal to 0, the system will avoid this intersection operation and ignore the genome that smash the maximum core genes.\\
+We observe that ICM will result to be very large because of the huge amount of data that it stores. In addition, this will results to be time and memory consuming for calculating the intersection scores by using just genes names. To increase the speed of calculations, we can calculate the upper triangle scores only and exclude diagonal scores. This will reduce whole processing time and memory to half. The time complexity for this process after enhancement changed from $O(n^2)$ to $O((n-1)\log{n})$.\\
+The Algorithm of construction the matrix and extracting maximum core genes where illustrated in Algorithm 1. The output from this step is list of core genes with their lengths to be drawn in a tree.
-\subsubsection{Core genome based on NCBI Genes Names}
-Our simple idea to construct core genome is based on the extraction of Genes names from chloroplast genomes annotated by NCBI. For instant, in this stage neither sequence comparison nor new annotation were made, we just want to extract genes names as stored in each chloroplast genome in NCBI.
-By built a dictionary of genes names of each genome, from collection process, we consider a number of duplications in each genome, in other words, name duplication comes from genes fragments a long chloroplast DNA sequences. To achieve core genome, we need to reach the identical state, without regard to the position or gene orientation, where each gene has only one name. To filter the dictionary from gene name duplications, we change the list of genes names of each genome to be a set of genes names. By using the concept and the definition of a set in mathematics, we remove all the duplications and reach the identical state. \\
-By using the intersection among these genomes
+\begin{algorithm}[H]
+\caption{Extract Maximum Intersection Score}
+\begin{algorithmic}
+\REQUIRE $L \leftarrow sets of genomes genes$
+\ENSURE $B1 \leftarrow Max core$
+\FOR{$i \leftarrow 0:len(L)-1$}
+ \STATE $core1 \leftarrow set(GenomeList[L[i]])$
+ \STATE $score1 \leftarrow 0$
+ \STATE $g1,g2 \leftarrow ''$
+ \FOR{$j \leftarrow i+1:len(L)$}
+ \STATE $core2 \leftarrow set(GenomeList[L[i]])$
+ \IF{$i < j$}
+ \STATE $Core \leftarrow core1 \cap core2$
+ \IF{$len(Core) > score1$}
+ \STATE $g1 \leftarrow L[i]$
+ \STATE $g2 \leftarrow L[j]$
+ \STATE $Score \leftarrow len(Core)$
+ \ELSIF{$len(Core) == 0$}
+ \STATE $g1 \leftarrow L[i]$
+ \STATE $g2 \leftarrow L[j]$
+ \STATE $Score \leftarrow -1$
+ \ENDIF
+ \ENDIF
+ \ENDFOR
+ \STATE $B1[score1] \leftarrow (g1,g2)$
+\ENDFOR
+\RETURN $B1$
+\end{algorithmic}
+\end{algorithm}
-\subsubsection{Extracting Core genes from NCBI annotations}
+In this algorithm, \textit{GenomeList} represents the database.
-\subsection{Dogma Annotation tool}
+\textbf{Step III: Draw the Tree}\\
+The main drawback from this method is that we can not depending only on genes names because of three causes: first, the genome may have not totally named, so we will have some lost sequences. Second, may we have two genes sharing the same name, while their sequences are different. Third, we need to annotate 99 genomes.
-\subsubsection{Why Dogma?}
+\subsubsection{Extracting Core genome from NCBI gene contents}
+
+
+\subsection{Core genes from Dogma Annotation tool}
+
+
+\subsubsection{Core genes based on Genes names and count}
+
+\begin{figure}[H]
+\caption{Extracting Core genome based on Gene Name}
+ \centering
+ \includegraphics[width=0.7\textwidth]{Dogma_GeneName}
+\end{figure}
+
+
+\subsubsection{Core genome from Dogma gene contents}
+
+\begin{figure}[H]
+\caption{Extracting Core genome based on Gene Name}
+ \centering
+ \includegraphics[width=0.7\textwidth]{Dogma_GeneContent}
+\end{figure}
DOI={10.1089/cmb.2010.0092}
}
+@article{parra2007cegma,
+ title={CEGMA: a pipeline to accurately annotate core genes in eukaryotic genomes},
+ author={Parra, Genis and Bradnam, Keith and Korf, Ian},
+ journal={Bioinformatics},
+ volume={23},
+ number={9},
+ pages={1061--1067},
+ year={2007},
+ publisher={Oxford Univ Press}
+}
+
+@article{parra2000geneid,
+ title={Geneid in drosophila},
+ author={Parra, Gen{\'\i}s and Blanco, Enrique and Guig{\'o}, Roderic},
+ journal={Genome research},
+ volume={10},
+ number={4},
+ pages={511--515},
+ year={2000},
+ publisher={Cold Spring Harbor Lab}
+}
+
+@article{birney2004genewise,
+ title={GeneWise and genomewise},
+ author={Birney, Ewan and Clamp, Michele and Durbin, Richard},
+ journal={Genome research},
+ volume={14},
+ number={5},
+ pages={988--995},
+ year={2004},
+ publisher={Cold Spring Harbor Lab}
+}
@incollection{FI09,
year={2009},
isbn={978-3-642-04743-5},