entreztoKeggImage
Created: 2014-09-05 08:14:09
This workflow accepts a list of Entrez Gene IDs. It dentifies which KEGG pathway each gene is involved with and displays the pathway diagrams
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Descriptions (1)
This workflow accepts a list of Entrez Gene IDs. It dentifies which KEGG pathway each gene is involved with and displays the pathway diagrams |
Dependencies (0)
Inputs (1)
Name |
Description |
IDs |
accespts entrez gene ids
|
Processors (18)
Name |
Type |
Description |
regex |
stringconstant |
Value\n |
split_by_regex |
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_gene_list |
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 |
bconvREST |
rest |
|
target_value |
stringconstant |
Valuehsa |
ExtractGeneName |
localworker |
Scriptimport java.util.regex.*;
filteredlist = new ArrayList();
Pattern thePat = Pattern.compile(regex);
int theGroup = Integer.parseInt(group);
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
Matcher matcher = thePat.matcher(item);
if (matcher.find()) {
filteredlist.add(matcher.group(theGroup));
}
}
|
group_value |
stringconstant |
Value0 |
regex_value_2 |
stringconstant |
Valuehsa:[0-9]{4,} |
getPathwaybyGene |
rest |
|
ExtractPathwayName |
localworker |
Scriptimport java.util.regex.*;
filteredlist = new ArrayList();
Pattern thePat = Pattern.compile(regex);
int theGroup = Integer.parseInt(group);
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
Matcher matcher = thePat.matcher(item);
if (matcher.find()) {
filteredlist.add(matcher.group(theGroup));
}
}
|
group_value_1 |
stringconstant |
Value0 |
regex_value_3 |
stringconstant |
Valuepath:[0-9a-z]{5,} |
pathwayEntry |
rest |
|
pathwayImage |
rest |
|
add_ncbi_to_string |
beanshell |
ScriptString[] split;
Vector nonEmpty = new Vector();
if(input.indexOf("__cr____cn__") != -1) {
split = input.split("__cr____cn__");
} else if(input.indexOf(",") != -1) {
split = input.split(",");
} else {
split = input.split("\n");
}
for (int i = 0; i < split.length; i++)
{
String trimmed = split[i].trim();
nonEmpty.add(trimmed);
}
String output = "";
for (int i = 0; i < nonEmpty.size(); i++)
{
output = output + "ncbi-geneid:" + (String) (nonEmpty.elementAt(i) + "\n");
} |
Merge_Desc |
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_Desc2 |
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();
|
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
add_ncbi_to_string |
|
input
|
output
|
Outputs (3)
Name |
Description |
pathDescRest |
Retrieves the pathway entry from the KEGG database
|
PathwayImage |
Retrieves the pathway image from the KEGG database
|
pathwayID |
Produces a list of pathway IDs for each gene ID
|
Datalinks (21)
Source |
Sink |
regex:value |
split_by_regex:regex |
ExtractGeneName:filteredlist |
split_by_regex:string |
regex_value:value |
Split_gene_list:regex |
add_ncbi_to_string:output |
Split_gene_list:string |
Split_gene_list:split |
bconvREST:source |
target_value:value |
bconvREST:target |
bconvREST:responseBody |
ExtractGeneName:stringlist |
group_value:value |
ExtractGeneName:group |
regex_value_2:value |
ExtractGeneName:regex |
split_by_regex:split |
getPathwaybyGene:geneID |
group_value_1:value |
ExtractPathwayName:group |
regex_value_3:value |
ExtractPathwayName:regex |
getPathwaybyGene:responseBody |
ExtractPathwayName:stringlist |
ExtractPathwayName:filteredlist |
pathwayEntry:pathID |
ExtractPathwayName:filteredlist |
pathwayImage:pathID |
IDs |
add_ncbi_to_string:input |
pathwayEntry:responseBody |
Merge_Desc:stringlist |
Merge_Desc:concatenated |
Merge_Desc2:stringlist |
Merge_Desc2:concatenated |
pathDescRest |
pathwayImage:responseBody |
PathwayImage |
getPathwaybyGene:responseBody |
pathwayID |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
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