Workflow Entry: TestIteratorStrategy_withCloning

Created at: 29/11/07 @ 15:35:49      Last updated: 29/11/07 @ 15:40:30
Information Version 2 (latest) (of 2)
View version:

Version created on: 29/11/07 @ 15:35:48 by: Marco Roos   |   Revision comments Expand

Last edited on: 29/11/07 @ 15:40:30 by: Marco Roos

Title: TestIteratorStrategy_withCloning

Type: Taverna 1


Information Preview

(Click on the image to get the full size)

Testiteratorstrategy_withcloning_21054_2


Information Description

This workflow implements a strategy for this problem: > I would like to perform an iteration including a dot product between > a list and a list of lists; example: > Input: > > [1] (1) > [A,B,C] (2) > [[a,b],[c,d],[e,f]] (3) > > Desired output: > > [1Aa, 1Ab, 1Bc, 1Bd, 1Ce, 1Cf]

In this implementation a java beanshell is used to clone the items in list 2 as many times per item as there are items in the sublists of list 3. The iteration strategy for Clone is set to a dot product. Thus a count on list 2 produces: [2,2,2] Clone with input: [2,2,2] . [A,B,C] produces [[A,A],[B,B],[C,C]] (note the dot product) (4) Then concatenation of (1)*((4).(3)) produces: [[1Aa,1Ab],[1Bc,1Bd],[1Ce,1Cf]]


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/107/download?version=2
[ More InfoExpand ]


Information Workflow Components

Inputs (0)
Processors (7)
Outputs (5)
Links (12)
Coordinations (0)
Taverna 1 workflow

Information Original Uploader

Information License

All versions of this Workflow are licensed under the Creative Commons Attribution-Share Alike 3.0 License.

Information Credits (1)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

Information Tags (6)

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:

5.0 / 5

(1 rating)

Log in to rate and see breakdown of ratings

Information Attributed By (0)

(Workflows/Files)

None

Information Favourited By (0)

No one

Information Statistics

 

Citations (0)

None


Version History

Earliest Version:
[1] - TestIteratorStrategy_withCloning

Created on: Thursday 29 November 2007 @ 15:35:48 (GMT)

Created by: Marco Roos

Last edited on: Thursday 29 November 2007 @ 15:35:49 (GMT)

Last edited by: Marco Roos

Revision comments:

None

Latest Version:
[2] - TestIteratorStrategy_withCloning

Created on: Thursday 29 November 2007 @ 15:35:48 (GMT)

Created by: Marco Roos

Last edited on: Thursday 29 November 2007 @ 15:40:30 (GMT)

Last edited by: Marco Roos

Revision comments:



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (0)

No comments yet

Log in to make a comment


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

About Us

Mailing List

Contact Us

API

Publications

Taverna Workflow Workbench

Google Coop Search


Invite people to myExperiment

myGrid

BioCatalogue

JISC

Microsoft

Powered by:

Rails

Icons:
Silk icon set 1.3