SlideShare a Scribd company logo
1 of 8
1 
SIDDAGANGA INSTITUTE OF TECHNOLOGY 
Department of Biotechnology 
B.E. Biotechnology 
Local Alignment 
Mr. Vivek Chandramohan 
Bioinformatics – Local Alignment 
Assistant professor 
Department of Biotechnology 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
2 
Local Alignment 
Smith–Waterman algorithm 
 No negative scores are used 
 A similar tracing-back procedure is used in dynamic programming 
 It starts with the highest scoring position and proceeds diagonally up to the 
left until reaching a cell with a zero 
 LALIGN - web-based Local alignment program 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
3 
Local Alignment 
Smith–Waterman algorithm 
 Three steps in dynamic programming 
 Initialization 
 Matrix fill (scoring) 
 Traceback (alignment) 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
4 
Local Alignment 
Smith–Waterman algorithm 
Seq1 A T G A T G T A G 
Seq2 G A G A T G T G C 
Initialization 
 Sequence Seq1 is first row 
 Sequence seq2 is first Column 
 Gap value in 2nd row for S1 sequences 
 Gap value in 2nd Column for S2 sequences 
Match : 2, Mismatch : -1, Gap : -2 
S1/s2 0 A T G A 
0 0 0 0 0 0 
G 0 
A 0 
G 0 
A 0 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
5 
Matrix fill (scoring) 
Match : 2, Mismatch : -1, Gap : -2 
S/T 0 A T G A T G T A G 
0 0 0 0 0 0 0 0 0 0 0 
G 0 0 0 
A 0 
G 0 
A 0 
T 0 
G 0 
T 0 
G 0 
C 0 
0 + -1 0 + -2 
0 + -2 0 
0 + 2 = 0 
0 + -2 = 0 
0 + -2 = 0 
0 + 2 0 +-2 
0 + -2 2 
0 + 2 = 2 
0 + -2 = 0 
0 + -2 = 0 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
6 
Matrix fill (scoring) 
Match : 2, Mismatch : -1, Gap : -2 
S/T 0 A T G A T G T A G 
0 0 0 0 0 0 0 0 0 0 0 
G 0 0 0 2 0 0 2 0 0 0 
A 0 2 0 0 4 2 0 0 2 0 
G 0 0 1 2 2 3 4 2 0 4 
A 0 2 0 0 4 2 2 2 4 2 
T 0 0 4 2 2 6 4 4 2 3 
G 0 0 2 6 4 4 8 6 4 4 
T 0 0 2 4 4 6 6 10 8 6 
G 0 0 0 4 3 4 8 8 9 10 
C 0 0 0 2 3 1 6 7 7 8 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
Trace back 
7 
Match : 2, Mismatch : -1, Gap : -2 
S/T 0 A T G A T G T A G 
0 0 0 0 0 0 0 0 0 0 0 
G 0 0 0 2 0 0 2 0 0 0 
A 0 2 0 0 4 2 0 0 2 0 
G 0 0 1 2 2 3 4 2 0 4 
A 0 2 0 0 4 2 2 2 4 2 
T 0 0 4 2 2 6 4 4 2 3 
G 0 0 2 6 4 4 8 6 4 4 
T 0 0 2 4 4 6 6 10 8 6 
G 0 0 0 4 3 4 8 8 9 10 
C 0 0 0 2 3 1 6 7 7 8 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
Alignment 
8 
G A T G T A G 
| | | | | | | 
G A T G T - G 
2 2 2 2 2 -2 2 
6 X 2 = 12 
1 X -2 = -2 
10 
G A T G T 
| | | | | 
G A T G T 
2 2 2 2 2 
5 X 2 = 10 
10 
B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka

More Related Content

What's hot

What's hot (20)

Sequence alignment
Sequence alignmentSequence alignment
Sequence alignment
 
Multiple sequence alignment
Multiple sequence alignmentMultiple sequence alignment
Multiple sequence alignment
 
Dynamic programming and pairwise sequence alignment
Dynamic programming and pairwise sequence alignmentDynamic programming and pairwise sequence alignment
Dynamic programming and pairwise sequence alignment
 
Dynamic programming
Dynamic programming Dynamic programming
Dynamic programming
 
