myExperimentBeanshellCollection
Created: 2008-03-06 11:46:11
Last updated: 2008-03-25 16:23:24
Public collection of generic Beanshells curated by the myExperimentBeanshellCollection group on myExperiment. Visit http://www.myexperiment.org for details and updates.
To use this collection of beanshells in Taverna:
- Right click "Available Processors" in the "Design Perspective"
- Choose "Add new Workflow scavenger..."
- Provide the URL to this beanshell collection on www.myExperiment.org or if you downloaded this to your hard disk, provide a "file" URL to the absolute path of this file (On Linux/Unix/Mac: file:///some/path/on/my/disk/myExperimentBeanshellCollection.xml) (On Windows: file:///drive_letter:/My%20Documents/myExperimentBeanshellCollection.xml)
* You can select Beanshells from this scavenger now and add them to your workflow like any other processor.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Processors (3)
Name |
Type |
Description |
DecodeBase64EncodedSVGZ |
beanshell |
This Beanshell script first decodes the Base64 encoded input followed by unzipping. Originally designed for extracting SVG images from Base64 encoded SVGZ service outputs, but it could be used for parsing any other zipped and afterwards base64 encoded service output. |
DownloadToDiskFromURLWithBasicAuth |
beanshell |
This Beanshell downloads a file to disk. The standard download local Java widgets don't handle URLs with HTTP(S) Basic Authentication, but this Beanshell can. When a webserver uses BasicAuth, a login and password can be coded as part of the URL using the following syntax: http(s)://login:password@www.some.website/my/great/tool/result.xml. This beanshel extracts the login and password from the URL and supplies them automatically to the webserver. This prevents Taverna from showing popup dialogs requesting the login and password from the user as this will be problematic for large workflows.
Please note that the path where the downloaded file will be stored must be an absolute path to a folder ended with a slash. (Slash backward on Windows or a slash forward on Linux/Unix/Mac OS X.) The filename for the result is automatically extracted from the URL. |
SelectItemsFromList |
beanshell |
Allows the user to select items from a given list to be analysed by processors downstream from this Beanshell script as a step of the workflow. |
Beanshells (3)
Name |
Description |
Inputs |
Outputs |
DecodeBase64EncodedSVGZ |
This Beanshell script first decodes the Base64 encoded input followed by unzipping. Originally designed for extracting SVG images from Base64 encoded SVGZ service outputs, but it could be used for parsing any other zipped and afterwards base64 encoded service output. |
Base64EncSVGZ
|
Message
Decoded
SVG
|
DownloadToDiskFromURLWithBasicAuth |
This Beanshell downloads a file to disk. The standard download local Java widgets don't handle URLs with HTTP(S) Basic Authentication, but this Beanshell can. When a webserver uses BasicAuth, a login and password can be coded as part of the URL using the following syntax: http(s)://login:password@www.some.website/my/great/tool/result.xml. This beanshel extracts the login and password from the URL and supplies them automatically to the webserver. This prevents Taverna from showing popup dialogs requesting the login and password from the user as this will be problematic for large workflows.
Please note that the path where the downloaded file will be stored must be an absolute path to a folder ended with a slash. (Slash backward on Windows or a slash forward on Linux/Unix/Mac OS X.) The filename for the result is automatically extracted from the URL. |
URL
Path
|
Downloaded
Message
|
SelectItemsFromList |
Allows the user to select items from a given list to be analysed by processors downstream from this Beanshell script as a step of the workflow. |
inputList
|
outputList
|
Uploader
License
All versions of this Workflow are
licensed under:
Version 2 (latest)
(of 2)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (1)
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (1)
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment