SlideShare a Scribd company logo
MARYAM BIBI
FA12-BTY-011
TOPIC : DYNAMIC PROGRAMING
SUBJECT : BIOINFIRMATICS
Alignment
used to uncover homologies between sequences
combined with phylogenetic studies
can determine orthologous and paralogous
relationships
Global Alignments
compares one whole sequence with other entire
sequence
computationally expensive
Local Alignment
uses a subset of a sequence and attempts to align it
to subset of other sequences
computationally less expensive
Dynamic Programming:
dynamic programing is solving complex
prblems by breaking them into a simpler
subproblems.
Problem can be divided into many smaller
parts.
Needleman and Wunsch were the first to
propose this method.
Needleman and Wunsch describes general
algorithm for sequence aignment.
Maximize a score of similarity to give maximun
match.
Maximun match= largest number of nucleotides
that can be match with others.
That want to quantify sequence similarity
between two sequences.
Dynamic programming in bioinformatics
Dynamic programming is widely used in
bioinformatics for the tasks such as sequence
alignment, protein folding, RNA structure
prediction and protein-DNA binding.
First dynamic programming algorithms for
protein-DNA binding were developed in the 1970s
independently by Charles Delisi in USA
and Georgii Gurskii and Alexanderr
zasedatelev in USSR.
Dynamic Programming in sequence alignment
There are three steps in dynamic programing.
1. initialization.
The first step in the global alignment dynamic programming
approach is to create a matrix with M + 1 columns and N + 1
rows where M and N correspond to the size of the sequences to
be aligned.
2. Matrix filling(scoring)
We fill the matrix with highest possible score.
To align with diagnol ( align in next position.)
Allign in off-diagonal requires inserion of crossponding gaps
3. Traceback and aligning
Move from last corner and follow arrow.
Global alignment via dynamic programing
1st column and 1st row will be empty.
Fill 1st block with zero
Then fill 1st row and 1st coulmn with gap penality multiples.
While filling the matrix there are three possible values
 horizental: score+ gap penality
 Verticle: score+ gap penality
 Diagonal: score+(match/mismatch)
We have to write max score from these values in a
cell
Let ,
match = + 1
mismatch= -1
gap penality= -2
Lets
Seq# 1 A A A C
Seq# 2 A G C -
A A T C
0 -2 -4 -6 -8
A -2
( 1) ( -4)
1
(-4)
-1 -6
-1
-1
-3 -5
G -4
-1 0 -2 -4
C -6
-3 -2 -1 -1
Backward tracking
In backward tracking we have to move
from last cell( lower corner) and follows
arrow from which cell the current cell’s
values come from and go ahead.
A A T C
0 -2 -4 -6 -8
A -2 1 -1 -3 -5
G -4
-1 0 -2 -4
C -6
-3 -2 -1 -1
A A T C
0 -2 -4 -6 -8
A -2 1 -1 -3 -5
G -4
-1 0 -2 -4
C -6
-3 -2 -1 -1
Path 1
Path 2
Backtracking
Now we have to allign this sequence.
For alligning there are 2 rules.
1. If the value come from column we will have
to write two sequences
2. If value come from horizontal or vertical
then we will have to write perpendicular
and add gap to other side.
Backtracking
Here we have two paths. So we will get two
possible sequences.
We will write sequence from 3’-end.
Path 1:
Seq#1 A A T C
Seq#2 - A G C
Backtracking
Path 2
Seq# 1 A A T C
Seq# 2 A G - C
Hense , we do global allignment in this way.
Local alignment via dynamic programing
Algorithim is same as in global alignment,
but there are some changes.
We fill 1st column and 1st row with zero.
If the value comes in negative number than
it is replaced by zero.
Backtracking will be start from maximun
value.
Local alignment
Let,
Match = 1
Mismatch = 0
Gap penality= 0
And sequence#1 GAATTCAGTTA
Squence#2 GGATCGA
G A A T T C A G T T A
0 0 0 0 0 0 0 0 0 0 0 0
G 0 1 1 1 1 1 1 1 1 1 1 1
G 0 1 1 1 1 1 1 1 2 2 2 2
A 0 1 2 2 2 2 2 2 2 2 2 3
T 0 1 2 2 3 3 3 3 3 3 3 3
C 0 1 2 2 3 3 4 4 4 4 4 4
G 0 1 2 2 3 3 4 4 5 5 5 5
A 0 1 2 3 3 3 3 4 5 5 5 6
Bactracking
After the matrix fill step, the maximum alignment
score for the two test sequences is 6. The traceback
step determines the actual alignment(s) that result
in the maximum score.
G A A T T C A G T T A
0 0 0 0 0 0 0 0 0 0 0 0
G 0 1 1 1 1 1 1 1 1 1 1 1
G 0 1 1 1 1 1 1 1 2 2 2 2
A 0 1 2 2 2 2 2 2 2 2 2 3
T 0 1 2 2 3 3 3 3 3 3 3 3
C 0 1 2 2 3 3 4 4 4 4 4 4
G 0 1 2 2 3 3 4 4 5 5 5 5
A 0 1 2 3 3 3 3 4 5 5 5 6
Backtracking
Rule will be same for this as in global
alignment
Sequence alignment :
Seq#1 G A A T T C A G T TA
Seq#2 G A - T C – G - - A
So in this way we align the sequence using
dynamic programing.

