Workflow Entry: Dummy example of looping

Created at: 27/01/10 @ 15:52:50      Last updated: 27/01/10 @ 15:56:10
Information Version 1 (earliest) (of 2)
View version:

Version created on: 27/01/10 @ 14:13:55 by: Stian Soiland-Reyes   |   Revision comments Expand

Last edited on: 27/01/10 @ 15:53:43 by: Stian Soiland-Reyes

Title: Example of looping using dummy services

Type: Taverna 2


Information Preview

(Click on the image to get the full size)

Medium


Information Description

Example of looping over asynchronous services. The dummy beanshell scripts represents the operations of an asynchronous submit-status-results style service, such as EBI's InterProScan and NCBI Blast.
 
createJob creates a temporary file with the content "0". Filename retuirned as a "job ID".
 
checkStatus reads the job, and return state "RUNNING" as long as the content is less than 10, increasing the number for each call. (As no actual job is being run)
 
getResults reads the file content, with the condition 'Run after checkStatus'.
 
In Details->Advanced for checkStatus you can check the loop condition, which says it will loop as long as the output 'state' is equal to 'RUNNING' - with a 0.5s delay. 
 
Thus when executing this workflow, checkStatus will be called repeatedly, and finally the 'result' should be '10' and 'state' should be 'COMPLETE'.
 
 


Information Download




Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

Copy and paste this link into File > 'Open workflow location...'
http://www.myexperiment.org/workflows/1028/download?version=1
[ More InfoExpand ]


Information Workflow Components

Information Authors (1)
Information Titles (1)
Information Descriptions (4)
Inputs (0)
Processors (3)
Beanshells (3)
Outputs (4)
Datalinks (6)
Coordinations (1)

Information Workflow Type

Taverna 2

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 (6)

Log in to add Tags

Information Shared with Groups (1)

Information Featured In Packs (0)

None

Log in to add to one of your Packs

Information Ratings (0)

Current:

0.0 / 5

(0 ratings)

Log in to rate and see breakdown of ratings

Information Attributed By (1)

(Workflows/Files)

  • Private item

Information Favourited By (0)

No one

 

Citations (0)

None


Version History

Earliest Version:
[1] - Example of looping using dummy services

Created on: Wednesday 27 January 2010 @ 14:13:55 (GMT)

Created by: Stian Soiland-Reyes

Last edited on: Wednesday 27 January 2010 @ 15:53:43 (GMT)

Last edited by: Stian Soiland-Reyes

Revision comments:

None

Latest Version:
[2] - Dummy example of looping

Created on: Wednesday 27 January 2010 @ 15:52:50 (GMT)

Created by: Stian Soiland-Reyes

Last edited on: Wednesday 27 January 2010 @ 15:56:11 (GMT)

Last edited by: Stian Soiland-Reyes

Revision comments:

 Modified checkStatus() scripts to no longer have intValue as a separate variable



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (0)

No comments yet

Log in to make a comment




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/1028/versions/1


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