SMARTS which is a language for describing molecular patterns like regular expression for NLP is really useful for chemoinformatician. However it’s difficult to understand due to difficulty of visualization SMARTS query.
As far as I know, there are few software which can visualize beautiful SMARTS pattern. BioSolveIT provides unique SMARTS editor but it’s required commercial license so it’s difficult to use personally.
So I used the other free tool which named ‘SMARTS plus‘. The tool is managed by team of university of hamburg.
The tool is easy to use from web site, but also the site provides REST service. So user can use SMARTS plus from python. I tried it. Here is an example, as you can see SMARTS plus provides rich information of SMARTS.
TIPs for using SMARTS plus from REST, to pass the query with get method, some character should be encoded. The details are described in following url.
I think visualize chemical structure and query is really interesting and useful for learning chemoinforamtics.