35
Neural Networks for Protein Structure Prediction Brown, JMB 1999 CS 466 Saurabh Sinha

Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Neural Networks for ProteinStructure PredictionBrown, JMB 1999

CS 466Saurabh Sinha

Page 2: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Outline

• Goal is to predict “secondary structure”of a protein from its sequence

• Artificial Neural Network used for thistask

• Evaluation of prediction accuracy

Page 3: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

What is Protein Structure?

Page 4: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

http://academic.brooklyn.cuny.edu/biology/bio4fv/page/3d_prot.htm

Page 5: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

http://matcm

adison.edu/biotech/resources/proteins/labManual/im

ages/220_04_114.png

Page 6: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Protein Structure

• An amino acid sequence “folds” into acomplex 3-D structure

• Finding out this 3-D structure is acrucial and challenging task

• Experimental methods (e.g., X-raycrystallography) are very tedious

• Computational predictions are apossibility, but very difficult

Page 7: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

What is “secondary structure”?

Page 8: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

http://www.wiley.com/college/pratt/0471393878/student/structure/secondary_structure/secondary_structure.gif

“Strand” “Helix”

Page 9: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

http://www.npaci.edu/features/00/Mar/protein.jpg

“Strand”

“Helix”

Page 10: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Secondary structure prediction

• Well, the whole 3-D “tertiary” protein structuremay be hard to predict from sequence

• But can we at least predict the secondarystructural elements such as “strand”, “helix” or“coil”?

• This is what this paper does• .. and so do many other papers (it is a hard

problem !)

Page 11: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

A survey of structure prediction

• The most reliable technique is “comparativemodeling”– Find a protein P whose amino acid sequence is

very similar to your “target” protein T– Hope that this other protein P does have a known

structure– Predict a similar structure similar to that of P, after

carefully considering how the sequences of P andT differ

Page 12: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

A survey of structure prediction• Comparative modeling fails if we don’t have a

suitable homologous “template” protein P for ourprotein T

• “Ab initio” tertiary methods attempt to predict thestructure without using a protein structure– Incorporate basic physical and chemical principles into the

structure calculation– Gets very hairy, and highly computationally intensive

• The other option is prediction of secondary structureonly (i.e., making the goal more modest)– These may be used to provide constraints for tertiary

structure prediction

Page 13: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Secondary structure prediction

• Early methods were based on stereochemicalprinciples

• Later methods realized that we can do betterif we use not only the one sequence T (oursequence), but also a family of “relatedsequences”

• Search for sequences similar to T, build amultiple alignment of these, and predictsecondary structure from the multiplealignment of sequence

Page 14: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

What’s multiple alignmentdoing here ?

• Most conserved regions of a proteinsequence are either functionally important orburied in the protein “core”

• More variable regions are usually on surfaceof the protein,– there are few constraints on what type of amino

acids have to be here (apart from bias towardshydrophilic residues)

• Multiple alignment tells us which portions areconserved and which are not

Page 15: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

http://bio.nagaokaut.ac.jp/~mbp-lab/img/hpc.png

hydrophobic core

Page 16: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

What’s multiple alignmentdoing here ?

• Therefore, by looking at multiple alignment,we could predict which residues are in thecore of the protein and which are on thesurface (“solvent accessibility”)

• Secondary structure then predicted bycomparing the accessibility patternsassociated with helices, strands etc.

• This approach (Benner & Gerloff) mostlymanual

• Today’s paper suggest an automated method

Page 17: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

The PSI-PRED algorithm

• Given an amino-acid sequence, predictsecondary structure elements in the protein

• Three stages:1. Generation of a sequence profile (the

“multiple alignment” step)2. Prediction of an initial secondary structure

(the neural network step)3. Filtering of the predicted structure (another

neural network step)

Page 18: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Generation of sequence profile• A BLAST-like program called “PSI-BLAST”

used for this step• We saw BLAST earlier -- it is a fast way to

find high scoring local alignments• PSI-BLAST is an iterative approach

