screen knime ing - mpi-cbg · antje niederlein, [email protected] outline - 1st half ‣...

47
ScreenKNIMEing How HCS-Tools and Scripting Integrations can be used in a screening environment 1 1 Friday, February 24, 2012

Upload: others

Post on 28-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

ScreenKNIMEingHow HCS-Tools and Scripting Integrations can be used in a screening environment

11Friday, February 24, 2012

Page 2: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Outline - 1st half‣ HCS-Tools step-by-step

‣ Setup / Preferences

‣ Todays task

‣ What we are working with

‣ The big goal

‣ Step by step

2

2Friday, February 24, 2012

Page 3: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Outline - 2nd half‣ Scripting Integrations

‣ Setup / Preferences

‣ Node Types

‣ Configuration dialog elements

‣ Script editor

‣ Template repository

‣ ...

‣ Todays task

3

3Friday, February 24, 2012

Page 4: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

HCS-Tools4

4Friday, February 24, 2012

Page 5: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Setup / Preferences ‣ Installation

‣ http://tech.knime.org/update/community-contributions/nightly

‣ Community Contributions --> KNIME HCS Tools

‣ Preferences

5

5Friday, February 24, 2012

Page 6: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Preferences‣ Minimal samples required to calculate mean / median

‣ Minimal samples required to calculate variance / MAD

‣ ... at least x samples per group should be present to provide a descent estimate of the statistic

‣ important for normalization and QC nodes

‣ less samples will result in a warning

‣ Scaling factor for MAD

‣ set to the factor proposed for normal distributed data

6

6Friday, February 24, 2012

Page 7: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Preferences‣ Barcode patterns

‣ regular expressions (separated by ‘;’) which describes a barcode standard

‣ used for ‘Expand Barcode’ node to automatically retrieve meta data from the barcode, and ‘Plate Viewer’ node

‣ possible placeholders

‣ projectcode, libcode, libnumber, date, replicate, assay, description, concentration, concunit, timepoint, customa, customb, customc, customd

