ListAllWikiPathways
Created: 2015-09-01 14:53:29
Last updated: 2015-10-12 12:36:15
This workflow retrieves all pathways currently in the WikiPathways database, using the WikiPathways REST API.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Descriptions (1)
This workflow retrieves all pathways currently in the WikiPathways database, using the WikiPathways REST API. |
Dependencies (0)
Processors (7)
Name |
Type |
Description |
List_all_WikiPathways |
rest |
This REST service uses the WikiPathways API to retrieve a list of all pathways currently in the database. |
Parse_pathway_uris |
xpath |
Xpath Expression/ns1:listPathwaysResponse/ns1:pathways/ns2:url |
Parse_species_annotation |
xpath |
Xpath Expression/ns1:listPathwaysResponse/ns1:pathways/ns2:species |
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); |
Flatten_List_2 |
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();
|
Merge_String_List_to_a_String_2_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 (2)
Name |
Description |
pw_list |
A list of pathways currently in the WikiPathways database
|
species_list |
The species annotation for each pathway in the current WikiPathways database.
|
Datalinks (8)
Source |
Sink |
List_all_WikiPathways:responseBody |
Parse_pathway_uris:xml_text |
List_all_WikiPathways:responseBody |
Parse_species_annotation:xml_text |
Parse_pathway_uris:nodelist |
Flatten_List:inputlist |
Parse_species_annotation:nodelist |
Flatten_List_2:inputlist |
Flatten_List:outputlist |
Merge_String_List_to_a_String_2:stringlist |
Flatten_List_2:outputlist |
Merge_String_List_to_a_String_2_2:stringlist |
Merge_String_List_to_a_String_2:concatenated |
pw_list |
Merge_String_List_to_a_String_2_2:concatenated |
species_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