Sequence alig Sequence Alignment Pairwise alignment:-
Sequence alig Sequence Alignment Pairwise alignment:-Sequence alig Sequence Alignment Pairwise alignment:-
Sequence alig Sequence Alignment Pairwise alignment:-
 
BITS: Basics of Sequence similarity
BITS: Basics of Sequence similarityBITS: Basics of Sequence similarity
BITS: Basics of Sequence similarity
 
Secondary Structure Prediction of proteins
Secondary Structure Prediction of proteins Secondary Structure Prediction of proteins
Secondary Structure Prediction of proteins
 
methods for protein structure prediction
methods for protein structure predictionmethods for protein structure prediction
methods for protein structure prediction
 
SEQUENCE ANALYSIS
SEQUENCE ANALYSISSEQUENCE ANALYSIS
SEQUENCE ANALYSIS
 
Dot matrix
Dot matrixDot matrix
Dot matrix
 
Entrez databases
Entrez databasesEntrez databases
Entrez databases
 
Scoring matrices
Scoring matricesScoring matrices
Scoring matrices
 
Needleman-wunch algorithm harshita
Needleman-wunch algorithm  harshitaNeedleman-wunch algorithm  harshita
Needleman-wunch algorithm harshita
 
MULTIPLE SEQUENCE ALIGNMENT
MULTIPLE  SEQUENCE  ALIGNMENTMULTIPLE  SEQUENCE  ALIGNMENT
MULTIPLE SEQUENCE ALIGNMENT
 
BLAST (Basic local alignment search Tool)
BLAST (Basic local alignment search Tool)BLAST (Basic local alignment search Tool)
BLAST (Basic local alignment search Tool)
 
Proteins databases
Proteins databasesProteins databases
Proteins databases
 
Clustal
ClustalClustal
Clustal
 
Scop database
Scop databaseScop database
Scop database
 
Secondary protein structure prediction
Secondary protein structure predictionSecondary protein structure prediction
Secondary protein structure prediction
 
Sequence Alignment In Bioinformatics
Sequence Alignment In BioinformaticsSequence Alignment In Bioinformatics
Sequence Alignment In Bioinformatics
 

Viewers also liked

Pairwise sequence alignment
Pairwise sequence alignmentPairwise sequence alignment
Pairwise sequence alignment
avrilcoghlan
 
Multiple alignment
Multiple alignmentMultiple alignment
Multiple alignment
avrilcoghlan
 
Basic Local Alignment Search Tool (BLAST)
Basic Local Alignment Search Tool (BLAST)Basic Local Alignment Search Tool (BLAST)
Basic Local Alignment Search Tool (BLAST)
Asiri Wijesinghe
 
Dotplots for Bioinformatics
Dotplots for BioinformaticsDotplots for Bioinformatics
Dotplots for Bioinformatics
avrilcoghlan
 
Knowledge based expert systems in Bioinformatics
Knowledge based expert systems in BioinformaticsKnowledge based expert systems in Bioinformatics
Knowledge based expert systems in Bioinformatics
RadwenAniba
 
Basics of bioinformatics
Basics of bioinformaticsBasics of bioinformatics
Basics of bioinformatics
Abhishek Vatsa
 

Viewers also liked (18)

Global local alignment
Global local alignmentGlobal local alignment
Global local alignment
 
Transmission media (data communication)
Transmission media (data communication)Transmission media (data communication)
Transmission media (data communication)
 
Introduction to sequence alignment
Introduction to sequence alignmentIntroduction to sequence alignment
Introduction to sequence alignment
 
Multiple sequence alignment
Multiple sequence alignmentMultiple sequence alignment
Multiple sequence alignment
 
Pairwise sequence alignment
Pairwise sequence alignmentPairwise sequence alignment
Pairwise sequence alignment
 
Bioinformatics
BioinformaticsBioinformatics
Bioinformatics
 
Bioinformatics
BioinformaticsBioinformatics
Bioinformatics
 
Msa
MsaMsa
Msa
 
Multiple alignment
Multiple alignmentMultiple alignment
Multiple alignment
 
Basic Local Alignment Search Tool (BLAST)
Basic Local Alignment Search Tool (BLAST)Basic Local Alignment Search Tool (BLAST)
Basic Local Alignment Search Tool (BLAST)
 
Dotplots for Bioinformatics
Dotplots for BioinformaticsDotplots for Bioinformatics
Dotplots for Bioinformatics
 
