This KNIME workflow facilitates comprehensive assessment of biological target tractability by integrating up-to-date data from multiple public resources including UniProt, ChEMBL, PDB, Open Targets, and Human Protein Atlas. Users can input target lists using UniProt accession codes or gene symbols, either via file upload or direct entry.
The workflow retrieves extensive functional and expression information such as protein function, subcellular localization, tissue-specific and disease-relevant expression data, and related disease annotations. This enables evaluation of target relevance in the biological context of interest.
For tractability insights, it collects rich druggability data comprising associated mechanisms of action (MOA), linked approved and investigational drugs with detailed activity profiles, and chemical probes validated for target modulation. It further aggregates compound bioactivity data by assay type, supporting ligand-based drug discovery and QSAR modeling.
Structure-based tractability is informed through retrieval of experimental 3D structures and ligand information from PDB. Additional small-molecule tractability scores and druggable family classifications come from Open Targets, delivering a multi-dimensional view of target feasibility.
Interactive visualizations summarize these data, enabling filtering and detailed exploration of targets’ clinical development status, drug-target interactions, chemical probe availability, compound activity breadth, and structural data quality. The workflow supports export of results for downstream analysis, making it a valuable tool for prioritizing targets to guide resource allocation in drug discovery projects.
URL: Assessing Target Tractability: A Hands-On KNIME Workflow Powered by UniProt, ChEMBL, PDB, and Open Targets Data https://medium.com/low-code-for-advanced-data-science/target-tractability-knime-workflow-using-uniprot-chembl-pdb-opentargets-dca70f9fb3f0
Annotations and comments
Targets input
Targets retrieval, revision and selection through UniProt data.
Ligand data: MOAs, indications, drug activity, bioactivities association and chemical probes through ChEMBL
WebPortal
If the target ID column is not correctly selected by the user or it's not selected at all, the UniProt Accession or Gene to Target Info component will fail and the uniprot_data_retrieval_problem variable will be set to 1 (otherwise set to 0).
Retrieve basic target info from ChEMBL
Retrieve MOA-indication data
Retrieve activities for approved/investigational drugs (possible only for targets with MOA data).
Check max dataset size
WebPortal page
Run mode selector: real vs (pre-loaded) example
EXAMPLE: pre-loaded targets input
File output & export
Retrieve the number of distinct compounds with available activity data for each target
Extract the number and name of chemical probes for targets available in ChEMBL.
Target structure data: association through PDB
Target tractability data: small molecule tractability from Open Targets
Distinct Ensembl gene IDs can be associated with the same UniProt ID (e.g., P62269). For these cases, we retrieved target tractability separately from Open Targets and then combined the data uniquely under the same UniProt ID.
UniProt data to export
target input method
switch end
wf_run_type
case switch end
MOA-indication
empty table switch end
target unavailable in chembl
switch end
(it uses only the 1st non-empty input)
no entry with ensemble
gene ID available switch end
target input method
switch start
1. from a file
2. write or paste in a text editor
wf_run_type
case switch start
uniprot_target_retrieval_problem
switch start
example file
target_druggability_data
target_functional_expression_data
uniprot_data_retrieval
try-catch end
split ensembl gene cols
on new line char ";\n"
split open target tractability
split open target tractability
description
avoid input empty tables
in DB Looping node
(otherwise it stops)
switch end
empty table
switch stop
chembl_db_type_index
switch end
chembl_db_type_index
switch start
filter out
secondary cols
filter out original
mol order
filter out rounded
activity mean & SD cols
rename as
target_molecule_chembl_id
rename aggregated
columns
re-sort cols
chembl_id_col
split chembl_id col
on bottom
ChEMBL Activity From
Molecule Retrieval input
ChEMBL Activity From
Molecule Retrieval output
concatenate
rows
concatenate cases
retrieve data for
current assay_ids
1. adjust target
mutation data
2. retrieve activities
(adapted for SQLite
1. adjust target
mutation data
2. retrieve activities
select assay description
and docs table
remove duplicates based on
target_molecule_chembl_id
avoid input empty tables
in DB Looping node
(otherwise it stops)
switch start
empty table
switch start
make the assay_id
list unique
group by activity type
aggregate accession numbers
(useful for multiple protein targets
as protein families or complexes)
aggregate possible multiple
phenotypic assay classification
re-join cols
join original
mol order
original_mol_order
substitute std_value (SD)
with std_value (SD) (rounded)
to avoid numbers with too many
digits due to the calculation of SD
(e.g. 70.333333333333)
substitute std_value (Aggregated)
with std_value (Aggregated) (rounded)
to avoid numbers with too many
digits due to the calculation of mean
(e.g. 70.333333333333)
merge vars
cast canonical
smiles
connect to
ChEMBL
reset rowID
If assay_test_type is missing
and phenotypic_assay_type = "In vivo efficacy"
=> assay_test_type = "In vivo"
split top rows with:
standard_relation missing
or equal to: "=" or "~"
for these cases mean standard_value
will be used as representant
split top rows with: tandard_relation
equal to: ">" or ">=" or ">>"
for these cases the max standard_value
will be used as representant
split top rows with: tandard_relation
equal to: "<" or "<=" or "<<"
for these cases the min standard_value
will be used as representant
(2nd output should be empty)
split top rows for which SD shouldn't be added
to the aggregated activity col:
activities = 1 OR
standard relation = "<", ">","<=", ">=""<<", ">>", "~"
min_target_confidence_selection
sort rows rationally:
1. original mol order
2. target association score DESC
3. target type
4. target name
5. target organism
6. target mutation
7. assay type
8. activity standard type
9. activity standard relation
10. activity standard value (aggregated)
sort rows rationally:
1. original mol order
2. target association score DESC
3. target type
4. target name
5. target organism
6. target mutation
7. assay type
8. activity standard type
9. activity standard relation
10. activity standard value
create source
reference
create general activity col (without SD)
using rounded activity aggregated
create general activity col (with SD)
using rounded activity aggregated & SD
adjust upper/lower case format
of target_type, doc_type,
phenotypic assay, data_validity_comment
& activity comment columns
re-transform empty values for std_type,
std relation, std_units to missing
adjust upper/lower case format
of target_type and phenotypic
assay columns
transform missing values for std_type,
std relation, std_units to empty
(necessary to create a general activity string)
min_target_confidence_score
filter out
expression columns
group by activity mean
rounding expression
loop start
group by activity SD
rounding expression
loop start
group by activity mean
rounding expression
loop end
group by activity SD
rounding expression
loop end
round activity mean
according with specific
expression
round activity SD
according with specific
expression
activity_mean_rounding_expression
activity_SD_rounding_expression
std_type-std_units
identifier
filter out
std_type-std_units
identifier
target_chembl_id_col
target_mutation_col
ChEMBL Activity Type
Retrieval output
1. adjust target
mutation data
2. retrieve activity type
1. adjust target
mutation data
2. retrieve activity type
(adapted for SQLite)
retrieve
activity_stds_lookup
calculate domain for string
cols otherwise it may give problems
merge cols
output sql_chembl_id-mutation-idx_triplets
flow variable to be used efficiently in the query
a row-based column with content is also added
to the input table for inspection but it's not
really used in the component
select the std_type &
std_units retrieved
sort by sdt_type
& std_units
compounds
to string
compounds
to long
no target with defined
target_chembl_id
switch end
probes not available
switch end
filter only target chembl_id
and variant cols
filter out ord
filter out all cols
rename "name" as
"chemical_probes" and ligand_chembl_id
as "number_of_chemical_probes"
rename cols as:
target_chembl_id
target_variant
will be renamed as original
before output
rename target_chembl_id
and target_variant cols
as they were in input
rename mutation
as target_variant
resort cols
ChEMBL Chemical Probes
From Target Retrieval input
ChEMBL Chemical Probes
From Target Retrieval output
concatenate activity-associated
& MOA-associated chemical probes
(assigns missing values for mutation
associted with probes associated via
MOA table because that's mutation-unspecific)
retrieve prioritised name
for each ligand_chembl_id
the first available name type in the
following list will be chosen:
1. pref_name
2. synonym: TRADE_NAME
3. synonym: INN
4. synonym: USAN
5. synonym: ATC
6. synonym: FDA
7. synonym: EMA
8. synonym: OTHER
9. synonym: RESEARCH_CODE
10. compound_name (first available)
retrieve target_chembl_id,
target_mutation & ligand_chembl_id
of chemical_probes identified as the chemical probes active with target of interest
with a pchembl_value >=6
retrieve target_chembl_id,
& ligand_chembl_id
of chemical_probes identified as the chemical probes associated with target of interest
via the MOA table
(please note that this table is target-variant-unspecific)
remove duplicates based
on target_chembl_id-variant_cols_regex
filter out duplicates
(necessary only for
the SQLite query)
remove duplicates
based on target_chembl_id,
target_mutation & ligand_chembl_id
triplets
no target with defined
target_chembl_id
switch start
probes not available
switch start
group by target_chembl_id &
target_variant;
unique concatenate cmp names
join target_chembl_id
ligand_chembl_id
and (ligand) name
filter out undefined
target_chembl_ids
apply
_new_rowID
replace empty or missing
target_variant with "WT"
sort by:
1. target_chembl_id
2. target_variant
3. name
_new_rowID
empty table
with expected cols
validate table and insert
cols in the case of
not available probes
chembl_credentials_retrieval_mode
case switch end
chembl_db_type_index
switch end
0. postgres
1. sqlite
chembl_credentials_retrieval_mode
case switch start:
0. user & password
1. from KNIME Hub
filter out col:
"target_chembl_id (right)"
(present when the input reference
column is called like that)
filter only
target_chembl_id_col
filter out
_target_original_order
remove "(Unique concatenate)
suffix
rename
grouping-related cols
rename molecule_name
as drug_name
resort cols for
indication_summary
ChEMBL MOA-Indication
From Target Retrieval input
ChEMBL MOA-Indication
From Target Retrieval output
add an empty row in cases
where indication data is not available
for molecules with current MOA
(it is necessary otherwise we loose MOA info
on the cross-joiner node)
join MOA &
indication info
join indication refs
& indication info
retrieve moa info
for input uniprot accession
retrieve indication info
for input molecule_chembl_id
retrieve
indication info
retrieve moa info
filter out duplicates based on
target_chembl_id
no available moa info
case switch start
extract list of involved
drug (chembl_id)
group by indication-drug pairs
aggregate indication references
group by target-moa
aggregate mols
group by mesh
heading & mesh id
unique concatenate
indication_summary in
a single row
group by target-moa-drug
aggregate moa references
LEFT JOIN input
target_chembl_id col
to output also targets
with no MOA info
join _target_original_order
needed to generate
nice aggregated MOA content
for each target-moa
pair loop end
compare mechanism_of_action
with standard_moa_name
if mechanism_of_action != standard_moa_name
and action_type not null or empty string
then mechanism_of_action = standard_moa_name
otherwise mechanism_of action
generate
standard_moa_name
generate
_target_original_order
filter only indication data
of molecule with current MOA
new rowID
as rowID
sort by:
1. mesh
2. max phase DESC
sort by:
1. drug_name
2. mesh_heading
sort by:
1. drug name
2. max phase DESC
3. disease
4. indication_ref_url
adjust col header:
1. Substitute "_" with " "
2. Capitalize only the first letter
handle camel case
and upper cases
transpose
table
compounds_for_activity_type
substitute ";" for ""
on multi-rows colummns
target_input_file_text
target_input_representation
validate table and fill up
with missing values
validate table and insert
missing for unavailable cols
(it happens for targets not in chembl)
Target Input Method
Selection input
Target Input Method
Selection output
modify target_input_representation
as flow variable
target_input_method
create list
rename col as
target_input_representation
substitute "\n" with ","
target_representation_input_text
target_representation_input_title
input_targets
ungroup targets
input_targets to row
display_filter_sliders
case switch end
display_filter_sliders
case switch start
target_moa_data_available
case switch start
re-establish true null values
for columns containing "?"
1. Drug | mechanism ref url
2. Drug | disease | max phase for ind
indication ref url
nowrap_cols
cols_to_display
resort cols for
sunburst chart
moa_col
extract table spec
col index + 1
(as in CSS)
select
nowrap cols
css_nowrap_selected_cols
transpose
inject vars
number of indications
range filter
number of drugs
range filter
number of available
structures
target type filter:
default: all available
action type filter:
default: all available
target organism filter:
default: all available
(filter type is list with
a max lentgth = 5
because the n of organisms
can be large)
handle missing values
for specific columns
max_phase to string
hyperlink
UniProt accession
substitute "\n" for "<br>"
on multi-rows strings
to be displayed in a javascript table
MOA sunburst chart
MOA-indication summary table
note: It is important that the input table
contains all columns that can be displayed,
not only the columns selected to be shown.
Otherwise, Interactive Range Slide Filter Widgets
based on columns filtered out will not function correctly.
MOA-indication summary table
page header
split MOA URLs
as set
rename _url_col
as original
re-group
hyperlinked col
sort cols in the
original order
filter out
all the rows
re-establish
_original_rowID
extract rowID
as original_col_order
add hyperlink to
"Drug | mechanism ref url" col
ungroup
_url_col
(if delimited by delimiter)
split drug-disease-ref col
as set
add hyperlink to
"Drug | disease | max phase | indication ref url" col
extract col names
add "OLD"
suffix
add "NEW"
suffix
join old and
new col names
filter out rows
with missing moa
target_moa_data_available
filter cols
calculate range
for some cols
display_filter_sliders
to vars
create a nowrap cols set
(no group)
extract rowID
concatenate default and
optionally selected
protein target types
extract dimension
to list
n_selected_target_types
default
selected_protein_target_types
uniprot_data_retrieval
try-catch start
only_reviewed_proteins
target_id_method_index
case switch end
target_id_method_index
case switch start
select target_id_col
filter out cols related
with webservice query
target_id_col
UniProt Gene to Target
Info input
UniProt Gene to Target
Info output
concatenate responses 4XX,
other problems and not found
entries
concatenate filtered
out proteins
concatenate gene searched
by geneName & by geneSynonyms
query UniProt
extract results
max_protein_existence_level
substitute missing values
with "NOT FOUND"
split top only searched
genes by matching geneName
(case-sensitive)
split top only searched
genes by matching geneSynonyms
(case-sensitive)
split bottom rows with empty body
(uniprot_code not found)
split top only protein whose
existence evidence is lower/equal than
max_protein_existence_level
apply
new_rowID
retrieved_target_id_ref_col
max_protein_existence_level_description
target_id_method
uniprot_query_prefix
create uniprot_query
json to str
extract
proteinExistenceLevel
remove suffix from ensembleGeneId
(it represents ensemble version)
warning: it should re-match possible
semicolumn symbol ";" present for entries
with multiple associated ensemble gene ids (eg: P62269)
new_row_id_expression
adjust target_id_method
to snake_case
ungroup
results
uniprot_query_expression
replace "?"
with missing
for each list col
loop start
list cols
bottom
group by _original_rowID
aggregate col: unique concatenate
rejoin
non-list cols
for each list col
loop end
ungroup current
list col
col_order
group by
uniprot accession &
unique concatenate fields
resort
pre-select_all_targets
pre-select_all_targets
case switch end
pre-select_all_targets
case switch start
hide_table switch
start
color by organism
scientific name
filter out
selection col
wider_cols
adjust some col names
re-sort cols
for sunburst chart
UniProt Target
Search Selection input
UniProt Target
Search Selection output
col index + 3
(as in CSS)
(accounts for colour
and selection columns)
css_wider_selected_cols
calculate domain for
organismScientificName
(used for coloring)
inject var:
pre-select_all_targets
select all?
pre-selection column
JS view to view all rows
Select rows at start
Use preselection column
to store selection
select the data with
all the columns
select the targets
selected by the interactive view
convert knime-table multi-line separator ";\n"
into html multi-line separator ";<br>"
convert html multi-line separator ";<br>"
into knime-table multi-line separator ";\n"
targets_found
target sunburst chart
display available
protein targets
targets found
select column1
extract table
dimensions
hide_table
if n. cols or n. rows = 0
column1 to var
workflow intro
selected target identification column
split possible multiple
ensemble gene ids
filter cols:
gene symbols
ensembleGeneId
and primary accession
filter out non-aggregated
HPA link columns
filter only
new created cols
rename as
original col
for each HPA data type
loop start
regroup by uniprot
accession and unique
concatenate new cols
left join HPA cols
to original table
re-join gene symbol
and primary accession
for each HPA data type
loop end
add HPA data type
URL col
add HPA data type
URL hyperlink col
Human Protein Atlas
target expression links
hyperlink_col_name
hyperlink_expression
if content of "Gene synonyms" = "Gene"
(ie it's copied from "Gene synonym")
"Gene synonyms" => null
otherwise => "Gene synonyms"
filter out _row_idx
if content of "Gene" is
missing, replace it with
"Gene synonym"
concatenate rows with
and withtout gene synonyms
generate
_row_idx
spit top:
not missing gene synonyms
sort by _row_idx
select the target
representation col
filter out
duplicate rows
filter out rows with
missing target representation
create oufile dir
create 1 empty
row
to lists
all outfile path
to strings
outfile_names
tmp_folder_prefix
export_path
strip out digits
relative to seconds
in timestamp
outfile_extensions
outfile_var_names
timestamp format
switch end
timestamp format
switch start:
1. string
2. date&time
rename column according
with name set in configuration
Timestamp Generator
input
Timestamp Generator
output
add timestamp
col to input table
create an empty
row
java timestamp
timestamp_format
timestamp_column
remove ";:.-" from timestamp
string
convert to
date&time format
if target_organism is missing
replace with Organism from uniprot data
This has an effect for tagets that:
1. Have no MOA data is available
2. Have not active molecules available
if target_name is missing
replace with "Recommended name" from uniprot data.
This has an effect for tagets that:
1. Have no MOA data is available
2. Have not active molecules available
if target_type is missing:
=> "Single protein"
if target_variant is missing:
=> "WT"
filter only
molecule_chembl_id col
retrieve data
select molecule_chembl_id
& drug_name
bind drug name
add drug name on
the aggregated_activity col
it just propagate
active/inactive branch
validate table
filter out uniprot_accession
otherwise create problems with target_types
where different accession are connected
to the same target_chembl_id (e.g. "Target complex")
filter out duplicates
concatenate target_chembl_id
with missing moa with table