More Related Content

What's hot

Sts
StsSts
Scoring matrices
Scoring matricesScoring matrices
Scoring matrices
Ashwini
 
Scop database
Scop databaseScop database
Scop database
Sayantani Roy
 
Ab Initio Protein Structure Prediction
Ab Initio Protein Structure PredictionAb Initio Protein Structure Prediction
Ab Initio Protein Structure Prediction
Arindam Ghosh
 
Genome annotation
Genome annotationGenome annotation
Genome annotation
Shifa Ansari
 
Sequence alignment
Sequence alignmentSequence alignment
Sequence alignment
Vidya Kalaivani Rajkumar
 
sequence alignment
sequence alignmentsequence alignment
sequence alignment
ammar kareem
 
Multiple sequence alignment
Multiple sequence alignmentMultiple sequence alignment
Multiple sequence alignment
Ramya S
 
Secondary protein structure prediction
Secondary protein structure predictionSecondary protein structure prediction
Secondary protein structure prediction
Siva Dharshini R
 
Secondary Structure Prediction of proteins
Secondary Structure Prediction of proteins Secondary Structure Prediction of proteins
Secondary Structure Prediction of proteins
Vijay Hemmadi
 
SEQUENCE ANALYSIS
SEQUENCE ANALYSISSEQUENCE ANALYSIS
SEQUENCE ANALYSIS
prashant tripathi
 
Multiple sequence alignment
Multiple sequence alignmentMultiple sequence alignment
Multiple sequence alignment
Subhranil Bhattacharjee
 
Prosite
PrositeProsite
Linker, Adaptor, Homopolymeric Tailing & Terminal Transferase
Linker, Adaptor, Homopolymeric Tailing & Terminal TransferaseLinker, Adaptor, Homopolymeric Tailing & Terminal Transferase
Linker, Adaptor, Homopolymeric Tailing & Terminal Transferase
Utsa Roy
 
Gene prediction methods vijay
Gene prediction methods  vijayGene prediction methods  vijay
Gene prediction methods vijay
Vijay Hemmadi
 
Peptide Mass Fingerprinting
Peptide Mass FingerprintingPeptide Mass Fingerprinting
Peptide Mass Fingerprinting
Rida Khalid
 
Sequence alignment
Sequence alignmentSequence alignment
Sequence alignment
Zeeshan Hanjra
 
Gen bank databases
Gen bank databasesGen bank databases
Gen bank databases
Hafiz Muhammad Zeeshan Raza
 
shotgun sequncing
 shotgun sequncing shotgun sequncing
shotgun sequncing
SAIFALI444
 

What's hot (20)

Sts
StsSts
Sts
 
Est database
Est databaseEst database
Est database
 
Scoring matrices
Scoring matricesScoring matrices
Scoring matrices
 
Scop database
Scop databaseScop database
Scop database
 
Ab Initio Protein Structure Prediction
Ab Initio Protein Structure PredictionAb Initio Protein Structure Prediction
Ab Initio Protein Structure Prediction
 
