In molecular biology and genetics, DNA annotation or genome annotation is the process of describing the structure and function of the components of a genome, by analyzing and interpreting them in order to extract their biological significance and understand the biological processes in which they participate. Among other things, it identifies the locations of genes and all the coding regions in a genome and determines what those genes do. Annotation is performed after a genome is sequenced and assembled, and is a necessary step in genome analysis before the sequence is deposited in a database and described in a published article. Although describing individual genes and their products or functions is sufficient to consider this description as an annotation, the depth of analysis reported in literature for different genomes vary widely, with some reports including additional information that goes beyond a simple annotation. Furthermore, due to the size and complexity of sequenced genomes, DNA annotation is not performed manually, but is instead automated by computational means. However, the conclusions drawn from the obtained results require manual expert analysis. DNA annotation is classified into two categories: structural annotation, which identifies and demarcates elements in a genome, and functional annotation, which assigns functions to these elements. This is not the only way in which it has been categorized, as several alternatives, such as dimension-based and level-based classifications, have also been proposed.
History The first generation of genome annotators used local ab initio methods, which are based solely on the information that can be extracted from the DNA sequence on a local scale, that is, one open reading frame (ORF) at a time. They appeared as a necessity to handle the enormous amount of data produced by the Maxam-Gilbert and Sanger DNA sequencing techniques developed in the late 1970s. The first software used to analyze sequencing reads is the Staden Package, created by Rodger Staden in 1977. It performed several tasks related to annotation, such as base and codon counts. In fact, codon usage was the main strategy used by several early protein coding sequence (CDS) prediction methods, based on the assumption that the most translated regions in a genome contain codons with the most abundant corresponding tRNAs (the molecules responsible for carrying amino acids to the ribosome during protein synthesis) allowing a more efficient translation. This was also known to be the case for synonymous codons, which are often present in proteins expressed at a lower level. The advent of complete genomes in the 1990s (the first one being the genome of Haemophilus influenzae sequenced in 1995) introduced a second generation of annotators. Just like in the previous generation, they performed annotation through ab initio methods, but now applied on a genome-wide scale. Markov models are the driving force behind many algorithms used within annotators of this generation; these models can be thought of as directed graphs where nodes represent different genomic signals (such as transcription and translation start sites) connected by arrows representing the scanning of the sequence. To ensure a Markov model detects a genomic signal, it must first be trained on a series of known genomic signals. The output of Markov models in the context of annotation includes the probabilities of every kind of genomic element in every single part of the genome, and an accurate Markov model will assign high probabilities to correct annotations and low probabilities to the incorrect ones.
As more sequenced genomes began to be available in early and mid 2000s, coupled with the numerous protein sequences that were obtained experimentally, genome annotators began employing homology based methods, launching the third generation of genome annotation. These new methods allowed annotators not only to infer genomic elements through statistical means (as in previous generations) but could also perform their task by comparing the sequence being annotated with other already existing and validated sequences. These so-called combiner annotators, which perform both ab initio and homology-based annotation, require fast alignment algorithms to identify regions of homology. In the late 2000s, genome annotation shifted its attention towards identifying non-coding regions in DNA, which was achieved thanks to the appearance of methods to analyze transcription factor binding sites, DNA methylation sites, chromatin structure, and other RNA and regulatory region analysis techniques. Other genome annotators also began to focus on population-level studies represented by the pangenome; by doing so, for instance, annotation pipelines ensure that core genes of a clade are also found in new genomes of the same clade. Both annotation strategies constitute the fourth generation of genome annotators. By the 2010s, the genome sequences of more than a thousand-human individuals (through the 1000 Genomes Project) and several model organisms became available. As such, genome annotation remains a major challenge for scientists investigating the human and other genomes.
Structural annotation
Structural annotation describes the precise location of the different elements in a genome, such as open reading frames (ORFs), coding sequences (CDS), exons, introns, repeats, splice sites, regulatory motifs, start and stop codons, and promoters. The main steps of structural annotation are:
Repeat identification and masking. Evidence alignment (optional). Splice identification (only in eukaryotes). Feature prediction (coding and noncoding sequences).
Repeat identification and masking The first step of structural annotation consists in the identification and masking of repeats, which include low-complexity sequences (such as AGAGAGAG, or monopolymeric segments like TTTTTTTTT), and transposons (which are larger elements with several copies across the genome). Repeats are a major component of both prokaryotic and eukaryotic genomes; for instance, between 0% and over 42% of prokaryotic genomes consist of repeats and three quarters of the human genome are composed of repetitive elements. Identifying repeats is difficult for two main reasons: they are poorly conserved, and their boundaries are not clearly defined. Because of this, repeat libraries must be built for the genome of interest, which can be accomplished with one of the following methods:
… excerpt ends here. Continue reading the full article.

![DNA annotation: A visualization of Porphyra umbilicalis chloroplast genome annotation (GenBank accession: MF385003.1) made with Chloroplot.[1] The number of genes, the genome length, and the GC content are placed in the middle black circle. The outer gray circle shows GC content in the every section of the genome. All individual genes are placed on the outermost circle according to their position in the genome, their transcription direction and their length; they are color-coded based on the cellular function or component they are part of. Represented with arrows, the transcription directions for the inner and outer genes are listed clockwise and anticlockwise, respectively.](https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e2/Porphyra_umbilicalis_chloroplast_genome_visualized_with_Chloroplot.png/1280px-Porphyra_umbilicalis_chloroplast_genome_visualized_with_Chloroplot.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)


![DNA annotation: An example Gene Ontology (GO) ancestor chart organized as a directed acyclic graph taken from QuickGO.[39] It shows the molecular functions, biological processes, and cellular components in which the matrilin complex, a component of the extracellular matrix, is involved. Every box is an ontology term that falls into one of the three GO categories and is color-coded respectively. Ontology terms are related to each other through specific qualifiers (such as "is a", "part of", etc.), which are represented by different kinds of arrows.](https://thumb.wikimedia.org/wikipedia/commons/thumb/2/2b/Matrilin_Complex_GO_ancestor_chart.jpg/1280px-Matrilin_Complex_GO_ancestor_chart.jpg?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)
![DNA annotation: A snapshot of an annotated GBK file created with Prokka.[51] It shows the components (features) of a small portion of Candidatus Carsonella ruddii's genome, including their positions (structural annotation) and inferred functions (functional annotation).](https://thumb.wikimedia.org/wikipedia/commons/thumb/9/9f/GBK_File_Snapshot.svg/500px-GBK_File_Snapshot.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)