Presentation is loading. Please wait.

Presentation is loading. Please wait.

Biology 4900 Biocomputing.

Similar presentations


Presentation on theme: "Biology 4900 Biocomputing."— Presentation transcript:

1 Biology 4900 Biocomputing

2 Pairwise Sequence Alignment
Chapter 3 Pairwise Sequence Alignment

3 Comparing protein sequences
Comparing protein sequences usually more informative than nucleotide sequences. Why? Changing base at 3rd position in codon does not change AA (Ex: Both UUU and UUC encode for phenylalanine) Different AAs may share similar chemical properties (Ex: hydrophobic residues A, V, L, I) Relationships between related but mismatched AAs in sequence analysis can be accounted for using scoring systems (matrices). Protein sequence comparisons can ID sequence homologies from proteins sharing a common ancestor as far back as 1 × 109 years ago (vs. 600 × 106 for DNA).

4 Applications of Sequence Analyses
Codons (3 RNA bases in sequence) determine each amino acid that will build the protein expressed

5 Amino acids by similar biophysical properties

6 Amino acids by similar biophysical properties

7 Amino acids by similar biophysical properties

8 Amino acids by similar biophysical properties

9 Amino acids by similar biophysical properties

10 Sequence Homology Homology: Two sequences are homologous if they share a common ancestor. No “degrees of homology”: only homologous or not Almost always share similar 3D structure Ex. myoglobin and beta globin Sequences can change significantly over time, but 3D structure changes more slowly Beta-globin sub-unit of adult hemoglobin (2H35.pdb, in blue), superimposed over myoglobin (3RGK.pdb, in red). These sequences probably separated 600 million years ago. Pevsner, Bioinformatics and Functional Genomics, 2009

11 Sequence Identity and Similarity
Identity: How closely two sequences match one another. Unlike homology, identity can be measured quantitatively Similarity: Pairs of residues that are structurally or functionally related (conservative substitutions). >lcl| CLN:A|PDBID|CHAIN|SEQUENCE Length=148 Score = 268 bits (684), Expect = 3e-97, Method: Compositional matrix adjust. Identities = 130/148 (88%), Positives = 143/148 (97%), Gaps = 0/148 (0%) Query AEQLTEEQIAEFKEAFALFDKDGDGTITTKELGTVMRSLGQNPTEAELQDMINEVDADGN 60 A+QLTEEQIAEFKEAF+LFDKDGDGTITTKELGTVMRSLGQNPTEAELQDMINEVDADGN Sbjct ADQLTEEQIAEFKEAFSLFDKDGDGTITTKELGTVMRSLGQNPTEAELQDMINEVDADGN 60 Query GTIDFPEFLSLMARKMKEQDSEEELIEAFKVFDRDGNGLISAAELRHVMTNLGEKLTDDE 120 GTIDFPEFL++MARKMK+ DSEEE+ EAF+VFD+DGNG ISAAELRHVMTNLGEKLTD+E Sbjct GTIDFPEFLTMMARKMKDTDSEEEIREAFRVFDKDGNGYISAAELRHVMTNLGEKLTDEE 120 Query VDEMIREADIDGDGHINYEEFVRMMVSK 148 VDEMIREA+IDGDG +NYEEFV+MM +K Sbjct VDEMIREANIDGDGQVNYEEFVQMMTAK 148 88% of sequences include the same amino acids. This increases to 97% when you include amino acids that are different, but with similar properties. Pevsner, Bioinformatics and Functional Genomics, 2009

12 Orthologs and Paralogs
Orthologs: Homologous sequences in different species that arose from a common ancestral gene during speciation. Ex. Humans and rats diverged around 80 million years ago  divergence of myoglobin genes occurred. Orthologs frequently have similar biological functions. Human and rat myoglobin (oxygen transport) Human and rat CaM Paralogs: Homologous sequences that arose by a mechanism such as gene duplication. Within same organism/species Ex. Myoglobin and beta globin are paralogs Have distinct but related functions. Pevsner, Bioinformatics and Functional Genomics, 2009