Genome annotation
Genome annotationGenome annotation
Genome annotation
 
Sequence alignment
Sequence alignmentSequence alignment
Sequence alignment
 
sequence alignment
sequence alignmentsequence alignment
sequence alignment
 
Multiple sequence alignment
Multiple sequence alignmentMultiple sequence alignment
Multiple sequence alignment
 
Secondary protein structure prediction
Secondary protein structure predictionSecondary protein structure prediction
Secondary protein structure prediction
 
Secondary Structure Prediction of proteins
Secondary Structure Prediction of proteins Secondary Structure Prediction of proteins
Secondary Structure Prediction of proteins
 
SEQUENCE ANALYSIS
SEQUENCE ANALYSISSEQUENCE ANALYSIS
SEQUENCE ANALYSIS
 
Multiple sequence alignment
Multiple sequence alignmentMultiple sequence alignment
Multiple sequence alignment
 
Prosite
PrositeProsite
Prosite
 
Linker, Adaptor, Homopolymeric Tailing & Terminal Transferase
Linker, Adaptor, Homopolymeric Tailing & Terminal TransferaseLinker, Adaptor, Homopolymeric Tailing & Terminal Transferase
Linker, Adaptor, Homopolymeric Tailing & Terminal Transferase
 
Gene prediction methods vijay
Gene prediction methods  vijayGene prediction methods  vijay
Gene prediction methods vijay
 
Peptide Mass Fingerprinting
Peptide Mass FingerprintingPeptide Mass Fingerprinting
Peptide Mass Fingerprinting
 
Sequence alignment
Sequence alignmentSequence alignment
Sequence alignment
 
Gen bank databases
Gen bank databasesGen bank databases
Gen bank databases
 
shotgun sequncing
 shotgun sequncing shotgun sequncing
shotgun sequncing
 

Viewers also liked

Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
Sahil Kumar
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programmingparamalways
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
Shakil Ahmed
 
Lecture 8 dynamic programming
Lecture 8 dynamic programmingLecture 8 dynamic programming
Lecture 8 dynamic programmingOye Tu
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
Gopi Saiteja
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
Melaku Bayih Demessie
 
Pairwise sequence alignment
Pairwise sequence alignmentPairwise sequence alignment
Pairwise sequence alignmentavrilcoghlan
 
Dynamic programming Basics
Dynamic programming BasicsDynamic programming Basics
Dynamic programming Basics
Kvishnu Dahatonde
 
Dynamic programing 2
Dynamic programing 2Dynamic programing 2
Dynamic programing 2
mansab MIRZA
 
Sequence alignments complete coverage
Sequence alignments complete coverageSequence alignments complete coverage
Sequence alignments complete coverage
Prasanthperceptron
 
Applying Hidden Markov Models to Bioinformatics
Applying Hidden Markov Models to BioinformaticsApplying Hidden Markov Models to Bioinformatics
Applying Hidden Markov Models to Bioinformaticsbutest
 
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programming
Tafhim Islam
 
Mba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in omMba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in om
Rai University
 
Daa:Dynamic Programing
Daa:Dynamic ProgramingDaa:Dynamic Programing
Daa:Dynamic Programingrupali_2bonde
 
5.3 dynamic programming
5.3 dynamic programming5.3 dynamic programming
5.3 dynamic programming
Krish_ver2
 
Sequence alignment
Sequence alignmentSequence alignment
Sequence alignment
Arindam Ghosh
 
Dynamic programming class 16
Dynamic programming class 16Dynamic programming class 16
Dynamic programming class 16Kumar
 
Global alignment
Global alignmentGlobal alignment
Global alignment
Pinky Vincent
 

Viewers also liked (20)

Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
 
Dynamic Programming
Dynamic ProgrammingDynamic Programming
Dynamic Programming
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Lecture 8 dynamic programming
Lecture 8 dynamic programmingLecture 8 dynamic programming
Lecture 8 dynamic programming
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Dynamic programming
Dynamic programmingDynamic programming
Dynamic programming
 
Dynamic pgmming
Dynamic pgmmingDynamic pgmming
Dynamic pgmming
 
