29
1 Alignments in Practice BLAST and CLUSTAL Introduction to Bioinformatics Dortmund, 16.-20.07.2007 Lectures: Sven Rahmann Exercises: Udo Feldkamp, Michael Wurst

Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ... Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

  • Upload
    vannhu

  • View
    227

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

1

Alignments in PracticeBLAST and CLUSTAL

Introduction to BioinformaticsDortmund, 16.-20.07.2007

Lectures:Sven Rahmann

Exercises:Udo Feldkamp, Michael Wurst

Page 2: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

2

Overview● Dot Plots● Nucleotide BLAST● Protein BLAST● BLAST Statistics● BLAT● CLUSTAL● JalView

Page 3: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

3

Dotter – Tool for Dot Plots● http://www.cgb.ki.se/cgb/groups/sonnhammer/Dotter.html

● Dotlet: a Java applet for Dot Plots

Page 4: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

4

Dot Plots● Hemoglobin Alpha against Hemoglobin Beta

Page 5: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

5

EBI Alignment Service

Page 6: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

6

BLAST● URL: http://www.ncbi.nlm.nih.gov/BLAST/● Basic Local Alignment Search Tool

Page 7: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

7

Choose the right BLAST

Page 8: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

8

Nucleotide BLAST Interface

Page 9: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

9

BLAST Parameters

● Expect threshold:low [0.01] = stricthigh [100] = loose

● Word size: speed vs. sensitivityhigh = fasterlow = slower, but more sensitive

Page 10: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

10

Protein BLAST

Page 11: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

11

Protein BLAST Parameters

Page 12: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

12

Translated BLAST● protein query against nucleotide database

– nucleotide sequence not unique– also consider reverse complement

● nucleotide query against protein database– consider all 6 reading frames

Page 13: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

13

BLAST Output

Page 14: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

14

BLAST Output II

Database + AccessionLink

Bit score E-valueDescription

Page 15: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

15

● How good / reliable is a hit found by BLAST?● Raw score :=

score of the alignment according to scoring matrix and gap penalties

● Bit score :=score (log2 units), length-normalized

● E-value :=Number of hits of such or better score in a hypothetical database of random proteins of the same size

BLAST Statistics

Page 16: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

16

More on Statistics● Null model :=

random model describing sequences without intentional signal(here: pair of random sequences without intentional similarity)

● (single) p-value for observed score s :=Prob(Score >= s) in the null model

● (multiple) p-value :=Prob(Score >= s at least once)

Page 17: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

17

BLAT● BLAST-Like Alignment Tool● index-based● developed at UC Santa Cruz● especially for searching in whole genomes● very fast● limited to nearly exact matches

Page 18: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

18

UCSC Genome Browser + BLAT

Page 19: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

19

CLUSTAL

Page 20: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

20

What Clustal Did (“Output file”)

Page 21: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

21

Clustal Results (pretty)

Page 22: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

22

Clustal Results (“alignment file”)CLUSTAL W (1.83) multiple sequence alignment

FOS_RAT MMFSGFNADYEASSSRCSSASPAGDSLSYYHSPADSFSSMGSPVNTQDFCADLSVSSANF 60FOS_MOUSE MMFSGFNADYEASSSRCSSASPAGDSLSYYHSPADSFSSMGSPVNTQDFCADLSVSSANF 60FOS_HUMAN MMFSGFNADYEASSSRCSSASPAGDSLSYYHSPADSFSSMGSPVNAQDFCTDLAVSSANF 60FOS_CHICK MMYQGFAGEYEAPSSRCSSASPAGDSLTYYPSPADSFSSMGSPVNSQDFCTDLAVSSANF 60FOS_ZEBRAFISH MMFTSLNADCDASS-RCSTASPSGDSVGYY------------PLNQTQEFTDLSVSSASF 47 **: .: .: :*.* ***:***:***: ** *:* : :**:****.*

FOS_RAT IPTVTAISTSPDLQWLVQPTLVSSVAPSQTRAPHPYGLPTPS-TGAYARAGVVKTMSGGR 119FOS_MOUSE IPTVTAISTSPDLQWLVQPTLVSSVAPSQTRAPHPYGLPTQS-AGAYARAGMVKTVSGGR 119FOS_HUMAN IPTVTAISTSPDLQWLVQPALVSSVAPSQTRAPHPFGVPAPS-AGAYSRAGVVKTMTGGR 119FOS_CHICK VPTVTAISTSPDLQWLVQPTLISSVAPSQNRG-HPYGVPAPAPPAAYSRPAVLKAP-GGR 118FOS_ZEBRAFISH VPTVTAISSCPDLQWMVQP-MISSAAPS-------NGAAQSYNPSSYPKMRVTGAK---- 95 :*******:.*****:*** ::**.*** * . ..:*.: : :

FOS_RAT AQSIGRRGKVEQLSPEEEEKRRIRRERNKMAAAKCRNRRRELTDTLQAETDQLEDEKSAL 179FOS_MOUSE AQSIGRRGKVEQLSPEEEEKRRIRRERNKMAAAKCRNRRRELTDTLQAETDQLEDEKSAL 179FOS_HUMAN AQSIGRRGKVEQLSPEEEEKRRIRRERNKMAAAKCRNRRRELTDTLQAETDQLEDEKSAL 179FOS_CHICK GQSIGRRGKVEQLSPEEEEKRRIRRERNKMAAAKCRNRRRELTDTLQAETDQLEEEKSAL 178FOS_ZEBRAFISH --TSNKRSRSEQLSPEEEEKKRVRRERSKMAAAKCRNRRRELTDTLQAETDQLEDEKSAL 153 : .:*.: **********:*:****.**************************:*****

FOS_RAT QTEIANLLKEKEKLEFILAAHRPACKIPNDLGFPEE----MSVTS-LDLTGGLPEATTPE 234FOS_MOUSE QTEIANLLKEKEKLEFILAAHRPACKIPDDLGFPEE----MSVAS-LDLTGGLPEASTPE 234FOS_HUMAN QTEIANLLKEKEKLEFILAAHRPACKIPDDLGFPEE----MSVAS-LDLTGGLPEVATPE 234FOS_CHICK QAEIANLLKEKEKLEFILAAHRPACKMPEELRFSEE----LAAATALDLG----APSPAA 230FOS_ZEBRAFISH QNDIANLLKEKERLEFILAAHKPICKIPADASFPEPSSSPMSSISVPEIVTTSVVSSTPN 213 * :*********:********:* **:* : *.* :: : :: :..

Page 23: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

23

Clustal Guide Tree

Page 24: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

24

Clustal Guide Tree● Guide Tree is not a phylogenetic tree,

just a computational device● Cladogram: edge lengths have no meaning● Phylogram: edgle lengths correspond to

distances

Page 25: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

25

JalView: Alignment Editor(start from the CLUSTAL web site)

Page 26: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

26

Simple JalView Window● Simple alignment editor (Java applet)● Complex alignment editor (Java application)

– Web Start, or– Download installer

Page 27: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

27

Starting or Installing JalView

www.jalview.org

Page 28: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

28

Multiple Alignment @ BiBiServ

Page 29: Alignments in Practice BLAST and CLUSTAL - TU … · Alignments in Practice BLAST and CLUSTAL ...  Basic Local Alignment Search Tool. 7 ... BLAST-Like Alignment Tool

29

For Windows/MAC: QAlign2● URL: http://gi.cebitec.uni-bielefeld.de/QAlign/● Live Demo of QAlign2