13 Pairwise Alignment Comparing 2 or more sequences of amino acids or nucleotides. Difficult to do visually. Computer algorithms help us by: Accelerating the comparison process Allowing for “gaps” in sequences (i.e., insertions, deletions) Identifying substituted amino acids that are structurally or functionally similar (D and E). One way to do this is with BLAST (Basic Local Alignment Search Tool) Allows rapid sequence comparison of a query sequence against a database. The BLAST algorithm is fast, accurate, and web-accessible. Pevsner, Bioinformatics and Functional Genomics, 2009

14 Why use BLAST? BLAST searching is fundamental to understanding the relatedness of any favorite query sequence to other known proteins or DNA sequences. Applications include identifying orthologs and paralogs discovering new genes or proteins discovering variants of genes or proteins investigating expressed sequence tags (ESTs) exploring protein structure and function

15 Four steps to becoming a Master BLASTer
(1) Choose the sequence (query) (2) Select the BLAST program (3) Choose the database to search (4) Choose optional parameters (may leave as default params the first time) Then click “BLAST”

16

17 Step 1: Choose your sequence
Sequence can be input in FASTA format as text or by file upload, or as accession number

18 Example of the FASTA format for a BLAST query
Note link here

19 Step 2: Choose the BLAST program
Blastn and blastp are the main programs you will want to use

20 Step 3: choose the database to search
nr = non-redundant (most general database) dbest = database of expressed sequence tags dbsts = database of sequence tag sites gss = genomic survey sequences protein databases nucleotide databases

21 Step 4a: Select optional search parameters
organism Entrez! algorithm

22 Step 4a: optional blastp search parameters
Expect Word size Right. So, what are these? Scoring matrix Filter, mask

23 Step 4a: optional blastn search parameters
Expect Word size Match/mismatch scores Filter, mask

24 Algorithm Parameters: Expect
This setting specifies the statistical significance threshold for reporting matches against database sequences. The default value (10) means that 10 such matches are expected to be found merely by chance, according to the stochastic model of Karlin and Altschul (1990). If the statistical significance ascribed to a match is greater than the EXPECT threshold, the match will not be reported. Lower EXPECT thresholds (e.g., set expect to 6) are more stringent, leading to fewer chance matches being reported.

25 Algorithm Parameters: Word Size
BLAST is a heuristic that works by finding word-matches between the query and database sequences. One may think of this process as finding "hot-spots" that BLAST can then use to initiate extensions that might eventually lead to full-blown alignments. For nucleotide-nucleotide searches (i.e., "blastn") an exact match of the entire word is required before an extension is initiated, so that one normally regulates the sensitivity and speed of the search by increasing or decreasing the word-size. For other BLAST searches non-exact word matches are taken into account based upon the similarity between words. The amount of similarity can be varied so one normally uses just the word-sizes 2 and 3 for these searches. KENFDKARFSGTWYAMAKKDPEG 50 RBP (query) MKGLDIQKVAGTWYSLAMAASD. 44 lactoglobulin (hit) extend extend Hit!

26 Algorithm Parameters: Filter, Mask
BLAST searches consist of two phases, finding hits based upon a lookup table and then extending them. This option masks only for purposes of constructing the lookup table used by BLAST so that no hits are found based upon low-complexity sequence or repeats (if repeat filter is checked). The BLAST extensions are performed without masking and so they can be extended through low-complexity sequence. Mask (Lower Case) With this option selected you can cut and paste a FASTA sequence in upper case characters and denote areas you would like filtered with lower case. This allows you to customize what is filtered from the sequence during the comparison to the BLAST databases. Advanced options you probably won’t need to use

27 Algorithm Parameters: Match/Mismatch Scores
Many nucleotide searches use a simple scoring system that consists of a "reward" for a match and a "penalty" for a mismatch. The (absolute) reward/penalty ratio should be increased as one looks at more divergent sequences. A ratio of 0.33 (1/-3) is appropriate for sequences that are about 99% conserved A ratio of 0.5 (1/-2) is best for sequences that are 95% conserved A ratio of about one (1/-1) is best for sequences that are 75% conserved States DJ, Gish W, and Altschul SF (1991)