Pairwise sequence alignment
Pairwise sequence alignmentPairwise sequence alignment
Pairwise sequence alignment
 
Dynamic programming Basics
Dynamic programming BasicsDynamic programming Basics
Dynamic programming Basics
 
Dynamic programing 2
Dynamic programing 2Dynamic programing 2
Dynamic programing 2
 
Sequence alignments complete coverage
Sequence alignments complete coverageSequence alignments complete coverage
Sequence alignments complete coverage
 
Applying Hidden Markov Models to Bioinformatics
Applying Hidden Markov Models to BioinformaticsApplying Hidden Markov Models to Bioinformatics
Applying Hidden Markov Models to Bioinformatics
 
DP
DPDP
DP
 
Elements of dynamic programming
Elements of dynamic programmingElements of dynamic programming
Elements of dynamic programming
 
Mba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in omMba i qt unit-1.3_linear programming in om
Mba i qt unit-1.3_linear programming in om
 
Daa:Dynamic Programing
Daa:Dynamic ProgramingDaa:Dynamic Programing
Daa:Dynamic Programing
 
5.3 dynamic programming
5.3 dynamic programming5.3 dynamic programming
5.3 dynamic programming
 
Sequence alignment
Sequence alignmentSequence alignment
Sequence alignment
 
Dynamic programming class 16
Dynamic programming class 16Dynamic programming class 16
Dynamic programming class 16
 
Global alignment
Global alignmentGlobal alignment
Global alignment
 

Similar to Dynamic programming

Needleman-wunch algorithm harshita
Needleman-wunch algorithm  harshitaNeedleman-wunch algorithm  harshita
Needleman-wunch algorithm harshita
Harshita Bhawsar
 
5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptx5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptx
ArupKhakhlari1
 
Sequence alignment unit 3
Sequence alignment unit 3Sequence alignment unit 3
Sequence alignment unit 3
gyanikashukla
 
20100515 bioinformatics kapushesky_lecture07
20100515 bioinformatics kapushesky_lecture0720100515 bioinformatics kapushesky_lecture07
20100515 bioinformatics kapushesky_lecture07Computer Science Club
 
Sequence alignment global vs. local
Sequence alignment  global vs. localSequence alignment  global vs. local
Sequence alignment global vs. local
benazeer fathima
 
PCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdfPCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdf
ssusera1eccd
 
02-alignment.pdf
02-alignment.pdf02-alignment.pdf
02-alignment.pdf
SivaAyyappan2
 
Dynamic Programming: Smith-Waterman
Dynamic Programming: Smith-WatermanDynamic Programming: Smith-Waterman
Dynamic Programming: Smith-Waterman
Rohan Prakash
 
Needleman wunsch computional ppt
Needleman wunsch computional pptNeedleman wunsch computional ppt
Needleman wunsch computional ppt
tarun shekhawat
 
Merge sort analysis and its real time applications
Merge sort analysis and its real time applicationsMerge sort analysis and its real time applications
Merge sort analysis and its real time applications
yazad dumasia
 
Seq alignment
Seq alignment Seq alignment
Seq alignment
Nagendrasahu6
 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05
Charlton Inao
 
Swaati algorithm of alignment ppt
Swaati algorithm of alignment pptSwaati algorithm of alignment ppt
Swaati algorithm of alignment ppt
Swati Kumari
 
2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_fariaPaulo Faria
 
Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Backpropagation - Elisa Sayrol - UPC Barcelona 2018Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Universitat Politècnica de Catalunya
 
Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)
Pritom Chaki
 
Chapter 18,19
Chapter 18,19Chapter 18,19
Chapter 18,19
heba_ahmad
 
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Subhajit Sahu
 

Similar to Dynamic programming (20)

Needleman-wunch algorithm harshita
Needleman-wunch algorithm  harshitaNeedleman-wunch algorithm  harshita
Needleman-wunch algorithm harshita
 
5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptx5. Global and Local Alignment Algorithms.pptx
5. Global and Local Alignment Algorithms.pptx
 
Sequence alignment unit 3
Sequence alignment unit 3Sequence alignment unit 3
Sequence alignment unit 3
 
