Version 1
(of 1)
|
Version created on: 28/03/09 @ 18:38:07 by: David De Roure
Last edited on: 28/03/09 @ 19:13:06 by: David De Roure
Title: Demo of ChemSpider InChi to SMILES webservice invoked from Excel
Type: Excel 2007 Macro-Enabled Workbook
Preview
Not available
Description
This demo was created in Excel 2007, with the Office XP Webservices toolkit. Using the spreadsheet, the formula InChiToSMILES invokes the corresponding ChemSpider web service.
How I made this:
1. Installed Office XP Webservices toolkit from the Microsoft Download Center.
2. In Excel 2007 I turned on the Developer tab (hit Office button, then Excel options).
3. In the Developer ribbon I selected Visual Basic
4. In Tools->Web Services References I selected Web Service URL and entered http://www.chemspider.com/InChI.asmx then hit search
5. Checked InChi then hit Add - this generates all the clsws_InChi class code automatically
6. Inserted new module containing these 4 lines:
Function InChIToSMILES(inchi As String)
Dim WebService As New clsws_InChI
InChIToSMILES = WebService.wsm_InChIToSMILES(inchi)
End Function
7. Went to spreadsheet and used InchiToSMILES function
8. Saved spreadsheet as an Excel macro-Enabled Workbook and uploaded.
NB This is an xlsx file which can be unzipped to find the XML of the spreadsheet itself. The "workflow" appears as follows (the InChi is stored separately in sharedStrings):
<sheetData>
<row r="1" spans="1:2">
<c r="A1" t="s"><v>0</v></c>
<c r="B1" t="str"><f>InChiToSMILES(A1)</f><v>CCCCC(CCCC)(CO)CO.CCCCC(CCCC)(CO)CO</v></c>
</row>
</sheetData>
Download
Run
Not available
Workflow Components
Not available
Workflow Type
Log in to add Tags
Shared with Groups (0)
None
Current:
5.0 / 5
(2 ratings)
Log in to rate and see breakdown of ratings
Statistics
Reviews
(0)
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Linked Data
Non-Information Resource URI: http://www.myexperiment.org/workflows/735
Alternative Formats
Copyright © 2007 - 2012 The University of Manchester and University of Southampton
Log in to make a comment
The workflow is great and than you for letting us know the process.