Triplify NCBI databases list [myexperiment:ncbi_namespace2rdf]
Created: 2009-11-30 21:47:05
Last updated: 2009-12-01 02:49:34
List NCBI's database name. Using this URL service: http://www.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi?
This is NCBI's namespace list supported by Bio2RDF :
pubmed
protein
nucleotide
gene=geneid
homologene
mesh
omim
pccompound=cid
pcsubstance=sid
taxonomy
unigene
unists
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (5)
Triplify NCBI database name [] |
Search NCBI database by namespace and return BMURIs. |
Triplify NCBI database name. |
Triplify NCBI databases list [myexperiments:ncbi_namespace2rdf2rdf] |
Triplify NCBI databases list [myexperiment:ncbi_namespace2rdf2rdf] |
Descriptions (9)
Test values:
namespace:pubmed
search:morissette
namespace:omim
search:paget
namespace:gene
search:hk1
This is NCBI's namespace list :
|
Test values:
namespace:pubmed
search:morissette
namespace:omim
search:paget
namespace:gene
search:hk1
This is NCBI's namespace list supported by Bio2RDF :
pubmed
protein
nucleotide
gene=geneid
homologene
mesh
omim
pcassay
pccompound
pcsubstance
taxonomy
unigene
unists |
Test values:
namespace:pubmed
search:belleau |
List NCBI's database name. Using this URL service:
http://www.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi?
This is NCBI's namespace list supported by Bio2RDF :
pubmed
protein
nucleotide
gene=geneid
homologene
mesh
omim
pccompound=cid
pcsubstance=sid
taxonomy
unigene
unists |
Test values:
namespace:pubmed
search:morissette
namespace:omim
search:paget
namespace:gene
search:hk1
|
List NCBI's database name.
http://www.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi?
Test values:
namespace:pubmed
search:morissette
namespace:omim
search:paget
namespace:gene
search:hk1
This is NCBI's namespace list supported by Bio2RDF :
pubmed
protein
nucleotide
gene=geneid
homologene
mesh
omim
pccompound=cid
pcsubstance=sid
taxonomy
unigene
unists |
Test values:
namespace:pubmed
search:belleau
namespace:omim
search:paget
|
List NCBI's database name.
http://www.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi?
Test values:
namespace:pubmed
search:morissette
namespace:omim
search:paget
namespace:gene
search:hk1
This is NCBI's namespace list supported by Bio2RDF :
pubmed
protein
nucleotide
gene=geneid
homologene
mesh
omim
pcassay
pccompound
pcsubstance
taxonomy
unigene
unists |
Test values:
namespace:pubmed
search:morissette
namespace:omim
search:paget
namespace:geneid
search:hk1
|
Dependencies (0)
Processors (11)
Name |
Type |
Description |
Split_string_into_string_list_by_regular_expression |
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]);
}
}
|
_eol |
stringconstant |
Value\n |
Filter_list_of_strings_extracting_match_to_a_regex |
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));
}
}
|
_1 |
stringconstant |
Value1 |
Id_Id |
stringconstant |
Value(.*)<.DbName> |
ncbi_namespaces |
localworker |
ScriptURL inputURL = null;
if (base != void) {
inputURL = new URL(new URL(base), url);
}
else {
inputURL = new URL(url);
}
URLConnection con = inputURL.openConnection();
InputStream in = con.getInputStream();
InputStreamReader isr = new InputStreamReader(in);
Reader inReader = new BufferedReader(isr);
StringBuffer buf = new StringBuffer();
int ch;
while ((ch = inReader.read()) > -1) {
buf.append((char)ch);
}
inReader.close();
contents = buf.toString();
//String NEWLINE = System.getProperty("line.separator");
//
//URL inputURL = null;
//if (base != void) {
// inputURL = new URL(new URL(base), url);
//} else {
// inputURL = new URL(url);
//}
//StringBuffer result = new StringBuffer();
//BufferedReader reader = new BufferedReader(new InputStreamReader(inputURL.openStream()));
//String line = null;
//while ((line = reader.readLine()) != null) {
// result.append(line);
// result.append(NEWLINE);
//}
//
//contents = result.toString();
|
einfo_fcgi |
stringconstant |
Valuehttp://www.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi? |
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();
|
build_ncbi_ntriples |
beanshell |
Scriptntriples = "\n .";
ntriples = ntriples + "\n .";
ntriples = ntriples + "\n \"bm:ns:"+id+"\" .";
ntriples = ntriples + "\n \"[bm:ns:"+id+"]\" .";
ntriples = ntriples + "\n \""+id+"\" .";
|
ncbi_ntriples |
beanshell |
ScriptString id = "ncbi";
ntriples = "\n .";
ntriples = ntriples + "\n .";
ntriples = ntriples + "\n \"bm:ns:"+id+"\" .";
ntriples = ntriples + "\n \"National Center for Biotechnology Information [bm:ns:"+id+"]\" .";
ntriples = ntriples + "\n \"National Center for Biotechnology Information\" .";
ntriples = ntriples + "\n \""+id+"\" .";
ntriples = ntriples + "\n";
|
Concatenate_two_strings |
localworker |
Scriptoutput = string1 + string2; |
Beanshells (2)
Name |
Description |
Inputs |
Outputs |
build_ncbi_ntriples |
|
id
|
ntriples
|
ncbi_ntriples |
|
|
ntriples
|
Outputs (3)
Name |
Description |
namespace_list |
|
ncbi_namespace_ntriples |
|
url |
|
Datalinks (13)
Source |
Sink |
_eol:value |
Split_string_into_string_list_by_regular_expression:regex |
ncbi_namespaces:contents |
Split_string_into_string_list_by_regular_expression:string |
Split_string_into_string_list_by_regular_expression:split |
Filter_list_of_strings_extracting_match_to_a_regex:stringlist |
_1:value |
Filter_list_of_strings_extracting_match_to_a_regex:group |
Id_Id:value |
Filter_list_of_strings_extracting_match_to_a_regex:regex |
einfo_fcgi:value |
ncbi_namespaces:url |
build_ncbi_ntriples:ntriples |
Merge_String_List_to_a_String:stringlist |
Filter_list_of_strings_extracting_match_to_a_regex:filteredlist |
build_ncbi_ntriples:id |
ncbi_ntriples:ntriples |
Concatenate_two_strings:string1 |
Merge_String_List_to_a_String:concatenated |
Concatenate_two_strings:string2 |
Filter_list_of_strings_extracting_match_to_a_regex:filteredlist |
namespace_list |
Concatenate_two_strings:output |
ncbi_namespace_ntriples |
einfo_fcgi:value |
url |
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