global alignment with affine gap penalties
play

Global Alignment with Affine Gap Penalties Jocelyn Hansson - PowerPoint PPT Presentation

Global Alignment with Affine Gap Penalties Jocelyn Hansson Constant vs. Affine Gap Penalties Mutations: GATCTAAAAAAAAAAGATCTA GATCTGATCTA GATCCAG GATCCAG GACAG GACAG 2 penalties:


  1. Global Alignment with Affine Gap Penalties Jocelyn Hansson

  2. Constant vs. Affine Gap Penalties Mutations: ● GATCTAAAAAAAAAAGATCTA GATCT––––––––––––GATCTA GATCCAG GATCCAG GA–C–AG GA––CAG 2 penalties: ● σ : gap opening penalty ○ ε : gap extension penalty ○

  3. Constant vs Affine Gap Penalties Rhesus monkey DNA vs mRNA: mRNA with constant gap penalties: DNA: mRNA with affine gap penalties: ATGGAGGGCGAGCTCGCAGCCAACTGGAGCACCGAGGCAGTCAACTCCAG ATGGAGGGCGAGCTCGCAGCCAACTGGAGCACCGAGGCAGTCAACTCCA ATGGAGGGCGAGCTCGCAGCCAACTGGAGCACCGAGGCAGTCAA CGCCGCGCCGCCGGGGGCAGAGGGCAACTGCACCGCCGGACCCCCGCGG GCGCCGCGCCGCCGGGGGC------C----G-A--G--GG-C-----------AAC-------TG- CTCCAGCGCCGCGCCGCCGGGGGCCGAGGGCAACTGCACCGCC CGCAACGAGGCCCTGGCGCGCGTGGAGGTGGCGGTGCTCTGTCTCATCCT C--------A-----C----C---G-C-C-----G-----G------A-C-------C-------C--C---CGC-G-GC- GGACCCCCGCGGCGCAACGAGGCCCTGGCGCGCGTGGAGGTGG GTTTCTGGCGCTGAGCGGGAATGCGTGTGTGCTGCTGGCGCTGCGCACCA ----GC---A-A--C----G---------------A-G--GC-CCTG-GC---GC-G-C--G-TGG----AG-- CGGTGCTCTGTCTCATCCTGTTTCTGGCGCTGAGCGGGAATGCGT CGCGCCACAAGCACTCGCGCCTCTTCTTCTTCATGAAGCACCTGAGCATCG -----G-TG--GC-G--GT-GCT------C-T--------G-T-CT-C-------A--T-C----C----TG-T---- GTGTGCTGCTGGCGCTGCGCACCACGCGCCACAAGCACTCGCGC CCGACCTGGTGGTGGCAGTCTTCCAGGTGCTGCCGCAGTTGCTGTGGGAC T--T--C---TGG----C--G--C---T----------G-----A-----G-C---GG---G----------A------A--- CTCTTCTTCTTCATGAAGCACCTGAGCATCGCCGACCTGGTGGTG ATCACCTTCCGCTTCTACGGGCCCGACCTGCTGTGCCGCCTGGTCAAGTAC --TGCG-T-G-TG-------------------TG-C--TGCT-G----G---C--G-CTGC--G----C-A-C- GCAGTCTTCCAGGTGCTGCCGCAGTTGCTGTGGGACATCACCTTC TTGCAGGTGGTGGGCATGTTCGCCTCCACCTACCTGCTGCTACTCATGTCC C-----A----C-------------GCGC-------C--AC----------A----------------A----GC-------AC--- CGCTTCTACGGGCCCGACCTGCTGTGCCGTCTGGTCAAGTACTT CTGGACCGCTGCCTGGCCATCTGCCAGCCGCTGCGCTCGCTGCGCCGCCG -----T-C-----G-----C--GC---CT--CT---TC-T-----TC-T--T-C------------ATG-----A--AG GCAGGTGGTGGGCATGTTCGCCTCCACCTACCTGCTGCTACTCAT CACGGACCGCCTGGCAGTGCTCGCCACGTGGCTCGGCTGCCTGGTGGCCA C---A----C---C----T--G------A-G-C------A--T-CG-C--C-GA--C-C----------------TGG-- GTCCCTGGACCGCTGCCTGGCCATCTGCCAGCCGCTGCGCTCGC GCGCGCCGCAGGTGCACATCTTCTCTCTGCGCGAGGTGGCTGACGGCGTC -TGG--------TGGC------A-GT--C-------T-----TC--C---A-GG------T--GC----T---G---- TGCGCCGCCGCACGGACCGCCTGGCAGTGCTCGCCACGTGGCT TTCGACTGCTGGGCCGTCTTCATCCAGCCCTGGGGACCCAAGGCCTACATC C---C------G--C--------A--GT-TGCTG------T---------G-G--GA-------C-------AT-C-A- CGGCTGCCTGGTGGCCAGCGCGCCGCAGGTGCACATCTTCTCTC ACGTGGATCACGCTAGCTGTCTACATCGTGCCGGTCATCGTGCTCGCTGCC C-C------------T---------T------CC--G----------C-T--T--CT-----ACG----------G--GCC-C TGCGCGAGGTGGCTGACGGCGTCTTCGACTGCTGGGCGGTCTTC TGCTATGGCCTTATCAGCTTCAAGATCTGGCAGAATTTGCGGCTCAAGACCG -GA----CC-----T----G--CT----G------T--G------------CC----G--TC--TG--------------G-- ATCCAGCCCTGGGGACCCAAGGCCTACATCACGTGGATCACGCT CTGCAGCTGCGGCGGCAGAGGCGCCAGAGGGCGCGGCGGCTGGCGATGG ----T--C--A----A------------G----T--ACTT--------G--------CA----GG-T----G--------GT-- AGCTGTCTACATCGTGCCGGTCATCGTGCTCGCTGCCTGCTATGG GGGGCGCATGGCCCTGGCACGTGTCAGCAGCGTCAAGCTCATCTCCAAGG --GGGCAT-G----------T-------T-C-G-------C-----C----TCC---------A------C--C-T-----A CCTTATCAGCTTCAAGATCTGGCAGAATTTGCGGCTCAAGACCGC CCAAGATCCGCACGGTCAAGATGACTTTCATCATCGTGCTGGCCTTCATCGT C--C--TG------C---T----G---CT--A-CT-C------A--TG-T---------------------------C-------- TGCAGCTGCGGCGGCAGAGGCGCCAGAGGGCGCGGCGGCTGG GTGCTGGACGCCTTTCTTCTTCGTGCAGATGTGGAGCGTCTGGGATGCCAA --------CC--TGG--A--C-C------------G--------C---T---GC----CT----------G-----G----CC CGATGGGGGGCGCATGGCCCTGGCACGTGTCAGCAGCGTCAAG CGCGCCCAAGGAAGGTAGCCAGGGCTGGGAGACCCAGGAGGAGGGAGCC AT------C-------T--G-------C-----CAGCC--GC-----TG--CG------C------------T----------- CTCATCTCCAAGGCCAAGATCCGCACGGTCAAGATGACTTTCATC TGGTGGCTGGGGGACGCCCTTATCTTGCTGCCTCAGAATGTCCAGGGGTCT ------C-G-----C------T-----G-------------C--------G--CC-------G----------------C-C---GC ATCGTGCTGGCCTTCATCGTGTGCTGGACACCTTTCTTCTTCGTG TTGGACTTCCTGGGGGGATAAGAGGGTTTGAAATCCCACAGAGTCACTGTT A------------C-G------G--------A--C---------------C---G--C-----CT---------------GG-------- CAGATGTGGAGCGTCTGGGATGCCAATGCGCCCAAGGA------------- CCATCATCCCTTGGCCAAGTGACTTAGGGCAATTAACCTCCCTGAGCCTCCA --------C----AG-------T----G-------------CT---------C-G----C------------C-----A----------C ---------------------------------------------------------------------------------------------- CTTTCTCATCTGTGAGGTGGCAATAAGGATAAAAGTACCAACTGTCACTGGG -G-TG-G--C-----T----------C----G---------G-C-TG--CC-------T-GG---------T-G--G---- ---------------------------------------------------------------------------------------------- CATAGGGGCAGGCCATGAGAAAATGCAGTTAAAGTCTTTAGCACAGTCCTTG C--C--AG--------C--G------C-G---C-C----G--C-------------A--GGTGC---------------A-- ---------------------------------------------------------------------------------------------- GGCTGCATATGGGCTGCATGGTTTACTGCGGTGGTGGAACAGGTTCAAGGG -CA----------------T-C-T-TC-T-C--T-C-----------T----G----C----G---------C-G-AGG--T -------------------------------AGCCTCGGCCTTCATCATCGTCATGCTCCT ACTCCATCTGCTTTCCCACGTGGTTAGGAGGAGGTAGTTAGGAGGAGATGG G---GCTG------A-------------------------------C------G-G--C-G--T-C-------TTC----G---- GGCCAGCCTCAACAGCTGCTGCAACCCCTGGATCTACATGCTGTT CAGAGGTAAGTTTGGAACCCCTGGCCAGGCTCAAACTCCTTCAAGTTTAAGT -A--------C-------T--GCT------------G-------G-----GC----G----------GT---C-TTCA----T- CACGGGTCACCTCTTCCACGAACTCGTGCAGCGCTTCCTGTGCTG TCACATTAAGCTGAACTTCCACTTTAAGTTCAAGAAATCCATTTGAAGCCAAG C-C--A---G---C---C-C-TG-----GGGA-----------C----CCA---------A----G---G----C---- CTCCGCCAGCTACCTAAAGGGCAACCGCCTAGGAGAGACAAGTA AAGTCTGGTTTGGACAAGGACAGCCTTGCAGGGGTGGGCGATTTGTCCAGC CT--------------A---CA-----TC-A--C------G-----T----G---G---A-T-----C---A----C---G-C CCAGCAAAAAGAGCAACTCGTCTTCCTTTGTCCTGAGCCATCGCA CAAGCCCCTAGTAGTTGAAGGGGGTGCTGGGGGGCAGAGGATTCCAAGGG --T----A-------------G--C-TGT----C---T----ACA--T--C-G------T----G--CC--G-G-------- GCTCCAGCCAGAGGAGCTGCTCCCAACCATCCACGGCATGACCT AGAGGTGAAGACAAATCCCCGAACCCCTCATCGAGTGGAGGTGATGAGTCT ----T--CA-----TC-----G----T--G--------CT--C-------G--C-----T------G-----C-C-TG------ ACCAGCCAGGGCCAGGGCTGCCTCCTGAGGTTCGGGCTGTGCTG CCATGCAGAGAGGTGAGTACTGCAAAAAGCGGTGGGCAGGCTTAGGGAGG ---------------C---------TA-T-G--G-C-CT---TA-----T----C-A-----G---C-T----T---C--AA GCATAAGTGGTCTGCCCCTAGGTGATGGCGTATGTT AGAGTGCCCAGGACTGAGACTTCACTTCTACTACTTGGGGA...... GA-------TC----T---G-G---C---AG-A--A--T-T--------TG---C--G-------

  4. Long edges in graph

  5. Alignment graph as 3 levels gap extension lower i-1,j - ε lower ij = max { upper Initialize gap middle i-1,j - σ (Insertions on string 1) lower (Insertions on string 2) gap extension upper i,j-1 - ε upper ij = max { Initialize gap middle i,j-1 - σ middle (matches/mismatches) ending gap on string 1 upper ij middle ij = max { match/mismatch middle i-1,j-1 + score ending gap on string 2 lower ij

  6. Backtracking Why you need 3 backtracking tables: tied scores Where you came from matters! ● This ended up in gaps being opened that were not penalized ● M L

  7. Making 3 backtrack tables Keep track of which move had highest score ● Tables: ‘L’ ‘M’ ‘U’ ● Set backtrack value to table you came from ● gap extension upper -> upper upper ij = max { Initialize gap middle -> upper ending gap on string 1 upper -> middle middle ij = max { match/mismatch middle -> middle ending gap on string 2 lower -> middle gap extension lower -> lower lower ij = max { Initialize gap middle -> lower

  8. Backtracking Start at end of middle table ● Keep track of what table you’re in with: table=‘M’ ● Change this value when you move to different tables ○ If table = ‘U’ and backtrack value = ‘M’ ● Add letter to alignment string 1 ○ Add ‘–’ to alignment string 2 ○ Change table value to ‘M’ ○ lower upper (Insertions on string 2) (Insertions on string 1) middle (matches/mismatches)

  9. Data OXTR gene ● Oxytocin receptor ○ Relevant for several social functions such as bonding and maternal behavior ■ Gene that may be relevant for Autism Spectrum Disorder (ASD) ■ Mouse models of ASD are frequently used ○ Comparing OXTR gene between humans, mice and other animals ● All data was found on NCBI.nlm.nih.gov ●

Recommend


More recommend