20100515 bioinformatics kapushesky_lecture07
20100515 bioinformatics kapushesky_lecture0720100515 bioinformatics kapushesky_lecture07
20100515 bioinformatics kapushesky_lecture07
 
Sequence alignment global vs. local
Sequence alignment  global vs. localSequence alignment  global vs. local
Sequence alignment global vs. local
 
PCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdfPCB_Lect02_Pairwise_allign (1).pdf
PCB_Lect02_Pairwise_allign (1).pdf
 
02-alignment.pdf
02-alignment.pdf02-alignment.pdf
02-alignment.pdf
 
Ch06 alignment
Ch06 alignmentCh06 alignment
Ch06 alignment
 
Dynamic Programming: Smith-Waterman
Dynamic Programming: Smith-WatermanDynamic Programming: Smith-Waterman
Dynamic Programming: Smith-Waterman
 
Needleman wunsch computional ppt
Needleman wunsch computional pptNeedleman wunsch computional ppt
Needleman wunsch computional ppt
 
Merge sort analysis and its real time applications
Merge sort analysis and its real time applicationsMerge sort analysis and its real time applications
Merge sort analysis and its real time applications
 
Seq alignment
Seq alignment Seq alignment
Seq alignment
 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05
 
Swaati algorithm of alignment ppt
Swaati algorithm of alignment pptSwaati algorithm of alignment ppt
Swaati algorithm of alignment ppt
 
Ch06 multalign
Ch06 multalignCh06 multalign
Ch06 multalign
 
2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria2014-mo444-practical-assignment-04-paulo_faria
2014-mo444-practical-assignment-04-paulo_faria
 
Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Backpropagation - Elisa Sayrol - UPC Barcelona 2018Backpropagation - Elisa Sayrol - UPC Barcelona 2018
Backpropagation - Elisa Sayrol - UPC Barcelona 2018
 
Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)Global and local alignment (bioinformatics)
Global and local alignment (bioinformatics)
 
Chapter 18,19
Chapter 18,19Chapter 18,19
Chapter 18,19
 
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
Algorithmic optimizations for Dynamic Monolithic PageRank (from STICD) : SHOR...
 

More from Zohaib HUSSAIN

Programmed Assembly of Synthetic Protocells into Thermoresponsive Prototissues
Programmed Assembly of Synthetic Protocells into Thermoresponsive PrototissuesProgrammed Assembly of Synthetic Protocells into Thermoresponsive Prototissues
Programmed Assembly of Synthetic Protocells into Thermoresponsive Prototissues
Zohaib HUSSAIN
 
Bone Tissue Engineering
Bone Tissue EngineeringBone Tissue Engineering
Bone Tissue Engineering
Zohaib HUSSAIN
 
Large-scale Production of Stem Cells Utilizing Microcarriers
Large-scale Production of Stem Cells Utilizing MicrocarriersLarge-scale Production of Stem Cells Utilizing Microcarriers
Large-scale Production of Stem Cells Utilizing Microcarriers
Zohaib HUSSAIN
 
Burn Dressings
Burn DressingsBurn Dressings
Burn Dressings
Zohaib HUSSAIN
 
Characterization of Supramolecular Polymers
Characterization of Supramolecular PolymersCharacterization of Supramolecular Polymers
Characterization of Supramolecular Polymers
Zohaib HUSSAIN
 
Translation Initiation in Eukaryotes
Translation Initiation in EukaryotesTranslation Initiation in Eukaryotes
Translation Initiation in Eukaryotes
Zohaib HUSSAIN
 
Mitochondrial Respiratory Complex
Mitochondrial Respiratory ComplexMitochondrial Respiratory Complex
Mitochondrial Respiratory Complex
Zohaib HUSSAIN
 
How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...
How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...
How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...
Zohaib HUSSAIN
 
Abortion A Rising Issue In Medical Health Care Technology
Abortion A Rising Issue In Medical Health Care Technology Abortion A Rising Issue In Medical Health Care Technology
Abortion A Rising Issue In Medical Health Care Technology
Zohaib HUSSAIN
 
