In an earlier post we created a script that called out to a RESTful web service that performs a structure search against the ChEMBL database and pulls back results into IJC. It concentrated on how to call a web service, and other parts of the script were left pretty basic, and we said we would come back and improve them later.
The part that we cover here is how to create a simple user interface. In the original script we hard coded the query structure and the similarity score in the script, meaning we would have to edit the script if we ever wanted to use different values. Not very friendly!