Icon

06. Integrating External Tools - solution

Integrating External Tools

Solution to "Integrating External Tools" exercise for basic Life Science User Training
- Retrieving data from a web resource via REST
- Converting XML output to a KNIME table




Activity: Use REST nodes to call an external web service- Configure the String Manipulation node so that it creates a new column called resource_url with the following format."https://www.ebi.ac.uk/chembl/api/data/molecule/<ChEMBL ID>.xml"- The new column contains a GET request URL with a coresponding ChEMBL ID.- Access the ChEMBL Rest API with the GET Request node- Use the XPath node to extract standard_inchi and standard_inchi_key- Use RDKit From InChI node to convert the standard_inchi column to RDKit molecules type. - Use Renderer to Image node to convert the RDKit molecules into images.- Display the result in a table viewOptional: Use the R Snippet to filter the standard_inchi and standard_inchi_key. Hint: You can use the Regex column filter template in the snippet with the expression: standard.* Display resultsList of ChEMBL IDsCreate resource urlExtract inchi Table View GET Request Table Creator String Manipulation XPath Renderer to Image R Snippet RDKit From InChI Activity: Use REST nodes to call an external web service- Configure the String Manipulation node so that it creates a new column called resource_url with the following format."https://www.ebi.ac.uk/chembl/api/data/molecule/<ChEMBL ID>.xml"- The new column contains a GET request URL with a coresponding ChEMBL ID.- Access the ChEMBL Rest API with the GET Request node- Use the XPath node to extract standard_inchi and standard_inchi_key- Use RDKit From InChI node to convert the standard_inchi column to RDKit molecules type. - Use Renderer to Image node to convert the RDKit molecules into images.- Display the result in a table viewOptional: Use the R Snippet to filter the standard_inchi and standard_inchi_key. Hint: You can use the Regex column filter template in the snippet with the expression: standard.* Display resultsList of ChEMBL IDsCreate resource urlExtract inchi Table View GET Request Table Creator String Manipulation XPath Renderer to Image R Snippet RDKit From InChI

Nodes

Extensions

Links