Triplify UniProt text search results from all databases [myexperiments:uniprotkb_search_all2rdf]
Created: 2009-11-30 20:44:32
Last updated: 2009-11-30 20:45:08
Search all UniProt databases using search URL service and merge results into a bmuri list and a ntriples string.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (2)
Triplify UniProt text search results from all databases [myexperiments:uniprotkb_search_all2rdf]
|
Triplify UniProt text search results from all databases [myexperiments:uniprotkb_search_all2rdf]
TAG: knowledgescope, uniprotkb, bio2rdf, search_all, rdf |
Descriptions (2)
Search all UniProt databases using search URL service and merge results into a bmuri list and a ntriples string.
TAG: knowledgescope, uniprotkb, bio2rdf, search_all, rdf |
TAG: knowledgescope, uniprotkb, bio2rdf, search_all, rdf |
Dependencies (0)
Inputs (1)
Name |
Description |
query |
hk1
hexokinase
paget disease
pdb4
|
Processors (6)
Name |
Type |
Description |
UniProt_KB_namespaces |
workflow |
|
UniProt_KB_text_search |
workflow |
|
Merge_String_List_to_a_String |
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_String2 |
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();
|
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); |
Count |
beanshell |
|
Beanshells (6)
Name |
Description |
Inputs |
Outputs |
Count |
|
in
|
out
|
build_uniprot_namespace_ntriple |
|
namespace
|
ntriples
|
UniProt_provider |
|
|
ntriples
|
build_uniprot_search_url |
|
string1
string2
|
output
|
build_bmuri |
|
string1
string2
|
output
|
build_ntriples |
|
stringlist
namespace
search
|
count_ntriples
search_ntriples
|
Outputs (4)
Name |
Description |
uniprotkb_search_all_ntriples |
|
bmuris |
|
search_count_ntriples |
|
o1 |
|
Datalinks (10)
Source |
Sink |
query |
UniProt_KB_text_search:query |
Count:out |
UniProt_KB_text_search:uniprotkb_namespace |
UniProt_KB_text_search:uniprotkb_search_ntriples |
Merge_String_List_to_a_String:stringlist |
UniProt_KB_text_search:search_count_ntriples |
Merge_String_List_to_a_String2:stringlist |
UniProt_KB_text_search:bmuris |
Flatten_List:inputlist |
UniProt_KB_namespaces:namespace_list |
Count:in |
Merge_String_List_to_a_String:concatenated |
uniprotkb_search_all_ntriples |
Flatten_List:outputlist |
bmuris |
Merge_String_List_to_a_String2:concatenated |
search_count_ntriples |
UniProt_KB_text_search:search_count_ntriples |
o1 |
Uploader
License
All versions of this Workflow are
licensed under:
Version 2 (latest)
(of 2)
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