Dec
30
Adding SMILES, InChI, etc to Wikidata alkane pages
While working on the 'chemical class' aspect for Scholia yesterday I noted that the page for alkanes was quite large, with a list of more than 50 long chain alkanes with pages in the Japanese Wikipedia with no SMILES, InChI, InChIKey, etc.
So, I dug up my Bioclipse scripts to add chemicals to Wikidata starting with a SMILES (btw, the script has significantly evolved since) and extended the query of that Scholia aspect to list just the Wikidata Q-code and name. This script starts with one or more SMILES strings and generated QuickStatements (a must-learner).
Because the Wikidata entries also had the English IUPAC name, I can use that to autogenerate SMILES.
So, I dug up my Bioclipse scripts to add chemicals to Wikidata starting with a SMILES (btw, the script has significantly evolved since) and extended the query of that Scholia aspect to list just the Wikidata Q-code and name. This script starts with one or more SMILES strings and generated QuickStatements (a must-learner).
Because the Wikidata entries also had the English IUPAC name, I can use that to autogenerate SMILES.