Icon

04_R-Group_Decomposition

02_R-Group_Decomposition

This is an exercise workflow to perform R-Group Decomposition.

To complete the workflow follow the instructions in the annotations.
I. Compute MCS.
II. Perform R-Group Decomposition.
III. Find how many molecules with each combination of the two selected R-groups are in the dataset.
IV. Create a component to visualize the results of the R-group decomposition.




Annotations and comments
  • 04_R-Group-Decomposition This is an exercise workflow to perform R-Group Decomposition. To complete the workflow follow the instructions in the annotation boxes below.
  • I. Compute MCS Execute the Table Reader node Use the RDKit MCS node (find it in the Node Repository) to compute the MCS for the molecules in the dataset. Configure the node: %%00009- to match a fraction of the molecules (e.g. 0.8); %%00009- the ring atoms match only ring atoms; %%00009- to match valences. Execute the node (e.g. F7) and explore its output (e.g. right-click -> MCS of the input structures)
  • II. Perform R-Group Decomposition Execute all preceding nodes Configure the RDKit R-Group Decomposition node to use the MCS as the scaffold in the configuration dialog Hint: Make sure to connect the output of the RDKit MCS node to the RDKit R-Group Decomposition node
  • III. Find how many molecules with each combination of the two selected R-groups are in the dataset. Execute all preceding nodes in the workflow first. Configure the Pivoting node using flow variables carrying the column names with the selected R-groups: - Available flow variables can be found in the output of the preceding node (Pick R-groups for visualization component) in the Flow Variables Tab - Open configuration dialog of the Pivoting node - Groups Tab: include one column (e.g. R1); Pivots Tab: include one column (e.g. R2) - Manual Aggregation Tab: Add column with pIC50 values and aggregate their count - Tick to "enable hiliting" option in the bottom of the dialog - Flow Variables Tab: choose Rgroup1 for InclList variable in the grouByColumns; choose Rgroup2 for InclList variable in the pivotColumns; - In the Advanced Settings: Set column name to “pivot name” Execute the Pivoting node and explore the output table
  • IV. Create a component to visualize the results of the R-group decomposition. Execute all preceding nodes in the workflow first. The view should have 4 elements: 1. The pivoted table in which the row headers represent the first R-group and the column headers represent the second R-group. The Table View node "pivot table" is already configured. Execute the node and open the interactive view (Right Click > Execute and Open Views). Explore the Table. 2. The images of the molecules displayed like tiles. The images are available from the output of the Render to Images metanode. Use the Tile View node and configure it: %%00009- Options Tab: fix number of tiles per row to 1; choose a title column to show compound_chembl_id; include columns "pIC50" and the column with the svg of the molecule to display; %%00009- Interactivity Tab: set initial page size to 1; enable "Show selected rows only"; %%00009- Formatters Tab: Enable global number format to 2 decimal places. 3. Image of the MCS. The Tile View "MCS core" node is already configured. Execute the node and explore the view. 4. The table with the images of the R-groups of selected molecules. The images are available from the output of the Render to Images metanode. Use the Table View node and configure it: %%00009- Options Tab: select the column with compound_chembl_id and the columns with the svg images of the R-groups to display; %%00009- Interactivity Tab: enable "Show selected rows only". Create a component encapsulating these Views: %%00009- Select the Table View node with the pivot table, the Row Sampling node, the Tile View node with image of the molecule, the Tile View node with the MCS image, and the Table View node with the images of the R-groups; %%00009- Right click on one of the selected nodes and chose "Create Component"; %%00009- Execute the Component and explore the view (Right Click > Execute and Open Views). %%00009
  • I. Explore the output of the sketcher component
  • II. Perform R-Group Decomposition Add the RDKit R-Group Decomposition node and connect it to the output of the Table Reader. Connect the core drawn with the Sketcher component to the optional input. Investigate the output
  • Optional: Configure the layout of component %%00009- open the component (Ctrl/CMD + double click); %%00009- open the Node Usage and Layout Editor by clicking on the corresponding icon in the Toolbar; %%00009- rearrange the elements: the pivoted table at the top; the image of the molecule and the image of the MCS side by side below the pivoted table; and the table with R-groups in the bottom; %%00009- apply the changes; go back to the main workflow and execute component once again to explore the changes in the layout.
  • keep old and new column names
  • R1 column for visualization
  • string to smiles
  • R2
  • R1
  • top: smiles columns bottom: the rest
  • duplicate a column with column names
  • image to 130px
  • Select the Sketcher output
  • Select the second output
  • first group
  • second group
  • transfer variables
  • Core
  • 1st row
  • rename to ANONYMOUS_COLUMN (current column is given as a variable)
  • revert name
  • first row
  • input.table
  • pivot table
  • MCS core

Nodes

Extensions

Links