AllPW2ENS
Created: 2015-10-02 09:35:01
Last updated: 2015-10-12 12:41:03
This workflow uses the WikiPathways Webservice/API to query to retrieve all ENSEMBL identifers for all pathways and merge them into one, unique list.
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 ENSEMBL identifers for all pathways and merge them into one, unique list. |
Dependencies (0)
Inputs (1)
Name |
Description |
wp_id |
A WikiPathway identifier
|
Processors (6)
Name |
Type |
Description |
getENSXrefList |
rest |
The WikiPathways Webservice/API is queried for ENSEMBL identifiers in the given pathway. |
Parse_ens_id |
xpath |
The ENSEMBL identifiers are parsed from the WikiPathways XML file output. Xpath Expression/ns1:getXrefListResponse/ns1:xrefs |
Split_string_into_string_list_by_regular_expression |
localworker |
Splits the input text on the newline (\n) character. 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 for splitting the input text, in this case the newline (\n) character. 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); |
Remove_String_Duplicates |
localworker |
ScriptList strippedlist = new ArrayList();
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
if (strippedlist.contains(item) == false) {
strippedlist.add(item);
}
}
|
Outputs (1)
Name |
Description |
ensembl_id_list |
ENSEMBL identifer
|
Datalinks (7)
Source |
Sink |
Split_string_into_string_list_by_regular_expression:split |
getENSXrefList: |
getENSXrefList:responseBody |
Parse_ens_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_ens_id:nodelist |
Flatten_List:inputlist |
Flatten_List:outputlist |
Remove_String_Duplicates:stringlist |
Remove_String_Duplicates:strippedlist |
ensembl_id_list |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1 (earliest)
(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