sequence alignment
sequence alignmentsequence alignment
sequence alignment
 
Bioinformatics
BioinformaticsBioinformatics
Bioinformatics
 
Knowledge based expert systems in Bioinformatics
Knowledge based expert systems in BioinformaticsKnowledge based expert systems in Bioinformatics
Knowledge based expert systems in Bioinformatics
 
Application of Bioinformatics in different fields of sciences
Application of Bioinformatics in different fields of sciencesApplication of Bioinformatics in different fields of sciences
Application of Bioinformatics in different fields of sciences
 
Basics of bioinformatics
Basics of bioinformaticsBasics of bioinformatics
Basics of bioinformatics
 
Bioinformatics
BioinformaticsBioinformatics
Bioinformatics
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 

Recently uploaded (20)

Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

Bioinfromatics - local alignment

  • 1. 1 SIDDAGANGA INSTITUTE OF TECHNOLOGY Department of Biotechnology B.E. Biotechnology Local Alignment Mr. Vivek Chandramohan Bioinformatics – Local Alignment Assistant professor Department of Biotechnology B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
  • 2. 2 Local Alignment Smith–Waterman algorithm  No negative scores are used  A similar tracing-back procedure is used in dynamic programming  It starts with the highest scoring position and proceeds diagonally up to the left until reaching a cell with a zero  LALIGN - web-based Local alignment program B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
  • 3. 3 Local Alignment Smith–Waterman algorithm  Three steps in dynamic programming  Initialization  Matrix fill (scoring)  Traceback (alignment) B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
  • 4. 4 Local Alignment Smith–Waterman algorithm Seq1 A T G A T G T A G Seq2 G A G A T G T G C Initialization  Sequence Seq1 is first row  Sequence seq2 is first Column  Gap value in 2nd row for S1 sequences  Gap value in 2nd Column for S2 sequences Match : 2, Mismatch : -1, Gap : -2 S1/s2 0 A T G A 0 0 0 0 0 0 G 0 A 0 G 0 A 0 B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
  • 5. 5 Matrix fill (scoring) Match : 2, Mismatch : -1, Gap : -2 S/T 0 A T G A T G T A G 0 0 0 0 0 0 0 0 0 0 0 G 0 0 0 A 0 G 0 A 0 T 0 G 0 T 0 G 0 C 0 0 + -1 0 + -2 0 + -2 0 0 + 2 = 0 0 + -2 = 0 0 + -2 = 0 0 + 2 0 +-2 0 + -2 2 0 + 2 = 2 0 + -2 = 0 0 + -2 = 0 B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
  • 6. 6 Matrix fill (scoring) Match : 2, Mismatch : -1, Gap : -2 S/T 0 A T G A T G T A G 0 0 0 0 0 0 0 0 0 0 0 G 0 0 0 2 0 0 2 0 0 0 A 0 2 0 0 4 2 0 0 2 0 G 0 0 1 2 2 3 4 2 0 4 A 0 2 0 0 4 2 2 2 4 2 T 0 0 4 2 2 6 4 4 2 3 G 0 0 2 6 4 4 8 6 4 4 T 0 0 2 4 4 6 6 10 8 6 G 0 0 0 4 3 4 8 8 9 10 C 0 0 0 2 3 1 6 7 7 8 B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
  • 7. Trace back 7 Match : 2, Mismatch : -1, Gap : -2 S/T 0 A T G A T G T A G 0 0 0 0 0 0 0 0 0 0 0 G 0 0 0 2 0 0 2 0 0 0 A 0 2 0 0 4 2 0 0 2 0 G 0 0 1 2 2 3 4 2 0 4 A 0 2 0 0 4 2 2 2 4 2 T 0 0 4 2 2 6 4 4 2 3 G 0 0 2 6 4 4 8 6 4 4 T 0 0 2 4 4 6 6 10 8 6 G 0 0 0 4 3 4 8 8 9 10 C 0 0 0 2 3 1 6 7 7 8 B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka
  • 8. Alignment 8 G A T G T A G | | | | | | | G A T G T - G 2 2 2 2 2 -2 2 6 X 2 = 12 1 X -2 = -2 10 G A T G T | | | | | G A T G T 2 2 2 2 2 5 X 2 = 10 10 B.E. Biotechnology, Department of Biotechnology, SIT, Tumkur, Karnataka