Simulate SBML-derived ODEs
Created: 2011-07-20 13:57:19
Last updated: 2011-07-20 14:02:43
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Simulate SBML-derived ODEs |
Descriptions (1)
Dependencies (0)
Processors (21)
Name |
Type |
Description |
simTime |
stringconstant |
Value30 |
simTimepointsNr |
stringconstant |
Value100 |
concentrationStr |
stringconstant |
Valueconcentration |
modelUrl |
stringconstant |
Valuehttp://bioputer.mimuw.edu.pl/tav4sb/models/enzyme.xml |
plotOptCsv |
stringconstant |
ValuePlotMarkers -> None; PlotLegend -> {"S", "E", "ES", "P"} |
timeStrListApend |
beanshell |
Scriptlist = new LinkedList();
list.add("time");
list.add(str); |
string2List |
beanshell |
Scriptlist = Arrays.asList(new String[]{str}); |
renameCoordinate |
beanshell |
Scriptrenamed = dataXml.replaceAll("(]*name=)\""+oldName+"\"", "$1\""+newName+"\"");
if (!renamed.equals(dataXml)) {
renamed = renamed.replaceFirst("]*)>", "");
} |
timepointsXml2dataXmlList |
workflow |
|
MathPlot |
workflow |
|
filterVariables |
localworker |
Scriptfilteredlist = new ArrayList();
for (Iterator i = stringlist.iterator(); i.hasNext();) {
String item = (String) i.next();
if (item.matches(regex)) {
filteredlist.add(item);
}
}
|
OdeSolver |
workflow |
|
timepointsXml2dataXmlList_argNameList_defaultValue |
stringconstant |
Valuetime |
varNameRegex |
stringconstant |
Valuem\d+ |
atol |
stringconstant |
Value1e-12 |
rtol |
stringconstant |
Value1e-6 |
ifSensitivityAnalysis |
stringconstant |
Valuefalse |
getModel |
localworker |
ScriptBufferedReader getReader (String fileUrl, String encoding) throws IOException {
InputStreamReader reader;
try {
if (encoding == null) {
reader = new FileReader(fileUrl);
} else {
reader = new InputStreamReader(new FileInputStream(fileUrl),encoding);
}
}
catch (FileNotFoundException e) {
// try a real URL instead
URL url = new URL(fileUrl);
if (encoding == null) {
reader = new InputStreamReader (url.openStream());
} else {
reader = new InputStreamReader (url.openStream(), encoding);
}
}
return new BufferedReader(reader);
}
StringBuffer sb = new StringBuffer(4000);
if (encoding == void) {
encoding = null;
}
BufferedReader in = getReader(fileurl, encoding);
String str;
String lineEnding = System.getProperty("line.separator");
while ((str = in.readLine()) != null) {
sb.append(str);
sb.append(lineEnding);
}
in.close();
filecontents = sb.toString();
|
modelEncoding |
stringconstant |
ValueUTF-8 |
splitCsv |
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]);
}
}
|
sepRegex |
stringconstant |
Value\s*;\s* |
Beanshells (6)
Name |
Description |
Inputs |
Outputs |
timeStrListApend |
|
str
|
list
|
string2List |
|
str
|
list
|
renameCoordinate |
|
dataXml
oldName
newName
|
renamed
|
projectCoordinates |
|
inXml
coordinateNameList
|
outXml
|
mergeListsApply |
|
inBaseList
inExtListOfLists
|
outList
|
setOptionXmlList |
|
input
|
output
|
Outputs (3)
Name |
Description |
timepointsXml |
|
error |
|
plot |
|
Datalinks (26)
Source |
Sink |
concentrationStr:value |
timeStrListApend:str |
filterVariables:filteredlist |
string2List:str |
timepointsXml2dataXmlList:dataXmlList |
renameCoordinate:dataXml |
concentrationStr:value |
renameCoordinate:newName |
filterVariables:filteredlist |
renameCoordinate:oldName |
timepointsXml2dataXmlList_argNameList_defaultValue:value |
timepointsXml2dataXmlList:argNameList |
string2List:list |
timepointsXml2dataXmlList:valNameListList |
OdeSolver:timepointsXml |
timepointsXml2dataXmlList:elementXml |
timeStrListApend:list |
MathPlot:axisList |
renameCoordinate:renamed |
MathPlot:dataXmlList |
splitCsv:split |
MathPlot:optionList |
OdeSolver:variablesList |
filterVariables:stringlist |
varNameRegex:value |
filterVariables:regex |
simTimepointsNr:value |
OdeSolver:simtp |
ifSensitivityAnalysis:value |
OdeSolver:sensitivityAnalysis |
simTime:value |
OdeSolver:simt |
rtol:value |
OdeSolver:rtol |
atol:value |
OdeSolver:atol |
getModel:filecontents |
OdeSolver:model |
modelUrl:value |
getModel:fileurl |
modelEncoding:value |
getModel:encoding |
plotOptCsv:value |
splitCsv:string |
sepRegex:value |
splitCsv:regex |
OdeSolver:timepointsXml |
timepointsXml |
OdeSolver:error |
error |
MathPlot:plots |
plot |
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
(10)
Only the first 2 workflows that use similar services are shown. View all workflows that use these services.
prism Web service
(1)
PRISM model checking (http://www.prismmodelchecker.org/manual/RunningPRISM/ModelChecking). The '-fixdl' switch is used, which means that all deadlock states in model are fixed by addition of self-loops.
Created: 2011-01-26
| Last updated: 2011-01-26
Credits:
trybik
asynchronous prism Web service
(1)
Asynchronous version of the Prism Web service. Results XML list is sent via email.
Created: 2011-01-26
| Last updated: 2011-01-26
Credits:
trybik
Comments (0)
No comments yet
Log in to make a comment