Dynamic Programming
description
Transcript of Dynamic Programming
![Page 1: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/1.jpg)
Dynamic Programming
How to match up sequences and have the matches make sense
and be quantitative
![Page 2: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/2.jpg)
Question is
• How does a specific sequence compare to one other specific sequence?– Is it similar?– If so, at what level?
• Can’t compare every base to every other base--to complex
![Page 3: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/3.jpg)
You are in the driver’s seat
• What is the most important?– Exact nucleotide match?– One-for-one (no gaps)?– Length
![Page 4: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/4.jpg)
Mathematical model
• Derive equation for each position, based on your value system
• Methodically go through each base for each sequence and calculate the value
• At the end, find the optimal path
![Page 5: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/5.jpg)
Starting point: three possible scenarios for each position in
sequences X and Y• At a given position, the bases (Xm and Yn)
are identical in X and Y• At a given position, the base (Xm) in X is
aligned with a gap in Y (and Yn appeared earlier)
• At a given position, the base in Y is aligned with a gap in X (and Xm appeared earlier)
![Page 6: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/6.jpg)
Assign a value to each situation
• Identical: +5• Mismatch: -2• Insertion or deletion: -6
(Could have others; could choose different values)
![Page 7: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/7.jpg)
![Page 8: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/8.jpg)
http://www.acm.org/crossroads/xrds13-1/dna.html
![Page 9: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/9.jpg)
![Page 10: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/10.jpg)
![Page 11: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/11.jpg)
![Page 12: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/12.jpg)
![Page 13: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/13.jpg)
Alpha-glucosidase in plants:
Enzymes sharing WIDMNE signature sequence
alpha-glucosidase (all groups)alpha-xylosidase (plant, bacteria, archaea)Sucrase/Isomaltase (animal)
Related sequences with broad substrate specificity
![Page 14: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/14.jpg)
![Page 15: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/15.jpg)
0.1
Tp GAA
Bh BAB0442
Bt Aglu-III
Ss xylS
Lp XylQTm
AAD3539
Aa GlcA
Sc CAB8890
Ce AAA8317
Lv GAA
Hs S/I-C
Hs S/I-N
Cj GAAI
Cj GAAII
Hs GAA
Hv Aglu
At Aglu-1
Bv AgluSo Aglu
Pp BAB3946
St MAL2
AtXYL1
TmXYL
MjAglu Pt Aglu
Sp Aglu
Anig aglA
An AgdA
Ca GAM1
Soc GAM1
An agdB
Fungi
Protista
Bacteria
Plantae
Animalia
Archaea
![Page 16: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/16.jpg)
![Page 17: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/17.jpg)
Plant -amylases are located in different cellular compartments
Plastids (chloroplasts, amyloplasts)CytosolApoplast (cell wall space)
What is the function of the non-plastid forms?
![Page 18: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/18.jpg)
dodder
adzuki bean
morning glory
rice 2Abarley A
barley B
rice 3B
maize
rice 3E
rice XP_472377
cassava
apple 9
apple 8
potato plantain
rice NP_916641
kiwifruit
apple 10
Clade ISecreted
421-445 aa
Clade IICytosolic
407-414 aaClade IIIPlastidic
877-906 aa
Arabidopsis AMY1
Arabidopsis AMY2
Arabidopsis AMY3
![Page 19: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/19.jpg)
Homologous sequences (homologues)Share a common ancestor
ParalogsHomologues derived by gene duplicationFunctions may varyLook for differences
OrthologsHomologues derived by speciationCommon functionLook for similarities
![Page 20: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/20.jpg)
Use alignments to look for:
• Structures important for common functions (orthologs)
• Structures important for unique functions (paralogs)
• Unusual structures
![Page 21: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/21.jpg)
N C
AtAMY1
AMY1 has a three amino acid deletion
3
![Page 22: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/22.jpg)
Red: NHDTGST Blue: VAEIW
Barley -amylase
Active site residues
![Page 23: Dynamic Programming](https://reader035.fdocuments.us/reader035/viewer/2022062816/56814cfd550346895dba1be6/html5/thumbnails/23.jpg)
Variation in the active site loop among plant and bacterial -amylases
AtAMY1