Title: Eukaryotic Gene Finding with GlimmerHMM
1 Eukaryotic Gene Finding with GlimmerHMM
- Mihaela Pertea
- Assistant Research Scientist
- CBCB
2Outline
- Brief overview of the eukaryotic gene finding
problem - GlimmerHMM architecture signal sensors, coding
statistics, GHMMs - Training GlimmerHMM
- GlimmerHMM results
3Eukaryotic Gene Finding Goals
- Given an uncharacterized DNA sequence, find out
- Which regions code for proteins?
- Which DNA strand is used to encode each gene?
- Where does the gene starts and ends?
- Where are the exon-intron boundaries in
eukaryotes? - Overall accuracy usually below 50
4The Problem
Given a string S over the alphabet A,C,G,T,
find the optimal parse of S (with respect to
some coding score function) Ss1,s2,,sn Here,
si represents a coding or a non-coding
subsequence of S.
5Gene Finding Different Approaches
- Similarity-based methods. These use similarity to
annotated sequences like proteins, cDNAs, or ESTs
(e.g. Procrustes, GeneWise). - Ab initio gene-finding. These dont use external
evidence to predict sequence structure (e.g.
GlimmerHMM, GeneZilla, Genscan, SNAP). - Comparative (homology) based gene finders. These
align genomic sequences from different species
and use the alignments to guide the gene
predictions (e.g. TWAIN, SLAM, TWINSCAN, SGP-2). - Integrated approaches. These combine multiple
forms of evidence, such as the predictions of
other gene finders (e.g. Jigsaw, EuGène, Gaze)
6Why ab-initio gene prediction?
Ab initio gene finders can predict novel genes
not clearly homologous to any previously known
gene.
7Eukaryotic Gene Finding with Parse Graphs
- Build a parse graph. A parse graph represents all
(or all high-scoring) open reading frames. Each
vertex is a signal and each edge is a feature
such as an exon or intron. Coding statistics and
signal sensors are integrated in a mathematical
gene model using machine learning techniques
HMMs/GHMMs, decision trees, neural networks, etc.
- Find highest-scoring path through the parse
graph, usually using dynamic programming to
efficiently enumerate all possible parses, score
them, and choose the maximal scoring one. - Whereas most gene-finders give only the
highest-scoring gene model, GlimmerHMMs parse
graph can be used to explore the sub-optimal gene
models. When GlimmerHMMs prediction is not
exactly correct, the true gene model is often one
of the top few sub-optimal parses.
8Signal Sensors
Signals short sequence patterns in the genomic
DNA that are recognized by the cellular machinery.
9Efficient Decoding via Signal Sensors
sensor n
. . .
ATGs
. . .
insert into type-specific signal queues
signal queues
sensor 2
GTS
sensor 1
AGs
sequence
GCTATCGATTCTCTAATCGTCTATCGATCGTGGTATCGTACGTTCATTAC
TGACT...
detect putative signals during left-to-right pass
over squence
trellis links
...ATG.........ATG......ATG..................GT
newly detected signal
elements of the ATG queue
10The Notion of Eclipsing
ATGGATGCTACTTGACGTACTTAACTTACCGATCTCT
0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2
0 1 2 0 1 2 0 1 2 0 1 2 0 1 2 0
in-frame stop codon!
11Identifying Signals In DNA with a Signal Sensor
We slide a fixed-length model or window along
the DNA and evaluate score(signal) at each point
Signal sensor
ACTGATGCGCGATTAGAGTCATGGCGATGCATCTAGCTAGCTATATCGC
GTAGCTAGCTAGCTGATCTACTATCGTAGC
When the score is greater than some threshold
(determined empirically to result in a desired
sensitivity), we remember this position as being
the potential site of a signal. The most common
signal sensor is the Weight Matrix
A 100
A 31 T 28 C 21 G 20
T 100
G 100
A 18 T 32 C 24 G 26
A 19 T 20 C 29 G 32
A 24 T 18 C 26 G 32
12Signal Sensors in GlimmerHMM
- Given a signal X of fixed length ?, estimate the
distributions - p(X) the probability that X is a signal
- p-(X) the probability that X is not a signal
- Compute the score of the signal
13Start and stop codon scoring
Score all potential start/stop codons within a
window of length 19.
CATCCACCATGGAGAA
CCACCATGG
(WAM model or inhomogeneous Markov model)
14Splice site prediction
16bp
24bp
- The splice site score is a combination of
- first or second order inhomogeneous Markov
models on windows around the acceptor and donor
sites - MDD decision trees
- longer Markov models to capture difference
between coding and non-coding on opposite sides
of site (optional) - maximal splice site score within 60 bp (optional)
15Codong-noncoding Boundaries
A key observation regarding splice sites and
start and stop codons is that all of these
signals delimit the boundaries between coding and
noncoding regions within genes (although the
situation becomes more complex in the case of
alternative splicing). One might therefore
consider weighting a signal score by some
function of the scores produced by the coding and
noncoding content sensors applied to the regions
immediately 5? and 3? of the putative signal
16Local Optimality Criterion
When identifying putative signals in DNA, we may
choose to completely ignore low-scoring
candidates in the vicinity of higher-scoring
candidates. The purpose of the local optimality
criterion is to apply such a weighting in cases
where two putative signals are very close
together, with the chosen weight being 0 for the
lower-scoring signal and 1 for the higher-scoring
one.
17Maximal Dependence Decomposition (MDD)
Rather than using one weight array matrix for all
splice sites, MDD differentiates between splice
sites in the training set based on the bases
around the AG/GT consensus
(Arabidopsis thaliana MDD trees)
Each leaf has a different WAM trained from a
different subset of splice sites. The tree is
induced empirically for each genome.
18MDD splitting criterion
MDD uses the ?2 measure between the variable Ki
representing the consensus at position i in the
sequence and the variable Nj which indicates the
nucleotide at position j where Ox,y is the
observed count of the event that Ki x and Nj y,
and Ex,y is the value of this count expected
under the null hypothesis that Ki and Nj are
independent. Split if ,
for the cuttof P0.001, 3df.
19Splice Site Scoring
Donor/Acceptor sites at location k DS(k)
Scomb(k,16) (Scod(k-80)-Snc(k-80))
(Snc(k2)-Scod(k2)) AS(k) Scomb(k,24)
(Snc(k-80)-Scod(k-80)) (Scod(k2)-Snc(k2)) Sc
omb(k,i) score computed by the Markov model/MDD
method using window of i bases Scod/nc(j) score
of coding/noncoding Markov model for 80bp window
starting at j
20Trade-off between False-Positive Rates and
False-Negative Rates
Arabidopsis thaliana data
21Coding Statistics
- Unequal usage of codons in the coding regions is
a universal feature of the genomes - We can use this feature to differentiate between
coding and non-coding regions of the genome - Coding statistics - a function that for a given
DNA sequence computes a likelihood that the
sequence is coding for a protein - Many different ones ( codon usage, hexamer
usage,GC content, Markov chains, IMM, ICM.)
223-periodic ICMs
A three-periodic ICM uses three ICMs in
succession to evaluate the different codon
positions, which have different statistics
PCM0
PGM1
PAM2
ICM0
ICM1
ICM2
ATC GAT CGA TCA GCT TAT CGC ATC
The three ICMs correspond to the three phases.
Every base is evaluated in every phase, and the
score for a given stretch of (putative) coding
DNA is obtained by multiplying the phase-specific
probabilities in a mod 3 fashion
GlimmerHMM uses 3-periodic ICMs for coding and
homogeneous (non-periodic) ICMs for noncoding DNA.
23The Advantages of Periodicity and Interpolation
24HMMs and Gene Structure
- Nucleotides A,C,G,T are the observables
- Different states generate nucleotides at
different frequencies - A simple HMM for unspliced genes
- AAAGC ATG CAT TTA ACG AGA GCA CAA GGG CTC TAA
TGCCG - The sequence of states is an annotation of the
generated string each nucleotide is generated
in intergenic, start/stop, coding state
25Recall Pure HMMs
- An HMM is a stochastic machine M(Q, ?, Pt, Pe)
consisting of the following - a finite set of states, Qq0, q1, ... , qm
- a finite alphabet ? s0, s1, ... , sn
- a transition distribution Pt QQ 0,1
i.e., Pt (qj qi) - an emission distribution Pe Q? 0,1
i.e., Pe (sj qi)
An Example
5
M1(q0,q1,q2,Y,R,Pt,Pe) Pt(q0,q1,1),
(q1,q1,0.8), (q1,q2,0.15), (q1,q0,0.05),
(q2,q2,0.7), (q2,q1,0.3) Pe(q1,Y,1),
(q1,R,0), (q2,Y,0), (q2,R,1)
15
Y0 R 100 q2
R0 Y 100 q1
q 0
80
30
70
100
26HMMs Geometric Feature Lengths
geometric distribution
geometric
exon length
27Lengths Distribution in Human
Feature lengths were computed for Human
chromosome 22 with RefSeq annotation (as of July
2005).
28Generalized Hidden Markov Models
29Generalized HMMs
- A GHMM is a stochastic machine M(Q, ?, Pt, Pe,
Pd) consisting of the following - a finite set of states, Qq0, q1, ... , qm
- a finite alphabet ? s0, s1, ... , sn
- a transition distribution Pt QQ 0,1
i.e., Pt (qj qi) - an emission distribution Pe Q? N 0,1
i.e., Pe (sj qi,dj) - a duration distribution Pe Q N 0,1 i.e.,
Pd (dj qi)
Key Differences
- each state now emits an entire subsequence
rather than just one symbol - feature lengths are now explicitly modeled,
rather than implicitly geometric - emission probabilities can now be modeled by any
arbitrary probabilistic model - there tend to be far fewer states gt simplicity
ease of modification
Ref Kulp D, Haussler D, Reese M, Eeckman F
(1996) A generalized hidden Markov model for the
recognition of human genes in DNA. ISMB '96.
30Recall Decoding with an HMM
emission prob.
transition prob.
31Decoding with a GHMM
emission prob.
duration prob.
transition prob.
32Gene Prediction with a GHMM
Given a sequence S, we would like to determine
the parse ? of that sequence which segments the
DNA into the most likely exon/intron structure
The parse ? consists of the coordinates of the
predicted exons, and corresponds to the precise
sequence of states during the operation of the
GHMM (and their duration, which equals the number
of symbols each state emits). This is the same as
in an HMM except that in the HMM each state emits
bases with fixed probability, whereas in the GHMM
each state emits an entire feature such as an
exon or intron.
33GHMMs Summary
- GHMMs generalize HMMs by allowing each state to
emit a subsequence rather than just a single
symbol - Whereas HMMs model all feature lengths using a
geometric distribution, coding features can be
modeled using an arbitrary length distribution in
a GHMM - Emission models within a GHMM can be any
arbitrary probabilistic model (submodel
abstraction), such as a neural network or
decision tree - GHMMs tend to have many fewer states gt
simplicity modularity
34 GlimmerHMM architecture
Exon1
Exon2
I1
I2
Term Exon
Intergenic
- Uses GHMM to model gene structure (explicit
length modeling) - WAM and MDD for splice sites
- ICMs for exons, introns and intergenic regions
- Different model parameters for regions with
different GC content - Can emit a graph of high-scoring ORFS
Exon Sngl
Init Exon
I2
I1
I0
Exon2
Exon1
Exon0
35Training the Gene Finder
?(Pt ,Pe ,Pd)
36Training for GHMMs
construct a histogram of observed feature lengths
estimate via labeled training data
estimate via labeled training data
37Need of training organism specific gene finders
38Gene Finding in the Dark Dealing with Small
Sample Sizes
- parameter mismatching train on a close relative
- use a comparative GF trained on a close relative
- use BLAST to find conserved genes curate them,
use as training set - augment training set with genes from related
organisms, use weighting - manufacture artificial training data
- long ORFs
- be sensitive to sample sizes during training by
reducing the number of parameters (to reduce
overtraining) - fewer states (1 vs. 4 exon states,
intronintergenic) - lower-order models
- pseudocounts
- smoothing (esp. for length distributions)
39G (1000 genes)
SLOP
train (800)
test (200)
SLOP Separate Local Optimization of Parameters
donors
acceptors
starts
stops
exons
train-model
train-model
introns
train-model
intergenic
train-model
train-model
train-model
evaluation
train-model
reported accuracy
model files
40T (1000 genes)
GRAPE
unseen (1000)
train (800)
test (200)
GRAPE GRadient Ascent Parameter Estimation
peeking
MLE
control parms
gradient ascent
model files
accuracy
evaluation
final evaluation
reported accuracy
final model files
41Evaluation of Gene Finding Programs
- Nucleotide level accuracy
TN
FP
FN
TN
TN
TP
FN
TP
FN
REALITY
PREDICTION
Sensitivity
Specificity
42More Measures of Prediction Accuracy
MISSING EXON
WRONGEXON
CORRECTEXON
REALITY
PREDICTION
43GlimmerHMM on human data
GlimmerHMMs performace compared to Genscan on
963 human RefSeq genes selected randomly from all
24 chromosomes, non-overlapping with the training
set. The test set contains 1000 bp of
untranslated sequence on either side (5' or 3')
of the coding portion of each gene.
44GlimmerHMM on other species
GlimmerHMM is also trained on Aspergillus
fumigatus, Entamoeba histolytica, Toxoplasma
gondii, Brugia malayi, Trichomonas vaginalis, and
many others.
45GlimmerHMM is a high-performance ab initio gene
finder
Arabidopsis thaliana test results
- All three programs were tested on a test data set
of 809 genes, which did not overlap with the
training data set of GlimmerHMM. - All genes were confirmed by full-length
Arabidopsis cDNAs and carefully inspected to
remove homologues.
46(No Transcript)