custom calculators in chemaxon tools and knime · 2017. 6. 27. · custom calculators 18 cxcalc and...

28
Building innovative drug discovery alliances Custom Calculators in ChemAxon Tools and Knime Evotec AG, Custom Calculators in ChemAxon Tools and Knime, 23 rd May 2012

Upload: others

Post on 20-Sep-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

Building innovative

drug discovery alliances

Custom Calculators in ChemAxon Tools and Knime

Evotec AG, Custom Calculators in ChemAxon Tools and Knime, 23rd May 2012

Page 2: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

1

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 3: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

2

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 4: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

3

ESMA – Evoseek Searching and Modelling Application

Large integrated application

Java WebStart

Big code base

Complicated to change

Complicated to extend

Calculations and presentation

locked together

Page 5: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

4

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 6: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

5

3 Interfaces to conform to

Object calculate (String mol)

throws CalculatorException

String getResult (String mol)

Public interface

CalculatorFacade

Public interface

ChargedCalculatorFacade

Object calculate (String mol,

double phValue) throws

CalculatorException

String getResult (String mol,

double phValue)

Public interface

ActivityCalculatorFacade

Object calculate (String mol,

double ic50, int

multiplicator) throws

CalculatorException

String getResult (String mol,

double ic50, int

multiplicator)

Page 7: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

6

3 Interfaces to conform to

Object calculate (String mol)

throws CalculatorException

Public interface

CalculatorAlgorithm

Public interface

ChargedCalculator

double getPhValue ()

void setPhValue (double

phValue)

Public interface

ActivityCalculator

int getMultiplicator ()

void setMultiplicator

(final int multiplicator)

double getIc50Value ()

void setIc50Value

(final double ic50Value)

Page 8: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

7

Implementation

@Override

public final Object calculate (final String mol) throws CalculatorException

final BBBAlgorithm calculator = new BBBAlgorithm ()

return calculator.calculate (mol)

@Override

public final String getResult (final String mol)

final Object result = calculate (mol)

return formattedResult

Public class BBB implements CalculatorFacade

Page 9: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

static final String REFERENCE = "Norinder Adv. Drug Del. Rev. 2002, 291"

private static final String ERROR_MESSAGE = "BBB prediction failed: "

protected BBBAlgorithm ()

@Override

public final Object calculate(final String mol) throws CalculatorException

final List<String> BBB = new ArrayList<String> ()

return BBB

Public class BBBAlgorithm implements CalculatorAlgorithm

Custom Calculators

8

Implementation

Page 10: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

9

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 11: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

10

Adding new tools in Marvin

Page 12: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

11

Adding a new service

Page 13: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Extending ChemAxon tools

12

Selecting the method

Page 14: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Extending ChemAxon tools

13

Using the new services

Page 15: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

14

Saving/Loading the configuration

Page 16: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

15

Example calculations

Page 17: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

16

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 18: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

17

Instant JChem

Page 19: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

18

cxcalc and Chemical Terms – command line

cxcalc can be used to access the Custom Calculators

Custom Calculators can be mixed with ChemAxon calculators

Results can be output to SDF files

Chemical Terms calculations can also access the Custom Calculators

Access from the command line

Access in Instant JChem

Combine with ChemAxon calculators

Page 20: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

19

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 21: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

20

Adding custom Calculators to Knime

public class BBBCellFactory extends SingleCellFactory

public BBBCellFactory (DataColumnSpec newColSpec, final int columnIndex, final float pH)

...

@Override

public DataCell getCell (DataRow row)

...

BBB bbb = new BBB ();

• bbb.calculateFromSmiles(currentValue, m_Ph))

return new StringCell ((String)

Import com.evotec.calculators.bbb.BBB

Page 22: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

21

Using Evotec nodes with ChemAxon nodes

Page 23: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

22

Using Evotec nodes with ChemAxon nodes via Knime Web Portal

Page 24: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

23

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 25: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Custom Calculators

24

Adding a new Calculator to Marvin Sketch

Demonstration

Page 26: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Agenda

25

ESMA – current Calculations and Models

Writing Custom Calculators

Integrating with Marvin

Integrating with InstantJChem

Combining Custom Calculators and ChemAxon/Infocom nodes

Demonstration

Conclusions

Page 27: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

PAGE

Conclusions

26

Custom Calculators

We have created a library of custom calculations

The library can be quickly and easily updated

The library can be exposed to chemists through their desktop

ChemAxon tools

The library can also be exposed using Knime to work with

ChemAxon/Infocom nodes

Page 28: Custom Calculators in ChemAxon Tools and Knime · 2017. 6. 27. · Custom Calculators 18 cxcalc and Chemical Terms – command line cxcalc can be used to access the Custom Calculators

Your contact:

Building innovative

drug discovery alliances

Dr Bob Marmon Senior Applications Developer, eScience

+44.(0).1235.44-1402 [email protected]