LipidMaps Query
Created: 2010-02-16 14:47:56
This workflow retrieves database entries from LipidMaps for given exact mass and tolerance inputs.
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (2)
Titles (1)
Descriptions (1)
Query Lipidmaps for given exact mass and tolerance values |
Dependencies (0)
Inputs (2)
Name |
Description |
ExactMass |
Exact Mass
Enter Exact Massthere are 2 possibilities:a) enter masses manually orb) call text file containing masses in single column (using "add file location")
Enter Exact Massthere are 2 possibilities:a) enter masses muanually orb)
Enter Exact Massthere are 2 possibilities:a) enter masses muanually orb) call text file (using "add file location")
|
Tolerance |
Enter Tolerance Value
Tolerance
|
Processors (12)
Name |
Type |
Description |
LM_URL1 |
stringconstant |
Valuehttp://www.lipidmaps.org/data/structure/LMSDSearch.php?Mode=ProcessTextSearch&OutputMode=File&ExactMassOffSet= |
LM_URL2 |
stringconstant |
Value&OutputColumnHeader=no&OutputQuote=no&OutputDelimiter=Tab&ExactMass= |
merge1 |
localworker |
Scriptoutput = string1 + string2; |
merge2 |
localworker |
Scriptoutput = string1 + string2; |
download_content |
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(); |
split_lines |
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]); }} |
Newline |
stringconstant |
Value\n |
split_whitespaces |
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]); }} |
Tab |
stringconstant |
Value\t |
split_entries |
beanshell |
ScriptLMID = query.get(0);COMMONNAME = query.get(1);SYSTEMATICNAME = query.get(2);FORMULA = query.get(3);MASS = query.get(4);CATEGORY = query.get(5);MAIN_CLASS = query.get(6); |
reformat_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]); }} |
merge3 |
localworker |
Scriptoutput = string1 + string2; |
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
split_entries |
|
query
|
LMID
COMMONNAME
SYSTEMATICNAME
FORMULA
MASS
CATEGORY
MAIN_CLASS
|
Outputs (6)
Name |
Description |
01_IDs |
LipidMaps ID
|
02_CommonNames |
Common Name
|
04_Formulae |
Molecular Formula
|
05_Mass |
Molecular Mass
|
06_Category |
Lipid
Lipid Category
|
03_Systematic_Name |
Systematic Name
|
Datalinks (20)
Source |
Sink |
LM_URL1:value |
merge1:string1 |
Tolerance |
merge1:string2 |
LM_URL2:value |
merge2:string2 |
merge1:output |
merge2:string1 |
merge3:output |
download_content:url |
download_content:contents |
split_lines:string |
Newline:value |
split_lines:regex |
split_lines:split |
split_whitespaces:string |
Tab:value |
split_whitespaces:regex |
split_whitespaces:split |
split_entries:query |
Newline:value |
reformat_list:regex |
ExactMass |
reformat_list:string |
merge2:output |
merge3:string1 |
reformat_list:split |
merge3:string2 |
split_entries:LMID |
01_IDs |
split_entries:COMMONNAME |
02_CommonNames |
split_entries:FORMULA |
04_Formulae |
split_entries:MASS |
05_Mass |
split_entries:CATEGORY |
06_Category |
split_entries:SYSTEMATICNAME |
03_Systematic_Name |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (0)
(People/Groups)
None
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