PHOTOSYNTHESIS: What we have learned so far?
PHOTOSYNTHESIS: What we have learned so far? PHOTOSYNTHESIS: What we have learned so far?
PHOTOSYNTHESIS: What we have learned so far?
Zohaib HUSSAIN
 
Industrial Production of Insulin
Industrial Production of Insulin Industrial Production of Insulin
Industrial Production of Insulin
Zohaib HUSSAIN
 
Oxidation & Reduction involves electron transfer & How enzymes find their sub...
Oxidation & Reduction involves electron transfer & How enzymes find their sub...Oxidation & Reduction involves electron transfer & How enzymes find their sub...
Oxidation & Reduction involves electron transfer & How enzymes find their sub...
Zohaib HUSSAIN
 
Cellulase (Types, Sources, Mode of Action & Applications)
Cellulase (Types, Sources, Mode of Action & Applications)Cellulase (Types, Sources, Mode of Action & Applications)
Cellulase (Types, Sources, Mode of Action & Applications)
Zohaib HUSSAIN
 
Amylases (Types, Sources, Mode of Action & Applications)
Amylases (Types, Sources, Mode of Action & Applications)Amylases (Types, Sources, Mode of Action & Applications)
Amylases (Types, Sources, Mode of Action & Applications)
Zohaib HUSSAIN
 
