PW2CHEBI
Created: 2015-09-01 14:35:44
Last updated: 2015-10-12 12:33:17
This workflow uses the WikiPathways Webservice/API to query to retrieve all Chemical Entities of Biological Interest (ChEBI) identifers for the given pathway.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Descriptions (1)
This workflow uses the WikiPathways Webservice/API to query to retrieve all Chemical Entities of Biological Interest (ChEBI) identifers for the given pathway. |
Dependencies (0)
Inputs (1)
Name |
Description |
wp_id |
A WikiPathway identifier
|
Processors (6)
Name |
Type |
Description |
getChEBIXrefList |
rest |
The WikiPathways Webservice/API is queried for Chemical Entities of Biological Interest (ChEBI) identifiers in the given pathway. |
Parse_chebi_id |
xpath |
The ChEBI identifiers are parsed from the WikiPathways XML file output. Xpath Expression/ns1:getXrefListResponse/ns1:xrefs |
Split_string_into_string_list_by_regular_expression |
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]);
}
}
|
regex_value |
stringconstant |
Value\n |
Flatten_List |
localworker |
Scriptflatten(inputs, outputs, depth) {
for (i = inputs.iterator(); i.hasNext();) {
element = i.next();
if (element instanceof Collection && depth > 0) {
flatten(element, outputs, depth - 1);
} else {
outputs.add(element);
}
}
}
outputlist = new ArrayList();
flatten(inputlist, outputlist, 1); |
Merge_String_List_to_a_String_2 |
localworker |
ScriptString seperatorString = "\n";
if (seperator != void) {
seperatorString = seperator;
}
StringBuffer sb = new StringBuffer();
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
sb.append(item);
if (i.hasNext()) {
sb.append(seperatorString);
}
}
concatenated = sb.toString();
|
Outputs (1)
Name |
Description |
chebi_id_list |
Chemical Entities of Biological Interest (ChEBI) identifer
|
Datalinks (7)
Source |
Sink |
Split_string_into_string_list_by_regular_expression:split |
getChEBIXrefList: |
getChEBIXrefList:responseBody |
Parse_chebi_id:xml_text |
regex_value:value |
Split_string_into_string_list_by_regular_expression:regex |
wp_id |
Split_string_into_string_list_by_regular_expression:string |
Parse_chebi_id:nodelist |
Flatten_List:inputlist |
Flatten_List:outputlist |
Merge_String_List_to_a_String_2:stringlist |
Merge_String_List_to_a_String_2:concatenated |
chebi_id_list |
Uploader
License
All versions of this Workflow are
licensed under:
Version 2 (latest)
(of 2)
Credits (2)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (1)
Featured In Packs (2)
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