Presentation is loading. Please wait.

Presentation is loading. Please wait.

CZ3253: Computer Aided Drug design Drug Design Methods I: QSAR Prof. Chen Yu Zong Tel: 6874-6877 Room.

Similar presentations


Presentation on theme: "CZ3253: Computer Aided Drug design Drug Design Methods I: QSAR Prof. Chen Yu Zong Tel: 6874-6877 Room."— Presentation transcript:

1 CZ3253: Computer Aided Drug design Drug Design Methods I: QSAR Prof. Chen Yu Zong Tel: 6874-6877 Email: csccyz@nus.edu.sg http://xin.cz3.nus.edu.sg Room 07-24, level 7, SOC1, National University of Singapore csccyz@nus.edu.sg http://xin.cz3.nus.edu.sgcsccyz@nus.edu.sg http://xin.cz3.nus.edu.sg

2 2 Terminology SAR (Structure-Activity Relationships) –Circa 19 th century? QSAR (Quantitative Structure Activity Relationships) –Specific to some biological/pharmaceutical function of molecule (Absorption, Distribution/Digestion, Metabolism, Excretion) –Brown and Frazer (1868-9) ‘ constitution ’ related to biological response –LogP QSPR (Quantitative Structure Property Relationships) –Relate structure to any physical-chemical property of molecule

3 3 Statistical Models Simple –Mean, median and variation –Regression Advanced –Validation methods –Principal components, co-variance –Multiple Regression QSAR,QSPR

4 4 Modern QSAR –Hansch et. Al. (1963) Activity   ‘ travel through body ’  partitioning between varied solvents –C (minimum dosage required) –  (hydrophobicity) –  (electronic) –E s (steric)

5 5 Choosing Descriptors Buffon ’ s Problem –Needle Length? –Needle Color? –Needle Composition? –Needle Sheen? –Needle Orientation?

6 6 Choosing Descriptors Constitutional –MW, N atoms of element Topological –Connectivity,Weiner index (sums of bond distances) –2D Fingerprints (bit-strings) –3D topographical indices, pharmacophore keys Electrostatic –Polarity, polarizability, partial charges Geometrical Descriptors –Length, width, Molecular volume

7 7 Choosing Descriptors Chemical –Hydrophobicity (LogP) –HOMO and LUMO energies –Vibrational frequencies –Bond orders –Energy total –  G  S  H

8 8 Statistical Methods 1-D analysis Large dimension sets require decomposition techniques –Multiple Regression –PCA –PLS Connecting a descriptor with a structural element so as to interpolate and extrapolate data

9 9 Simple Error Analysis(1-D) Given N data points –Mean –Variance –Regression

10 10 Simple Error Analysis(1-D) Given N data points –Regression