‣ (?<libplatenumber>[0-­‐9]{3})(?<projectcode>[A-­‐z]{2})(?<date>[0-­‐9]{6})(?<replicate>[A-­‐z]{1})-­‐(?<libcode>[_A-­‐z\d]{3})(?<assay>[-­‐_\s\w\d]*

7

7Friday, February 24, 2012

Page 8: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Todays task‣ Where do we start?

‣ RNAi screen has been performed with a stable cell line. Cells were fixed and stained

‣ Nuclei and cytoplasm staining

‣ Marker 1 and Marker 2

‣ 39 x 384-well plates

8

8Friday, February 24, 2012

Page 9: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Todays task‣ What are we working with?

‣ Results from an image analysis (Acapella) of images taken by the Opera - an automated confocal microscope from PerkinElmer

‣ Each RES-file (XML-format) contains the results of one 384 well plate

‣ Measurements

‣ Number of cells in the well

‣ several quality control measurements (intensities of different channels)

‣ The Layout is given as an Excel-sheet

9

9Friday, February 24, 2012

Page 10: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

The Layout‣ An Excel-sheet of a certain format provides information

on the treatment

‣ Positive Transfection Controls (Tox1, Tox, Tox3)

‣ Negative Controls (Mock, Untreated)

‣ RNAi library

10

10Friday, February 24, 2012

Page 11: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Big goal‣ Extract RNAi’s which are not toxic but show a

significant increase of the signals in both marker channels

11

11Friday, February 24, 2012

Page 12: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Load the raw data

‣ Add meta data from both barcode and layout

‣ Inspect data visually

‣ Strength of cell number reduction for transfection controls seems to be different, has to be quantified

‣ Readouts show a plate to plate variation

‣ Did the transfection work well?

‣ ‘well’ = at least 80% transfection efficiency

Step by step

12

12Friday, February 24, 2012

Page 13: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Load the raw data

‣ Add meta data from both barcode and layout

‣ Inspect data visually

‣ Strength of cell number reduction for transfection controls seems to be different, has to be quantified

‣ Readouts show a plate to plate variation

‣ Did the transfection work well?

‣ ‘well’ = at least 80% transfection efficiency

Step by step

12

Data Input

12Friday, February 24, 2012

Page 14: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Load the raw data

‣ Add meta data from both barcode and layout

‣ Inspect data visually

‣ Strength of cell number reduction for transfection controls seems to be different, has to be quantified

‣ Readouts show a plate to plate variation

‣ Did the transfection work well?

‣ ‘well’ = at least 80% transfection efficiency

Step by step

12

Data Input

Meta data integration

12Friday, February 24, 2012

Page 15: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Load the raw data

‣ Add meta data from both barcode and layout

‣ Inspect data visually

‣ Strength of cell number reduction for transfection controls seems to be different, has to be quantified

‣ Readouts show a plate to plate variation

‣ Did the transfection work well?

‣ ‘well’ = at least 80% transfection efficiency

Step by step

12

Data Input

Meta data integration

Visualization

12Friday, February 24, 2012

Page 16: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Load the raw data

‣ Add meta data from both barcode and layout

‣ Inspect data visually

‣ Strength of cell number reduction for transfection controls seems to be different, has to be quantified

‣ Readouts show a plate to plate variation

‣ Did the transfection work well?

‣ ‘well’ = at least 80% transfection efficiency

Step by step

12

Data Input

Meta data integration

Visualization

Quality Control

12Friday, February 24, 2012

Page 17: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Plate wise normalization / Percent of control (POC)

‣ plate data has to be normalized on the Mock wells

‣ two effects:

‣ Mock wells will be centered around 100% (eliminates plate wise variation)

‣ Transfection controls are represented as percentage which makes it easy to judge about transfection efficiency

‣ Quality control - SSMD

‣ Measure of how well positive control and negative control are separated from each other. It’s better interpretable than z prime factor

Step by step

13

13Friday, February 24, 2012

Page 18: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Plate wise normalization / Percent of control (POC)

‣ plate data has to be normalized on the Mock wells

‣ two effects:

‣ Mock wells will be centered around 100% (eliminates plate wise variation)

‣ Transfection controls are represented as percentage which makes it easy to judge about transfection efficiency

‣ Quality control - SSMD

‣ Measure of how well positive control and negative control are separated from each other. It’s better interpretable than z prime factor

Step by step

13

Normalization

13Friday, February 24, 2012

Page 19: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Plate wise normalization / Percent of control (POC)

‣ plate data has to be normalized on the Mock wells

‣ two effects:

‣ Mock wells will be centered around 100% (eliminates plate wise variation)

‣ Transfection controls are represented as percentage which makes it easy to judge about transfection efficiency

‣ Quality control - SSMD

‣ Measure of how well positive control and negative control are separated from each other. It’s better interpretable than z prime factor

Step by step

13

Normalization

Quality Control

13Friday, February 24, 2012

Page 20: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Remove all screening plate where none of the transfection controls shows an efficiency < 80 %

‣ keep, if at least on transfection control has less then 20% cells

‣ Actual hit selection

‣ consider only wells with a cell number comparable to Mock(‘comparable’ = +- 0.5 standard deviation away from the median)

‣ consider wells which show more than 2 standard deviation increase of both marker channel signals

‣ Z-score normalization of the whole screen based on Mock

‣ centralize Mock values around 0 with standard deviation 1

Step by step

14

14Friday, February 24, 2012

Page 21: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

‣ Remove all screening plate where none of the transfection controls shows an efficiency < 80 %

‣ keep, if at least on transfection control has less then 20% cells

‣ Actual hit selection

‣ consider only wells with a cell number comparable to Mock(‘comparable’ = +- 0.5 standard deviation away from the median)

‣ consider wells which show more than 2 standard deviation increase of both marker channel signals

‣ Z-score normalization of the whole screen based on Mock

‣ centralize Mock values around 0 with standard deviation 1

Step by step

14

Normalization

14Friday, February 24, 2012

Page 22: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Get ready‣ Install the HCS-Tools (and Scripting Integrations)

‣ Download tutorial

‣ (Purpose)

‣ Where to find the node?

‣ How to configure the node?

‣ How it works?

‣ (What does the node view show?)

‣ What does the output table contain?

‣ Download workflow (including example data)

15

15Friday, February 24, 2012

Page 23: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Scripting Integrations (R)

1616Friday, February 24, 2012

Page 24: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Setup / Preferences‣ Installation

‣ http://tech.knime.org/update/community-contributions/nightly

‣ Community Contributions --> KNIME R Scripting Extension

17

17Friday, February 24, 2012

Page 25: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Preferences

18

18Friday, February 24, 2012

Page 26: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Node Types

19

‣ Plot

‣ Snippet

‣ OpenIn...

‣ (Generic nodes)

19Friday, February 24, 2012

Page 27: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (script view)

20

Column namesScripting area

20Friday, February 24, 2012

Page 28: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Template tab

21

21Friday, February 24, 2012

Page 29: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Template tab

21

Template Repository

21Friday, February 24, 2012

Page 30: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Template tab

21

Template Repository

21Friday, February 24, 2012

Page 31: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Template tab

21

Template Repository

21Friday, February 24, 2012

Page 32: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Template tab

21

Template RepositoryTemplate Description / Source

21Friday, February 24, 2012

Page 33: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Template tab

21

Template RepositoryTemplate Description / Source

21Friday, February 24, 2012

Page 34: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Template tab

21

Template RepositoryTemplate Description / Source

21Friday, February 24, 2012

Page 35: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

22

22Friday, February 24, 2012

Page 36: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

22

RGG interface of the selected template

22Friday, February 24, 2012

Page 37: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

22

RGG interface of the selected template

modify final script

22Friday, February 24, 2012

Page 38: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

22

RGG interface of the selected template

modify final script

22Friday, February 24, 2012

Page 39: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

22

RGG interface of the selected template

modify final script

22Friday, February 24, 2012

Page 40: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

23

23Friday, February 24, 2012

Page 41: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

23modify template (dev)

23Friday, February 24, 2012

Page 42: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot / Snippet‣ Script Editor tab (template view)

23modify template (dev)

RGG (XML)

23Friday, February 24, 2012

Page 43: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Tips & Tricks for Editing ‣ Mouse click = ”Column name”

‣ Alt + Mouse click = kIn$”Column name”

‣ Ctrl + Mouse click = Displays possible domain values of the column and offers to insert a selection (comma separated

‣ Press Apple/Windows key and select multiple = as soon as you release the key, the selected column names will be inserted “column 1”,”column 2”,...

24

24Friday, February 24, 2012

Page 44: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Plot output

25

25Friday, February 24, 2012

Page 45: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Todays task‣ Are the readouts normal distributed?

‣ Use QQ-Plot template and Shapiro Wilk test template

‣ Create density distribution plots for each readout

‣ save the plots to disk

‣ put the readout name into the title

‣ collect the plots as images in the loop

26

26Friday, February 24, 2012

Page 46: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Todays task‣ Write your own little plot template which returns the

histogram of a user defined number of random normal distributed values

‣ The mean and standard deviation should be taken from the estimates of a chosen numeric column of the input table

27

27Friday, February 24, 2012

Page 47: Screen KNIME ing - MPI-CBG · Antje Niederlein, niederle@mpi-cbg.de Outline - 1st half ‣ HCS-Tools step-by-step ‣ Setup / Preferences ‣ Todays task ‣ What we are working with

Antje Niederlein, [email protected]

Get ready‣ Download tutorial

‣ Download workflow (including example data)

28

28Friday, February 24, 2012