Metabolic profiling from NCBI GIs
Created: 2013-03-08 01:50:35
This workflow will take NCBI GIs and produce the following output:
KEGG identifier corresponding to the NCBI GI
Information about the gene corresponding to the NCBI GI
Pathway IDs corresponding to the the KEGG identifier
Images of the pathways that the proteins defined by the NCBI GIs are involved in.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Descriptions (1)
This workflow is based on new KEGG REST services |
Dependencies (0)
Inputs (1)
Name |
Description |
genes |
Accepts a list of NCBI Gene Identifiers
|
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 |
|
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 |
Value[a-zA-Z]{3,5}:[0-9a-zA-Z]{1,} |
btit_REST |
rest |
|
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-gi:" + (String) (nonEmpty.elementAt(i) + "\n");
} |
split_by_regex_2 |
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_2 |
stringconstant |
Value\n |
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
add_ncbi_to_string |
|
input
|
output
|
Outputs (5)
Name |
Description |
kegg_ID |
Produces a mapping of NCBI and KEGG gene identifiers
|
gene_description |
produces a list of gene descriptions and their KEGG Gene IDs
|
pathDescription |
Retrieves the pathway entry from the KEGG database
|
pathwayID |
Produces a list of pathway IDs for each gene ID
|
PathwayImage |
Retrieves the pathway image from the KEGG database
|
Datalinks (23)
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 |
bconvREST:responseBody |
ExtractGeneName:stringlist |
regex_value_2:value |
ExtractGeneName:regex |
group_value:value |
ExtractGeneName:group |
ExtractGeneName:filteredlist |
btit_REST:geneID |
split_by_regex:split |
getPathwaybyGene:geneID |
group_value_1:value |
ExtractPathwayName:group |
regex_value_3:value |
ExtractPathwayName:regex |
split_by_regex_2:split |
ExtractPathwayName:stringlist |
ExtractPathwayName:filteredlist |
pathwayEntry:pathID |
ExtractPathwayName:filteredlist |
pathwayImage:pathID |
genes |
add_ncbi_to_string:input |
getPathwaybyGene:responseBody |
split_by_regex_2:string |
regex_2:value |
split_by_regex_2:regex |
bconvREST:responseBody |
kegg_ID |
btit_REST:responseBody |
gene_description |
pathwayEntry:responseBody |
pathDescription |
split_by_regex_2:split |
pathwayID |
pathwayImage:responseBody |
PathwayImage |
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