Docsity

QSAR Modeling: Predicting Biological Activity & Chemical Properties, Study notes of Machine Learning

Partial preview of the text

Download QSAR Modeling: Predicting Biological Activity & Chemical Properties and more Study notes Machine Learning in PDF only on Docsity!

Structure-Activity Modeling - QSAR

Uwe Koch

QSAR

Assumption : QSAR attempts to quantify the relationship between activity and molecular strcucture by correlating descriptors with properties Biological activity = function (parameters) The QSAR relationship is derived from a training set of compounds with known activities Objective : Predictive and robust QSAR models to predict activity of untested molecules Extract patterns related to biological activity to better understand the underlying principles of biological activity. Application: Prioritize large number of compounds à less important to have each prediction correct

QSAR: Application II

REACH explicitly expresses the need to use (Q)SARs to reduce the extent of

experimental animal testing

140.000 chemicals, cost animal testing per compound $200.

QSAR models to prioritize compounds:

Only for compound predicted to be toxic animal testes will be performed

Reduce number of false negatives

According to OECD principles the QSAR model should have:

  • A defined end-point
  • An unambigous algorithm
  • Defined domain of applicability
  • Measures for goodness-of-fit, robustness, predictivity
  • Mechanistic interpretation (if possible)

QSAR: Workflow

Nc1cccccc1 1D 2D 3D Molecular Structures Constitutional Electronic Geometrical Physicochemical Steric Quantum chemical Topological Molecular Descriptors Normalization Standardization Feature selection Outlier detection Data pre-processing Principle component analysis Multiiple linear regression Partial least squares Neural Network Support vector machine Random Forest Data processing R R^ Q^ MSE RMSE Predicted activity Statistical evaluation

QSAR:Descriptors

Representation of a molecule – molecular descriptors: numerical values describing

the properties of a molecule

Descriptors representing properties of complete molecules:

  • log P, dipole moment, polarizability

Descriptors calculated from 2D graphs:

  • topological indices, 2D fingerprints

Descriptors requiring 3D representations:

  • Pharmacophore descriptors

Data processing: Regression methods Multiple linear regression: Y = a0 + a1 * X1 + a2 * X2 + a3 * X3 + …+ an * Xn Stepwise multiple linear regression: A multiple-term linear equation is produced, but not all independent variables are used. Each variable is added to the equation in turn. A new regression is performed. The new term is retained only if the equation passes a test for significance. Principal components regression (PCR): A multiple-term linear equation is created based on a principal-components analysis transformation of the independent variables. Some of the last components are discarded to reduce the size of the model and avoid over-fitting. Partial least squares: Useful when number of descriptors large. Latent variables are chosen as orthogonal linear combinations of original descriptors to provide maximun correlation with dependent variable.

QSAR

Example: Matrix for Hansch Analysis

π: hydrophobic additive parameter for a specific substituent (amount of change caused by this substituent) π-values of aromatic substituents π π -CH3 0.52 -NO2 -0. -C(CH3)3 1.98 -OH -0. -C6H5 1.96 -CO2H -0. -C6H11 2.51 -NH2 -1. -CF3 0. σ: Hammett sigma constant for the influence of meta and para-substituents on acidity of benzoic acid (σ+ for meta- para conjugated systems) Esmeta: Taft equation – measures steric effect of substituents on ester hydrolysis (Me = 0)

Hansch Equation

Hansch equation

Hansch equation: log 1/C = 1.151 π -1.464 σ+ +7.

( n = 22; r = 0.945; s = 0.196; F = 78.6; Q2 =0.841; Spress = 0.238)

N: nr. of compounds

R: internal validation correlation coefficient

S: standard deviation; measure of absolute quality of model (should be < 0.3)

Q2: cross validated R2. Repetition of regression on subsets of data many times

(LMO: Leave many out), compute R on predicted values for molecules in test

set. Overfitting if R2 >> Q2. R2 – Q2 should not exceed 0.3.

Machine learning methods

Most often used as classification methods distinguishing actives from non-actives. Training set: Active and inactive compounds and their descriptors. Supervised learning methods: Regression and classification problems Training set with a known label (active/inactive) Neural network, SVM, RF, regression methods Unsupervised learning methods: No label in training data, eg clustering, PCA

Machine learning methods

SVM: Support vector machine defined by a hyperplane separating to classes of data. Find the line passing as fas as possble from all points. The optimal separating hyperplane maximizes the margin of the training data set. kNN: Classifies an instance by majority vote of its k neighbours. Neighbours are usually identified on the basis of distance in feature space (eg Euclidian). Once labeled instances are available no explicit training is required à lazy learning algorithm. For k =1 and 3 the blue instance will be classified as a member of the red class. For k = 5 as a member of the green class (3 green vs 2 red)

Two popular methods

Machine learning methods

Machine learning in virtual screening Model validation: Classfication error E provides an overall error measure Recall R measures % age of actives retrieved Precision P: % age of positives (tp) correctly predicted Enrichment factor EF tp: true positives, fp: false positives, tn: true negatives, fn: false negatives

Machine learning methods

Test: Extracting small number of actives (<<1%) from a large compound collection

Enrichment: Depends on Target (DH >> TH) Ligands with characteristic features High enrichment can be achieved with Large number of fn à Recall Recall (%age of actives retrieved): SVM/kNN retrieve > 90% of actives TV achieves high enrichment with poor Recall Precision (%of tp of all positives): TV and RF predict small mumber of false positives ML methods can identify recently patented compounds based upon earlier piblications (scaffold hopping) If one wants to retrieve as many actives as possible à SVM followed by kNN and RF If one wants to avoid false positives à TV and RF followed by SVM

QSAR: Applicability domain

Even a robust and validated QSAR model can not predict activity of the entire universe of chemicals. Prediction is valid only if the compound is within the applicability domain of the model. Four methods for definition of the applicability domain: Range based eg. bounding box: based on minimum and maximum values of each descriptor. Geometric methods Distance based eg. K neares neighbors: similarity threshhold to nearest neighbour in the training set Probability density distribution based calculates probability density function for data set. Can identify internal empty regions. R.Todeschini et al. Molecules 2012, 17, 4791-