Life on Earth (By Alonso Ricardo and Jack W. Szostak) Summary (By Zohaib Hus...
Life on Earth (By Alonso Ricardo and Jack W. Szostak)  Summary (By Zohaib Hus...Life on Earth (By Alonso Ricardo and Jack W. Szostak)  Summary (By Zohaib Hus...
Life on Earth (By Alonso Ricardo and Jack W. Szostak) Summary (By Zohaib Hus...
Zohaib HUSSAIN
 
Layout of the Cell Culture Room
Layout of the Cell Culture Room Layout of the Cell Culture Room
Layout of the Cell Culture Room
Zohaib HUSSAIN
 
Eukaryotic Gene Regulation: Detailed Review
Eukaryotic Gene Regulation: Detailed Review Eukaryotic Gene Regulation: Detailed Review
Eukaryotic Gene Regulation: Detailed Review
Zohaib HUSSAIN
 
Telomere, Functions & Role in Aging & Cancer
Telomere, Functions & Role in Aging & CancerTelomere, Functions & Role in Aging & Cancer
Telomere, Functions & Role in Aging & Cancer
Zohaib HUSSAIN
 
Eukaryotic and Prokaryotic Chromosomes
Eukaryotic and Prokaryotic ChromosomesEukaryotic and Prokaryotic Chromosomes
Eukaryotic and Prokaryotic Chromosomes
Zohaib HUSSAIN
 
Chromosome: A Complete Overview
Chromosome: A Complete OverviewChromosome: A Complete Overview
Chromosome: A Complete Overview
Zohaib HUSSAIN
 

More from Zohaib HUSSAIN (20)

Programmed Assembly of Synthetic Protocells into Thermoresponsive Prototissues
Programmed Assembly of Synthetic Protocells into Thermoresponsive PrototissuesProgrammed Assembly of Synthetic Protocells into Thermoresponsive Prototissues
Programmed Assembly of Synthetic Protocells into Thermoresponsive Prototissues
 
Bone Tissue Engineering
Bone Tissue EngineeringBone Tissue Engineering
Bone Tissue Engineering
 
Large-scale Production of Stem Cells Utilizing Microcarriers
Large-scale Production of Stem Cells Utilizing MicrocarriersLarge-scale Production of Stem Cells Utilizing Microcarriers
Large-scale Production of Stem Cells Utilizing Microcarriers
 
Burn Dressings
Burn DressingsBurn Dressings
Burn Dressings
 
Characterization of Supramolecular Polymers
Characterization of Supramolecular PolymersCharacterization of Supramolecular Polymers
Characterization of Supramolecular Polymers
 
Translation Initiation in Eukaryotes
Translation Initiation in EukaryotesTranslation Initiation in Eukaryotes
Translation Initiation in Eukaryotes
 
Mitochondrial Respiratory Complex
Mitochondrial Respiratory ComplexMitochondrial Respiratory Complex
Mitochondrial Respiratory Complex
 
How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...
How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...
How to Convert XRD, FTIR File Data to Word Table in Order to Draw Plot on Ori...
 
Abortion A Rising Issue In Medical Health Care Technology
Abortion A Rising Issue In Medical Health Care Technology Abortion A Rising Issue In Medical Health Care Technology
Abortion A Rising Issue In Medical Health Care Technology
 
PHOTOSYNTHESIS: What we have learned so far?
PHOTOSYNTHESIS: What we have learned so far? PHOTOSYNTHESIS: What we have learned so far?
PHOTOSYNTHESIS: What we have learned so far?
 
Industrial Production of Insulin
Industrial Production of Insulin Industrial Production of Insulin
Industrial Production of Insulin
 
Oxidation & Reduction involves electron transfer & How enzymes find their sub...
Oxidation & Reduction involves electron transfer & How enzymes find their sub...Oxidation & Reduction involves electron transfer & How enzymes find their sub...
Oxidation & Reduction involves electron transfer & How enzymes find their sub...
 
Cellulase (Types, Sources, Mode of Action & Applications)
Cellulase (Types, Sources, Mode of Action & Applications)Cellulase (Types, Sources, Mode of Action & Applications)
Cellulase (Types, Sources, Mode of Action & Applications)
 
Amylases (Types, Sources, Mode of Action & Applications)
Amylases (Types, Sources, Mode of Action & Applications)Amylases (Types, Sources, Mode of Action & Applications)
Amylases (Types, Sources, Mode of Action & Applications)
 
Life on Earth (By Alonso Ricardo and Jack W. Szostak) Summary (By Zohaib Hus...
Life on Earth (By Alonso Ricardo and Jack W. Szostak)  Summary (By Zohaib Hus...Life on Earth (By Alonso Ricardo and Jack W. Szostak)  Summary (By Zohaib Hus...
Life on Earth (By Alonso Ricardo and Jack W. Szostak) Summary (By Zohaib Hus...
 
Layout of the Cell Culture Room
Layout of the Cell Culture Room Layout of the Cell Culture Room
Layout of the Cell Culture Room
 
Eukaryotic Gene Regulation: Detailed Review
Eukaryotic Gene Regulation: Detailed Review Eukaryotic Gene Regulation: Detailed Review
Eukaryotic Gene Regulation: Detailed Review
 
Telomere, Functions & Role in Aging & Cancer
Telomere, Functions & Role in Aging & CancerTelomere, Functions & Role in Aging & Cancer
Telomere, Functions & Role in Aging & Cancer
 
Eukaryotic and Prokaryotic Chromosomes
Eukaryotic and Prokaryotic ChromosomesEukaryotic and Prokaryotic Chromosomes
Eukaryotic and Prokaryotic Chromosomes
 
Chromosome: A Complete Overview
Chromosome: A Complete OverviewChromosome: A Complete Overview
Chromosome: A Complete Overview
 

Recently uploaded

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 

Recently uploaded (20)

"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 

Dynamic programming

  • 1. MARYAM BIBI FA12-BTY-011 TOPIC : DYNAMIC PROGRAMING SUBJECT : BIOINFIRMATICS
  • 2. Alignment used to uncover homologies between sequences combined with phylogenetic studies can determine orthologous and paralogous relationships Global Alignments compares one whole sequence with other entire sequence computationally expensive Local Alignment uses a subset of a sequence and attempts to align it to subset of other sequences computationally less expensive
  • 3. Dynamic Programming: dynamic programing is solving complex prblems by breaking them into a simpler subproblems. Problem can be divided into many smaller parts. Needleman and Wunsch were the first to propose this method.
  • 4. Needleman and Wunsch describes general algorithm for sequence aignment. Maximize a score of similarity to give maximun match. Maximun match= largest number of nucleotides that can be match with others. That want to quantify sequence similarity between two sequences.
  • 5. Dynamic programming in bioinformatics Dynamic programming is widely used in bioinformatics for the tasks such as sequence alignment, protein folding, RNA structure prediction and protein-DNA binding. First dynamic programming algorithms for protein-DNA binding were developed in the 1970s independently by Charles Delisi in USA and Georgii Gurskii and Alexanderr zasedatelev in USSR.
  • 6. Dynamic Programming in sequence alignment There are three steps in dynamic programing. 1. initialization. The first step in the global alignment dynamic programming approach is to create a matrix with M + 1 columns and N + 1 rows where M and N correspond to the size of the sequences to be aligned. 2. Matrix filling(scoring) We fill the matrix with highest possible score. To align with diagnol ( align in next position.) Allign in off-diagonal requires inserion of crossponding gaps 3. Traceback and aligning Move from last corner and follow arrow.
  • 7. Global alignment via dynamic programing 1st column and 1st row will be empty. Fill 1st block with zero Then fill 1st row and 1st coulmn with gap penality multiples. While filling the matrix there are three possible values  horizental: score+ gap penality  Verticle: score+ gap penality  Diagonal: score+(match/mismatch) We have to write max score from these values in a cell Let , match = + 1 mismatch= -1 gap penality= -2
  • 8. Lets Seq# 1 A A A C Seq# 2 A G C -
  • 9. A A T C 0 -2 -4 -6 -8 A -2 ( 1) ( -4) 1 (-4) -1 -6 -1 -1 -3 -5 G -4 -1 0 -2 -4 C -6 -3 -2 -1 -1
  • 10. Backward tracking In backward tracking we have to move from last cell( lower corner) and follows arrow from which cell the current cell’s values come from and go ahead.
  • 11. A A T C 0 -2 -4 -6 -8 A -2 1 -1 -3 -5 G -4 -1 0 -2 -4 C -6 -3 -2 -1 -1
  • 12. A A T C 0 -2 -4 -6 -8 A -2 1 -1 -3 -5 G -4 -1 0 -2 -4 C -6 -3 -2 -1 -1 Path 1 Path 2
  • 13. Backtracking Now we have to allign this sequence. For alligning there are 2 rules. 1. If the value come from column we will have to write two sequences 2. If value come from horizontal or vertical then we will have to write perpendicular and add gap to other side.
  • 14. Backtracking Here we have two paths. So we will get two possible sequences. We will write sequence from 3’-end. Path 1: Seq#1 A A T C Seq#2 - A G C
  • 15. Backtracking Path 2 Seq# 1 A A T C Seq# 2 A G - C Hense , we do global allignment in this way.
  • 16. Local alignment via dynamic programing Algorithim is same as in global alignment, but there are some changes. We fill 1st column and 1st row with zero. If the value comes in negative number than it is replaced by zero. Backtracking will be start from maximun value.
  • 17. Local alignment Let, Match = 1 Mismatch = 0 Gap penality= 0 And sequence#1 GAATTCAGTTA Squence#2 GGATCGA
  • 18. G A A T T C A G T T A 0 0 0 0 0 0 0 0 0 0 0 0 G 0 1 1 1 1 1 1 1 1 1 1 1 G 0 1 1 1 1 1 1 1 2 2 2 2 A 0 1 2 2 2 2 2 2 2 2 2 3 T 0 1 2 2 3 3 3 3 3 3 3 3 C 0 1 2 2 3 3 4 4 4 4 4 4 G 0 1 2 2 3 3 4 4 5 5 5 5 A 0 1 2 3 3 3 3 4 5 5 5 6
  • 19. Bactracking After the matrix fill step, the maximum alignment score for the two test sequences is 6. The traceback step determines the actual alignment(s) that result in the maximum score.
  • 20. G A A T T C A G T T A 0 0 0 0 0 0 0 0 0 0 0 0 G 0 1 1 1 1 1 1 1 1 1 1 1 G 0 1 1 1 1 1 1 1 2 2 2 2 A 0 1 2 2 2 2 2 2 2 2 2 3 T 0 1 2 2 3 3 3 3 3 3 3 3 C 0 1 2 2 3 3 4 4 4 4 4 4 G 0 1 2 2 3 3 4 4 5 5 5 5 A 0 1 2 3 3 3 3 4 5 5 5 6
  • 21. Backtracking Rule will be same for this as in global alignment Sequence alignment : Seq#1 G A A T T C A G T TA Seq#2 G A - T C – G - - A So in this way we align the sequence using dynamic programing.