Version 1
(of 1)
|
Version created on:
14/10/08 @ 16:17:58
by:
Stian Soiland-Reyes
|
Revision comments
Last edited on: 14/10/08 @ 16:39:03 by: Stian Soiland-Reyes
Title: REST access of xml.nig.ac.jp (WABI)
Type: Taverna 1
Preview
(Click on the image to get the full size)
Description
This workflow has a beanshell script for composing the REST URL for the services at xml.nig.ac.jp (WABI) This URL is passed to the local worker Get_web_page_from_URL that fetches the requested data.
Note: This is a proof of concept of accessing REST services through Taverna. All of WABI's services can more easily be browsed and used in Taverna by adding their WSDL, for instance http://xml.nig.ac.jp/wsdl/GetEntry.wsdl
The example invokes the getDDBJEntry(accession) method of the getEntry service at WABI.
The workflow can be modified to invoke any other service from xml.nig.ac.jp/index.html#services by modifying the service and method parameters to the beanshell script compose_URL.
Any other input parameters to compose_URL are added to the URL as well, so if instead you want to invoke the method analyzeParamAsync(query, param) from the ClustalW service, first modify the service and method default parameters to ClustalW and analyzeParamAsync, and then edit the beanshell script's input ports:
Remove the accession port from compose_URL, then add two new input ports called query and param. (You don't need to modify the actual beanshell script as it picks up any declared input parameters.)
This pattern could probably be used for many REST services that work like xml.nig.ac.jp - but the disadvantage is that one has to manually read the documentations to figure out what the parameters are to be.
Download
Run
Option 1:
Note: you need to have both the WHIP Launcher and the Taverna myExperiment/WHIP plugin installed on your machine for this to work. See here for information.
Option 2:
Copy and paste this link into File > 'Open workflow location...'
http://www.myexperiment.org/workflows/528/download?version=1
[ More Info
]
Workflow Components
Workflow Type
Log in to add Tags
Shared with Groups (0)
None
Current:
4.0 / 5
(1 rating)
Log in to rate and see breakdown of ratings
Statistics
None
Earliest Version:
[1] - REST access of xml.nig.ac.jp (WABI)
This Workflow only has one version.
Reviews
(1)
| By |
Rating: 4 out of 5 Created: 18/10/08 @ 14:06:30 | Updated: 18/10/08 @ 14:06:30
A small, yet functionally diverse, workflow that allows for REST calls to the DDBJ series of web services.
Takes a little time to get your head around the functionaility of what it does and how to change the workflow inputs, but, can be used fr a range of processes.
[ more ] |
View
|
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/528
Alternative Formats
Copyright © 2007 - 2011 The University of Manchester and University of Southampton
Log in to make a comment
A very nice workflow Stian. Thank you for illustraing how Taverna can use REST.
Ace! Nice work! And I enjoyed so much my first encounterance with WHIP:)