Workflow Entry: REST access of xml.nig.ac.jp (WABI)

Created at: 14/10/08 @ 16:17:58      Last updated: 14/10/08 @ 16:39:03
Information Version 1 (of 1)

Version created on: 14/10/08 @ 16:17:58 by: Stian Soiland-Reyes   |   Revision comments Expand

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


Information Preview

(Click on the image to get the full size)

Medium


Information 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.


Information Download



Information Run

Run this Workflow in the Taverna Workbench...

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 InfoExpand ]


Information Workflow Components

Inputs (0)
Processors (2)
Beanshells (1)
Outputs (2)
Links (3)
Coordinations (0)

Information Workflow Type

Taverna 1

Information Original Uploader

Information License

All versions of this Workflow are licensed under:

Information Credits (1)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

Information Tags (4)

Log in to add Tags

Information Shared with Groups (0)

None

Information Featured In Packs (0)

None

Log in to add to one of your Packs

Information Ratings (1)

Current:

4.0 / 5

(1 rating)

Log in to rate and see breakdown of ratings

Information Attributed By (0)

(Workflows/Files)

None

Information Favourited By (2)

 

Citations (0)

None


Version History

Earliest Version:
[1] - REST access of xml.nig.ac.jp (WABI)

Created on: Tuesday 14 October 2008 @ 16:17:58 (GMT)

Created by: Stian Soiland-Reyes

Last edited on: Tuesday 14 October 2008 @ 16:39:03 (GMT)

Last edited by: Stian Soiland-Reyes

Revision comments:

None

This Workflow only has one version.



Reviews Reviews (1)

By

Review Title: A breif overview

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 ]

Show View


Comments Comments (2)

Log in to make a comment

  • Saturday 18 October 2008 @ 14:04:16 (GMT)

    A very nice workflow Stian. Thank you for illustraing how Taverna can use REST.

  • Tuesday 10 March 2009 @ 16:17:51 (GMT)

    Ace! Nice work! And I enjoyed so much my first encounterance with WHIP:)




Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.

What is this?

Linked Data

Non-Information Resource URI: http://www.myexperiment.org/workflows/528


Alternative Formats

HTML
RDF
XML

New/Upload

Log in / Register

Username or Email:

Password:

Remember me:

OR

Use OpenID:


(eg: name.myopenid.com)

Need an account?
Click here to register

Forgot Password?

Front Page

Home

Invite people to myExperiment

Help pages

About Us

News and Events

Mailing List

Contact Us

Developers

Publications


Taverna Workflow Workbench

myGrid

BioCatalogue

Trident

Google Coop Search

EPSRC

JISC

Microsoft

Powered by:

Rails

Icons:
Silk icon set 1.3