


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



































-^ FASTA Algorithm•^ FASTA
Algorithm
y^
g
-^ Derived from logic of the dot plot•^ Derived
from logic of the dot plot
g^
g
matches = faster searching
position
1 2 3 4
5 6 7 8
9 10 11
proteinA
n^ c^ s^ p
t^ a^.^.
.^.^.
proteinB
.^.^.^. .^ a^ c^ s
p^ r^ k position^ in^
offset
amino^ acid
protein
A^ protein
B^ pos
A^ -^ posB
amino^ acid
protein
A^ protein
B^ pos
A^ posB
-----------------------------------------------------a^
6
6
0
c^
2
7
k^
-^
11
n^
1
p^
4
9
r^
-^
10
r^
10
s^
3
8
t^
5
-----------------------------------------------------Note^ the
common^
offset^ for
the^3 amino
acids^ c,s
and^ p
A possible
alignment
is^ thus
quickly
found^ -
protein^
1 n^ c^ s^
p^ t^ a | | | |^ |^ | protein^
2 a^ c^ s^
p^ r^ k
3.^ Select top 10 scoring “local diagonals”ith
t h
d
i^
t h^
b t
with matches and mismatches but no gaps.4. Rescan top 10 diagonals (representingalignments), score with PAM250 (proteins)a g^
e ts), sco e w t
50 (p ote
s)
or DNA scoring matrix. Trim off the endsof the regions to achieve highest scoresof the regions to achieve highest scores.
5.^ After finding the best initial region,FASTA performs a DP global alignmentcentered on the best initial region.
g
M. jannaschii
were
assigned a function using sequence similarityassigned a function using sequence similarity(1997)
gy T^
ibili i^
h^ i
il^ i
i^ d
d
y^ y
G^ l^
id^
i^ l
f^ i f^
i
-^ Goal: to provide a universal measure for inferringhomologyH
diff^
t i^ th^
lt f^
d^
t h
not related
to the query (or a set
Given a set of sequences
not^ related
to^ the query (or a set
of random sequences), what is the probability of finding amatch with the same alignment score by chance?• Different statistical measures– p-value– E-value– z-score
: the probability that at least one sequence will produce the same score by chance• E-value
: expected number of sequences that will E value
:^ expected number of sequences that will produce same or better score by chance• z-score
: measures how much standard deviationsb th^
f th^
di t ib ti
above the mean of the score distribution
Analysis of coin tosses
-^ Let black circles indicate heads •^ Let p be the probability of a “head”– For a “fair” coin, p = 0.
, p
-^ Probability of 5 heads in a row is (1/2)^5=0.031•^ The expected number of times that 5H occurs in•^ The expected number of times that 5H occurs inabove 14 coin tosses is 10*0.031 = 0.
Analysis of coin tosses
-^ The expected number of a length
l^ run of heads in
n
tosses.
-^ What is the expected length
R^ of the longest match
in^ n^ tosses?in^ n^ tosses?
R
l R
log^ /^1
n R^
Example
R =log
-^ In other words: in 20 coin tosses we expect a run of heads of
p
length 4.32, once.• Trick is how to model DNA (or amino acid)
li^
t^
i^ t
sequence alignments as coin tosses.
Analysis of an alignment
-^ Probability of an individual match p = 0.05•^ Expected number of matches: 10x8x0.05 = 4Expected number of matches: 10x8x0.
4
-^ Expected number of two successive matches
10 8 0 05 0 05
0 2