– an initial scan of a protein database using thetarget sequence T

– align all matching sequences to construct a“sequence profile”

– scan the database using this new profile• Can also pick out and align distantly related

protein sequences for our target sequence T

Page 19: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

The sequence profile looks like this

• Has 20 x M numbers• The numbers are log likelihood of each residue at each position

Page 20: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Preparing for the second step

• Feed the sequence profile to an artificialneural network

• But before feeding, do a simply“scaling” to bring the numbers to 0-1scale

!

x"1

1+ e#x

Page 21: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Intro to Neural nets(the second and third steps of

PSIPRED)

Page 22: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Artificial Neural Network

• Supervised learning algorithm• Training examples. Each example has a

label– “class” of the example, e.g., “positive” or

“negative”– “helix”, “strand”, or “coil”

• Learns how to predict the class of anexample

Page 23: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Artificial Neural Network

• Directed graph• Nodes or “units” or “neurons”• Edges between units• Each edge has a weight (not known a

priori)

Page 24: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Layered Architecture

Input here is a four-dimensional vector. Each dimension goesinto one input unit

http://www.akri.org/cognition/images/annet2.gif

Page 25: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Layered Architecturehttp://www.geocomputation.org/2000/GC016/GC016_01.GIF

(units)

Page 26: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

What a unit (neuron) does• Unit i receives a total input xi from the

units connected to it, and produces anoutput yi = fi(xi) where fi() is the “transferfunction” of unit i

!

xi = wij y j + wi

j"N#{i}

$

yi = fi(xi) = f i wij y j + wi

j"N#{i}

$%

& ' '

(

) * *

wi is called the “bias” of the unit

Page 27: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Weights, bias and transfer function

Unit takes n inputsEach input edge has weight wiBias bOutput a

Transfer function f()Linear, Sigmoidal, or other

Page 28: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Weights, bias and transfer function

• Weights wij and bias wi of each unit are“parameters” of the ANN.– Parameter values are learned from input data

• Transfer function is usually the same forevery unit in the same layer

• Graphical architecture (connectivity) isdecided by you.– Could use fully connected architecture: all units in

one layer connect to all units in “next” layer

Page 29: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Where’s the algorithm?

• It’s in the training of parameters !• Given several examples and their labels: the

training data• Search for parameter values such that output

units make correct predictions on the trainingexamples

• “Back-propagation” algorithm– Read up more on neural nets if you are interested

Page 30: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Back to PSIPRED …

Page 31: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Step 2• Feed the sequence profile to the input layer of

an ANN• Not the whole profile, only a window of 15

consecutive positions• For each position, there are 20 numbers in the

profile (one for each amino acid)• Therefore ~ 15 x 20 = 300 numbers fed• Therefore, ~ 300 “input units” in ANN• 3 output units, for “strand”, “helix”, “coil”

– each number is confidence in that secondarystructure for the central position in the window of 15

Page 32: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

15

Input layer Hidden layer

helix

strand

coil

e.g.,

0.18

0.09

0.67

Page 33: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Step 3

• Feed the output of 1st ANN to the 2nd ANN• Each window of 15 positions gave 3

numbers from the 1st ANN• Take 15 successive windows’ outputs and

feed them to 2nd ANN• Therefore, ~ 15 x 3 = 45 input units in ANN• 3 output units, for “strand”, “helix”, “coil”

Page 34: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Test of performance

Page 35: Neural Networks for Protein Structure Prediction Brown, JMB 1999veda.cs.uiuc.edu › courses › fa08 › cs466 › lectures › Lecture22.pdf · 2008-11-18 · •“Ab initio”

Cross-validation• Partition the training data into “training set” (two

thirds of the examples) and “test set”(remaining one third)

• Train PSIPRED on training set, test predictionsand compare with known answers on test set.

• What is an answer?– For each position of sequence, a prediction of what

secondary structure that position is involved in– That is, a sequence over “H/S/C” (helix/strand/coil)

• How to compare answer with known answer?– Number of positions that match