28 Algorithm Parameters: Matrices
A key element in evaluating the quality of a pairwise sequence alignment is the "substitution matrix", which assigns a score for aligning any possible pair of residues. Some matrices are good for comparing sequences that diverge very little, while other matrices are good for comparing sequences that diverge a lot. The BLOSUM-62 matrix is among the best for detecting most weak protein similarities. The BLOSUM-45 matrix may be better for particularly long and weak alignments. The older PAM matrices may be better for short alignments, as these need to have a higher percentage of matching residues to exceed background noise (be detectable beyond random chance).

29 Calculate the score in BLOSUM-62 for a gap with 7 residues…
Matrices and Gap Costs The raw score of an alignment is the sum of the scores for aligning pairs of residues and the scores for gaps. Gapped BLAST and PSI-BLAST use "affine gap costs" which charge the score -a for the existence of a gap, and the score -b for each residue in the gap. Thus a gap of k residues receives a total score of -(a+bk); specifically, a gap of length 1 receives the score -(a+b). Calculate the score in BLOSUM-62 for a gap with 7 residues…

30 Conservative Substitutions in Matrices
Scoring may vary based on conserved substitutions of amino acids: i.e., amino acids with similar properties will not lose as many points as AAs with very different properties Basic AAs: K, R, H Acidic AAs: D, E Hydroxylated AAs: S, T Hydrophobic AAs: G, V, L, I, M, F, P, W, Y Pevsner, Bioinformatics and Functional Genomics, 2009

31 Dayhoff Model: Building a Scoring Matrix
1978, Margaret Dayhoff provided one of the first models of a scoring matrix Model was based on rules by which evolutionary changes occur in proteins Catalogued 1000’s of proteins, considered which specific amino acid substitutions occurred when 2 homologous proteins aligned Assumes substitution patterns in closely-related proteins can be extrapolated to more distantly-related proteins An accepted point mutation (PAM) is an AA replacement accepted by natural selection Based on observed mutations, not necessarily on related AA properties Probable mutations are rewarded, while unlikely mutations are penalized Scores for comparison of 2 residues (i, j) based on the following equation: Here, qi,j is the probability of an observed substitution, while p is the likelihood of observing the AA (i) as a result of chance. Pevsner, Bioinformatics and Functional Genomics, 2009

32 Practical Lessons from the Dayhoff Model
Less mutable amino acids likely play more important structural and functional roles Mutable amino acids fulfill functions that can be filled by other amino acids with similar properties Common substitutions tend to require only a single nucleotide change in codon Amino acids that can be created from more than 1 codon are more likely to be created as a substitute (See p. 63, textbook) Changes to sequence that do not alter structure and function of protein likely to be more tolerated in nature Pevsner, Bioinformatics and Functional Genomics, 2009

33 PAM250 Mutation Probability Matrix
Original AA Ala Arg Asn Asp Cys Gln Glu Gly His Ile Leu Lys Met Phe Pro Ser Thr Trp Tyr Val A R N D C Q E G H I L K M F P S T W Y V Ala A Arg R Asn N Asp D Cys C Gln Q Glu E Gly G His H Ile I Leu L Lys K Met M Phe F Pro P Ser S Thr T Trp W Tyr Y Val V Replacement AA Think of these values as percentages (columns sum to 100). For example, there is an 18% (0.18) probability of R being replaced by K. This probability matrix needs to be converted into a scoring matrix.

34 Normalized Frequencies of Amino Acids
**How often a given amino acid appears in a protein (determined by empirical analyses)

35 PAM250 Log-Odds Matrix Cys C 12 Ser S Thr T Pro P Ala A Gly G Asn N Asp D Glu E Gln Q His H Arg R Lys K Met M Ile I Leu L Val V Phe F Tyr Y Trp W C S T P A G N D E Q H R K M I L V F Y W Cys Ser Thr Pro Ala Gly Asn Asp Glu Gln His Arg Lys Met Ile Leu Val Phe Tyr Trp This is the PAM250 scoring matrix, calculated as follows:

36 BLOSUM62 Scoring Matrix BLOck SUbstitution Matrix
By Henikoff and Henikoff (1992) Default scoring matrix for pairwise alignment of sequences using BLAST Based on empirical observations of distantly-related proteins Pevsner, Bioinformatics and Functional Genomics, 2009


Download ppt "Biology 4900 Biocomputing."

Similar presentations


Ads by Google