Generate CombiUgi library
Created: 2010-08-10 12:15:37
Last updated: 2010-08-10 12:16:00
Generates a CombiUgi library using data from a Goolgle spreadsheet containing smiles strings of compounds to undergo virtual Ugi reactions
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (2)
Generate CombiUgi library |
Predict Abraham descriptors |
Descriptions (3)
Predicts descriptor values using a model derived from a linear regression analysis of the Open Notebook Science solubility data and literature values. The workflow returns all the Abraham descriptors E, S, A, B and V in a HTML file. |
Generates a CombiUgi library using data from a Goolgle spreadsheet containing smiles strings of compounds to undergo virtual Ugi reactions |
Predicts descriptor values using a model derived from a linear regression analysis of the Open Notebook Science solubility data and literature values |
Dependencies (0)
Inputs (1)
Name |
Description |
googleSpreadsheetId |
A name of a chemical compound
An Google spreadsheet Id
An Google spreadsheet Id containing smiles strings of compounds to undergo virtual Ugi reactions
|
Processors (2)
Name |
Type |
Description |
getCombiUgiLibrary |
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();
|
createUrl |
beanshell |
Scriptimport java.net.URLEncoder;
//Need to escape special characters in processor inputs to create URL
spreadsheetId = URLEncoder.encode(spreadsheetId, "UTF-8");
String url = "http://showme.physics.drexel.edu/onsc/combiugi/combiugi.php?key=" + spreadsheetId;
|
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
createUrl |
|
spreadsheetId
|
url
|
Datalinks (3)
Source |
Sink |
createUrl:url |
getCombiUgiLibrary:url |
googleSpreadsheetId |
createUrl:spreadsheetId |
getCombiUgiLibrary:contents |
csv |
Uploader
License
All versions of this Workflow are
licensed under:
Version 1
(of 1)
Credits (2)
(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