11 11 Simple Error Analysis(1-D) Given N data points –(Poor 0<R 2 <1(Good)

12 12 Correlation vs. Dependence? Correlation –Two or more variables/descriptors may correlate to the same property of a system Dependence –When the correlation can be shown to be due to one changing caused by the change of the other Example: Elephants head and legs –Correlation exists between size of head and legs –The size of one does not depend on the size of the other

13 13 Quantitative Structure Activity/Property Relationships (QSAR,QSPR) Discern relationships between multiple variables (descriptors) Identify connections between structural traits (type of subunits, bond angles local components) and descriptor values (e.g. activity, LogP, % denatured)

14 14 Pre-Qualifications Size –Minimum of FIVE samples per descriptor Verification –Variance –Scaling –Correlations

15 15 QSAR/QSPR Pre-Qualifications Variance –Coefficient of Variation

16 16 QSAR/QSPR Pre-Qualifications Scaling –Standardizing or normalizing descriptors to ensure they have equal weight (in terms of magnitude) in subsequent analysis

17 17 QSAR/QSPR Pre-Qualifications Scaling –Unit Variance (Auto Scaling) –Ensures equal statistical weights (initially) –Mean Centering

18 18 QSAR/QSPR Pre-Qualifications Correlations –Remove correlated descriptors –Keep correlated descriptors so as to reduce data set size –Apply math operation to remove correlation (PCR)

19 19 QSAR/QSPR Pre-Qualifications Correlations

20 20 QSAR/QSPR Scheme Goal –Predict what happens next (extrapolate)! –Predict what happens between data points (interpolate)!

21 21 QSAR/QSPR Scheme Types of Variable –Continuous Concentration, occupied volume, partition coefficient, hydrophobicity –Discrete Structural (1: Methyl group substituted, 0: no methyl group substitution)

22 22 QSAR/QSPR Principal Components Analysis Reduces dimensionality of descriptors Principle components are a set of vectors representing the variance in the original data

23 23 Principal components – reducing the dimensionality of a dataset x y Clearly there is a relationship between x and y - a high correlation. We can define a new variable z = x+y such that we can express most of the variation in the data as the new variable z. This new variable is a principal component. p i is the i th principal component and c i,j is the coefficient of the variable x j. There are v such variables.

24 24 QSAR/QSPR-Principal Components Analysis Geometric Analogy (3-D to 2-D PCA) y z x

25 25 PCA is the transformation of a set of correlated variables to a set of orthogonal uncorrelated variables called principal components. These new variables are a linear combination of the original variables in decreasing order of importance. data matrix loadings (measure of the variation between variables) scores (measure of the variation between samples) eigenvalue Principal components

26 26 QSAR/QSPR Principal Components Analysis Formulate matrix Diagonalize matrix Eigenvectors are the principal components –These principal components (new descriptors) are a linear combination of the original descriptors Eigenvalues represent variance –Largest accounts for greatest % of data variance –Next corresponds to second greatest and so on

27 27 QSAR/QSPR-Principal Components Analysis Formulate matrix (Several types) –Correlation or covariance (N x P) N is number of molecules P is number of descriptors –Variance-Covariance matrix (N x N) Diagonalize (Rotate) matrix

28 28 QSAR/QSPR-Principal Components Analysis Eigenvectors (Loadings) –Represents contribution from each original descriptor to PC (new descriptor) # columns = # of descriptors # rows = # of descriptors OR # of molecules Eigenvalues –Indicate which PC most important (representative of original descriptors) Benzene has 2 non-zero and 1 zero eigenvalue (planar)

29 29 QSAR/QSPR-Principal Components Analysis Scores –Graphing each object/molecule in space of 2 or more PCs # rows = # of objects/molecules # columns = # of descriptors OR # of molecules For benzene corresponds to graph in PC1 (x ’ ) and PC2 (y ’ ) system

30 30 PC1 PC2 x y The PC’s each maximise the variance in the data in orthogonal directions and are ordered by size. Usually only a few components are needed to explain (>90%) of the variance in the data – or the properties are not relevant The first step is to calculate the varience- covarience matrix from the data Principal components

31 31 PC1 PC2 x y If there are s observations each of which contains v values, the data can be represented by a matrix D with v rows and s columns. The varience-covariance matrix is Z = D T D. The eigenvectors of Z are the principal components. Z is a square symmetric matrix so the eigenvectors are orthogonal. Usually the matrix is diagonalised to obtain the eigenvectors (the weightings for the properties) and eigenvalues (the explained variance). Principal components

32 32 80 10 5 3 2 p1.2.3.4.1.1 p2.01.02.3.4.5 p3.02.03.1.2.4 p5.03.4.4.04.3 p5.3.5.5.05.3 eigenvalues – explain % variance Properties Multiply the property value for molecule by this for each eigenvalue Can do regression on the PC’s, eg V = 0.3PC1(0.1) + 0.2PC2(0.1) + 0.4(0.2) so, we’ve reduced a 5 property problem to a two property problem The output looks like this : Principal components

33 33 QSAR on SYBYL (Tripos Inc.)

34 34 QSAR on SYBYL (Tripos Inc.) 10D  3D

35 35 QSAR on SYBYL (Tripos Inc.) Eigenvalues   Explanation of variance in data

36 36 QSAR on SYBYL (Tripos Inc.) Each point corresponds to column (# points = # descriptors) in original data Proximity   correlation

37 37 QSAR on SYBYL (Tripos Inc.) Each point corresponds to row of original data (i.e. #points = #molecules) or graph of molecules in PC space He Napthalene H2OH2O Molecular Size Small acting Big Proximity  similarity

38 38 QSAR on SYBYL (Tripos Inc.) Outlier

39 39 QSAR on SYBYL (Tripos Inc.)

40 40 QSAR/QSPR-Regression Types Principal Component Analysis

41 41 QSAR/QSPR-Regression Types Principal Component Analysis

42 42 Non-Linear Mappings Calculate “ distance ” between points in N- dimensional descriptor/parameter space –Euclidean –City-block distances Randomly assign compounds in set to points on a 2-D or 3-D space Minimize Difference (Optimal N-d  2D plot)

43 43 Non-Linear Mappings Advantages –Non-linear –No assumptions! –Chance groupings unlikely (2D group likely an N-D group) Disadvantages –Dependence on initial guess (Use PCA scores to improve)

44 44 QSAR/QSPR-Regression Types Multiple Regression (MR) PCR PLS

45 45 QSAR/QSPR-Regression Types Linear Regression –Minimize difference between calculated and observed values (residuals) Multiple Regression

46 46 QSAR/QSPR-Regression Types Principal Component Regression –Regression but with Principal Components substituted for original descriptors/variables

47 47 QSAR/QSPR-Regression Types Partial Least Squares –Cross-validation determines number of descriptors/components to use –Derive equation –Use bootstrapping and t-test to test coefficients in QSAR regression

48 48 QSAR/QSPR-Regression Types Partial Least Squares (a.k.a. Projection to Latent Structures) –Regression of a Regression Provides insight into variation in x ’ s(b i,j ’ s as in PCA) AND y ’ s (a i ’ s) –The t i ’ s are orthogonal –M= (# of variables/descriptors OR #observations/molecules whichever smaller)

49 49 QSAR/QSPR-Regression Types PLS is NOT MR or PCR in practice –PLS is MR w/cross-validation –PLS Faster couples the target representation (QSAR generation) and component generation while PCA and PCR are separate PLS well applied to multi-variants problems

50 50 QSAR/QSPR Post-Qualifications Confidence in Regression –TSS-Total Sum of Squares –ESS-Explained Sum of Squares –RSS-Residual Sum of Squares

51 51 QSAR/QSPR Post-Qualifications Confidence in Prediction (Predictive Error Sum of Squares)

52 52 QSAR/QSPR Post-Qualification Bias? –Bootstrapping Choosing best model? –Cross Validation

53 53 QSAR/QSPR Post-Qualification Bootstrapping –ASSUME calculated data is experimental/observed data –Randomly choose N data (allowing for a multiple picks of same data) –Re-generate parameters/regression –Repeat M times –Average over M bootstraps –Compare (calculate residual) If close to zero then no bias If large then bias exists M is typically 50-100

54 54 QSAR/QSPR Post-Qualification Cross-Validation (used in PLS) –Remove one or more pieces of input data –Re-derive QSAR equation –Calculate omitted data –Compute root-mean-square error to evaluate efficacy of model Typically 20% of data is removed for each iteration The model with the lowest RMS error has the optimal number of components/descriptors

55 55 QSPR Example Relation between musk odorant properties and benzenoid structure –Training set of 148 compounds (81 non-musk and 67 musk) –47 chemical descriptors initially –Pre-qualifications Correlations (47-12=35) –Post-qualifications Bootstrapping Test-set –6/6 musks, 8/9 non-musks Narvaez, J. N., Lavine, B. K. and Jurs, P. C. Chemical Senses, 11, 145-156 (1986)

56 56 Practical Issues 10 times as many compounds as parameters fit 3-5 compounds per descriptor Traditional QSAR –Good for activity prediction –Not good for whether activity is due to binding or transport

57 57 Advanced Methods Neural Networks Support Vector Machines Genetic/Evolutionary Algorithms Monte Carlo Alternate descriptors –Reduced graphs –Molecular connectivity indices –Indicator variables (0 or 1) Combinatorics (e.g. multiple substituent sites)

58 58 Tools Available Sybyl (Tripos Inc.) Insight II (Accelrys Inc.) Pole Bio-Informatique Lyonnais –http://pbil.univ-lyon1.fr/http://pbil.univ-lyon1.fr/ Molecular Biology –http://www.infobiogen.fr/services/deambulum/ english/logiciels.htmlhttp://www.infobiogen.fr/services/deambulum/ english/logiciels.html

59 59 Summary QSAR/QSPR –Statistics connect structure/behavior w/ observables –Interpolate/Extrapolate Multi-Variate Analysis –Pre-Qualification –Regression PCA PLS MLS –Post-Qualification


Download ppt "CZ3253: Computer Aided Drug design Drug Design Methods I: QSAR Prof. Chen Yu Zong Tel: 6874-6877 Room."

Similar presentations


Ads by Google