Icon

BiasedComplementDiversity

Biased Complement Diversity, or BCD

This workflow was first published as supporting information to a paper in JCIM, linked below. The workflow is typically used for the design of screening sets and the triaging of hitlists. It balances the concepts of diversity and quality, where diversity is determined from 2D chemical fingerprints and quality relates to the objectives of the hit-finding campaign, including physical chemical properties of the compounds (e.g., solubility, permeability).

A distinguishing aspect of BCD is the option to bias the selections with available knowledge to improve hit quality, while still effectively sampling the accessible chemical space. BCD workflows have been successfully applied to many drug discovery projects.

Version 1 is the original workflow. A description of the workflow is in the workflow annotations and details are also in the paper.


Generic workflow to do biased complement diversity selections - Jan 2019 - Johanna M. Jansen On different systems, this workflow has taken anywhere between 90 minutes and 12 hours to execute; recommend to try with 1,000 records to verify the workflow runs Two specific user-actions are needed: Step-1, blue box: read in the compound set from which to make a selection Input for the selection process needs to have at a minimum 4 columns, named as follows: PREFERRED_NAME SMILES (Canonical) cl Class An optional 5th column is named: Dscore cl is the cluster-number (can come from any clustering method; needs to be an integer) Class is the class of the compound (A, B, C, D). For biased diversity designs without complement funtion, the best class is A, followed by B, C, and D. For complement designs, the set of compounds to be complemented is class A - all class A compounds get selected. The complement diversity can then be biased using classes B, C, and D. Note that class D is defined as the class with the least desirable compounds. Clusters with only class D compounds are sampled with a single representative only. If you have a score that you want to use to determine the "best" representative of class D, then you should add that to the input table and use it in the sort function inside the meta-node labeled "SingletonAndClassD". For clusters that contain class D as well as better-class compounds, the class D compounds are removed before the selection. So class D compounds only get picked if they are a singleton, or the whole cluster contains class-D compounds, in which case a single representative is picked. The optional column "Dscore" can be used to pick the single best representative for all-D clusters. It needs to be a sortable number. If the file read in through the file reader (blue box) has the required format, that node can be connected directly to the DataCheck meta-node. Otherwise, do the data-processing in the DataProcessing meta-node. That meta-node is currently set-up for the Malaria case-study and expects that the datafile malariahts_trainingset.txt.gz is read-in in the blue box; this file is available from http://www.tdtproject.org/challenge-1---malaria-hts.html Step-2, green box: set the variables for the selection protocol Five variables need to be set in the top "table creator" node (green box); please use the exact options, including capitalization. In bold are the settings used in the paper for the Malaria case-study complement: Yes or No coverageType: P or S coverage: [number] --> used 0.5 in case-study selectD: Yes or No minimizeD: True or False complement = Yes, expects a subset of compounds to belong to class A, and all class A compounds get selected. The compounds to complement class A, need to be in either class B or C (and you can include class D if desired; see description above) coverageType decides whether the coverage is done as a simple percentage of the groupsize or based on the square root of the groupsize coverage is the number used for deciding how much to sample each cluster If coveragteType is P and coverage is 0.1, then 10% of each group gets selected If coverageType is S and coverage is 0.1, then the selection size is 0.1*squareRoot(groupsize) Note that groupsize is the size of the cluster after class D compounds are removed. selectD = Yes, expects the optional 5th column to be present, and be named Dscore. minimizeD = True indicates that lower values of Dscore are better (in other words, Dscore is a penalty); minimize=False indicates that higher values of Dscore are better. You can determine the size of the final selection by executing through the metanode"TotalSelSize". Its output is the total of the selection size, so for complement designs, it includes class-A compounds. If you're designing towards a final number, you can adjust the coverage number variable and run the protocol through this metanode to determine the coverage number before running the actual selection. The un-connected output ports in the DataCheck metanode will contain records that do not have all the required columns (there are 2 ports to allow for either 4 or 5 columns being required) The un-connected output port in the DetermineCoverage meta-node will contain records that failed the check of creating an RDKit molecule The output is the list of identifiers for the selected molecules plus their cluster-number. In addition, there is a column named "Select" which indicates how many compounds were selected from that cluster, and a column named “Path" which indicates the arm in the selection protocol that the compounds came through, and this used for debugging purposes: path 10 is for all-D clusters, path 3 is for singletons, paths 0, 1, and 2 are the three tiers in the BiasedSelection meta- Ensure structure column is set to type "Smiles" Node 152 bias to most preferred classes Node 157 Node 158 Node 159 Node 160 Variable setting Compound set Node 165 each cluster Node 167 pick first 1,000 records for testing Node 187 Node 188 Node 189 Node 190 Node 215 Node 234 Node 239 Node 241 Node 242 Node 254 Node 255 Node 257 pick first 1,000 records for testing CSV Writer (deprecated) CASE Switch Data (Start) (deprecated) Loop End (deprecated) prepForCase Table Row to Variable (deprecated) CASE Switch Data (End) (deprecated) Table Creator File Reader (deprecated) Column Filter Group Loop Start BiasedSelection Row Filter (deprecated) Concatenate Column Filter SingletonAndClassD DetermineCoverage TotalSelSize SetSelectPath Concatenate EscapeOption DataProcessing Column Splitter (deprecated) Table Row to Variable (deprecated) DataCheck Row Filter (deprecated) Generic workflow to do biased complement diversity selections - Jan 2019 - Johanna M. Jansen On different systems, this workflow has taken anywhere between 90 minutes and 12 hours to execute; recommend to try with 1,000 records to verify the workflow runs Two specific user-actions are needed: Step-1, blue box: read in the compound set from which to make a selection Input for the selection process needs to have at a minimum 4 columns, named as follows: PREFERRED_NAME SMILES (Canonical) cl Class An optional 5th column is named: Dscore cl is the cluster-number (can come from any clustering method; needs to be an integer) Class is the class of the compound (A, B, C, D). For biased diversity designs without complement funtion, the best class is A, followed by B, C, and D. For complement designs, the set of compounds to be complemented is class A - all class A compounds get selected. The complement diversity can then be biased using classes B, C, and D. Note that class D is defined as the class with the least desirable compounds. Clusters with only class D compounds are sampled with a single representative only. If you have a score that you want to use to determine the "best" representative of class D, then you should add that to the input table and use it in the sort function inside the meta-node labeled "SingletonAndClassD". For clusters that contain class D as well as better-class compounds, the class D compounds are removed before the selection. So class D compounds only get picked if they are a singleton, or the whole cluster contains class-D compounds, in which case a single representative is picked. The optional column "Dscore" can be used to pick the single best representative for all-D clusters. It needs to be a sortable number. If the file read in through the file reader (blue box) has the required format, that node can be connected directly to the DataCheck meta-node. Otherwise, do the data-processing in the DataProcessing meta-node. That meta-node is currently set-up for the Malaria case-study and expects that the datafile malariahts_trainingset.txt.gz is read-in in the blue box; this file is available from http://www.tdtproject.org/challenge-1---malaria-hts.html Step-2, green box: set the variables for the selection protocol Five variables need to be set in the top "table creator" node (green box); please use the exact options, including capitalization. In bold are the settings used in the paper for the Malaria case-study complement: Yes or No coverageType: P or S coverage: [number] --> used 0.5 in case-study selectD: Yes or No minimizeD: True or False complement = Yes, expects a subset of compounds to belong to class A, and all class A compounds get selected. The compounds to complement class A, need to be in either class B or C (and you can include class D if desired; see description above) coverageType decides whether the coverage is done as a simple percentage of the groupsize or based on the square root of the groupsize coverage is the number used for deciding how much to sample each cluster If coveragteType is P and coverage is 0.1, then 10% of each group gets selected If coverageType is S and coverage is 0.1, then the selection size is 0.1*squareRoot(groupsize) Note that groupsize is the size of the cluster after class D compounds are removed. selectD = Yes, expects the optional 5th column to be present, and be named Dscore. minimizeD = True indicates that lower values of Dscore are better (in other words, Dscore is a penalty); minimize=False indicates that higher values of Dscore are better. You can determine the size of the final selection by executing through the metanode"TotalSelSize". Its output is the total of the selection size, so for complement designs, it includes class-A compounds. If you're designing towards a final number, you can adjust the coverage number variable and run the protocol through this metanode to determine the coverage number before running the actual selection. The un-connected output ports in the DataCheck metanode will contain records that do not have all the required columns (there are 2 ports to allow for either 4 or 5 columns being required) The un-connected output port in the DetermineCoverage meta-node will contain records that failed the check of creating an RDKit molecule The output is the list of identifiers for the selected molecules plus their cluster-number. In addition, there is a column named "Select" which indicates how many compounds were selected from that cluster, and a column named “Path" which indicates the arm in the selection protocol that the compounds came through, and this used for debugging purposes: path 10 is for all-D clusters, path 3 is for singletons, paths 0, 1, and 2 are the three tiers in the BiasedSelection meta- Ensure structure column is set to type "Smiles" Node 152 bias to most preferred classes Node 157 Node 158 Node 159 Node 160 Variable setting Compound set Node 165 each cluster Node 167 pick first 1,000 records for testing Node 187 Node 188 Node 189 Node 190 Node 215 Node 234 Node 239 Node 241 Node 242 Node 254 Node 255 Node 257 pick first 1,000 records for testing CSV Writer (deprecated) CASE Switch Data (Start) (deprecated) Loop End (deprecated) prepForCase Table Row to Variable (deprecated) CASE Switch Data (End) (deprecated) Table Creator File Reader (deprecated) Column Filter Group Loop Start BiasedSelection Row Filter (deprecated) Concatenate Column Filter SingletonAndClassD DetermineCoverage TotalSelSize SetSelectPath Concatenate EscapeOption DataProcessing Column Splitter (deprecated) Table Row to Variable (deprecated) DataCheck Row Filter (deprecated)

Nodes

Extensions

Links