Extract columns
Created: 2014-12-18 12:45:45
Last updated: 2014-12-18 13:25:57
Extracts column data from a newline and tab separated string
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Descriptions (1)
Extracts column data from a newline and tab separated string |
Dependencies (0)
Inputs (1)
Name |
Description |
kegg_info |
|
Processors (5)
Name |
Type |
Description |
Split_by_tab |
localworker |
ScriptList split = new ArrayList();
if (!string.equals("")) {
String regexString = ",";
if (regex != void) {
regexString = regex;
}
String[] result = string.split(regexString);
for (int i = 0; i < result.length; i++) {
split.add(result[i]);
}
}
|
Split_into_lines |
localworker |
ScriptList split = new ArrayList();
if (!string.equals("")) {
String regexString = ",";
if (regex != void) {
regexString = regex;
}
String[] result = string.split(regexString);
for (int i = 0; i < result.length; i++) {
split.add(result[i]);
}
}
|
tab |
stringconstant |
Value |
newline |
stringconstant |
Value\n |
Collate_lists |
beanshell |
ScriptList ids = new ArrayList();
List names = new ArrayList();
for (int i = 0; i < ids_and_names.size(); i++) {
ids.add(ids_and_names.get(i).get(0));
names.add(ids_and_names.get(i).get(1));
} |
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
Collate_lists |
|
ids_and_names
|
ids
names
|
Outputs (2)
Name |
Description |
first |
The ids from the supplied information
|
second |
The names from the supplied information
|
Datalinks (7)
Source |
Sink |
tab:value |
Split_by_tab:regex |
Split_into_lines:split |
Split_by_tab:string |
kegg_info |
Split_into_lines:string |
newline:value |
Split_into_lines:regex |
Split_by_tab:split |
Collate_lists:ids_and_names |
Collate_lists:ids |
first |
Collate_lists:names |
second |
Uploader
Component Validity
Loading
License
All versions of this Workflow are
licensed under:
Version 3 (latest)
(of 3)
Credits (0)
(People/Groups)
None
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (1)
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
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