Skip to main content

Alignment Insertion/Deletion Display Options

The Genome Browser offers several ways to highlight gaps in alignments of query sequences (usually transcripts) to the genome. Gaps result from sequences in the genome or query (or both) that cannot be aligned.

Legend

Details

When zoomed out past the base level, the browser chooses one color to represent many bases. The priority of display, from most important to least important, is: different mRNA base/nonsynonymous codon coloring (if enabled) or different item bases (if enabled), unalignable query sequence (orange or purple), an insertion in both genome and query (double horizontal line), and a poly-A tail (green). The browser will not display genomic/mRNA codon coloring when viewing large regions of the genome.

Interpretation of Display

Gaps are usually due to a deletion or insertion in one or both sequences, or, infrequently, a problem in the sequencing. Often, the genome will have a large "insertion" relative to a query (single horizontal line) that is actually an intron. Double-sided insertions (double horizontal line) are unusual and may indicate an assembly error, sequencing error, or polymorphism.

Unalignable query sequence in the middle of a query (orange) implies extra bases in the transcript sequence or missing bases in the genome sequence. Insertions at the beginning or end of a query (purple), implies a partial alignment of the query. For instance, a very short sequence next to large intron gap may be incorrectly aligned. Unalignable query sequence may also be due to polymorphisms.

Poly-T heads result from queries that are the reverse complement of the genomic sequence. Poly-A tails and poly-T heads (green) of mRNAs usually can not be aligned to the genome; this is a special case of an unalignable query sequence.

Examples: mismatch, insertion, gap in both sequences and unaligned end

Four kinds of marks show where a query sequence, for example a BLAT result or an mRNA, differs from the genome. The mismatch marks appear when the track is set to show different bases (Color track by bases), the other three when the insertion options above are on. Hold the mouse over a mark to see what it is, with its color in brackets.

MarkMeaning
| red Mismatch: one aligned base of the query differs from the genome. When zoomed out, several mismatches can share one red line.
3 orange number Insertion in the query: this many query bases have no counterpart in the genome at this point.
| purple Unaligned end: bases at the start or end of the query are not aligned to the genome.
= double line Gap in both sequences: between two aligned blocks, both the genome and the query have bases that do not align to each other.

Mismatch (red). The query and the genome are aligned base by base, and one base differs. The alignment continues on both sides.

genome  ACGTTGCAGTCAGGTCA
query   ACGTTGCAATCAGGTCA
                ^ red line here

Insertion in the query (orange). The query has three bases, GGG, that the genome does not have. The browser draws an orange "3" at the point where they would go.

genome  ACGTTGCA---TCAGGTCA
query   ACGTTGCAGGGTCAGGTCA
                ^ orange "3" here

Gap in both sequences (double line). Between two aligned blocks, the genome has five bases, CTAGC, and the query has four, GATT, that do not align to each other. The browser draws a double line between the blocks. The mouseover gives both sizes: 5 bases in the genome and 4 in the query. This is usually a short region with many differences, and less often an assembly or sequencing error. On chain tracks, a gap whose genome side is more than five times longer than the other side is drawn as a single line instead.

genome  ACGTTGCACTAGCTCAGGTCA
query   ACGTTGCAGATT-TCAGGTCA
                ^^^^^ double line here

Unaligned end (purple). The last two bases of the query, TT, differ from the genome. Because they are at the very end, the aligner does not align them as mismatches: an alignment that ended in two mismatches would score lower than one that stops before them. So the alignment stops after the last matching base, and the browser draws a purple line there.

genome  ACGTTGCAGTCAGGTCA
query   ACGTTGCAGTCAGGTTT
                       ^ purple line here, TT is not aligned

A short difference at the start or end of a sequence cannot be distinguished from a base difference. In the last example the two bases are simply mismatches, but they are shown in purple, as an unaligned end, not in red. A purple line on its own does not tell you whether the end of the query is a few changed bases, a sequencing error at the end of a read, adapter or vector sequence, or a real part of the query that belongs somewhere else in the genome. The mouseover gives the number of unaligned bases. When it is only a few bases, they are most likely mismatches. When it is many, look at where the rest of the query aligns. To see the bases themselves, click the item and open the alignment: aligned bases are colored blue, and the unaligned end is shown in black.

The same applies to the start of the query. A difference in the first one or two bases is shown as a purple line at the start of the alignment, not as a red mismatch.

For information about mRNA codon and base coloring, click here. For information about EST base coloring, click here.