Am Montag, den 30.09.2013, 20:32 +0300 schrieb Ramon Tiburski:
Thank you, you solved my problem. Maybe you can help with one more thing, Can I interact in the middle of an workflow execution ? For example: I have a workflow with ten steps and after I started this, I want to select options always before each step (like a software instalation). Is it possible? Thank you one more time.
I don't think that is possible. Is that still a workflow?
Ciao, Bjoern
Subject: Re: [galaxy-dev] How can I get a txt output file from R From: bjoern.gruening@gmail.com To: ramao_tiago_tiburski@hotmail.com CC: galaxy-dev@bx.psu.edu Date: Mon, 30 Sep 2013 19:18:55 +0200
Hi Ramon,
Code: ________________________________________________________________
<tool id="predictionModelTool" name="Modelo de Deteccao de Risco"> ... <command interpreter="bash">r_wrapper.sh $script_file</command> <inputs> ... </inputs> <configfiles> <configfile name="script_file">
...
file=file("output.txt","w")
Do not hardcode a filepath here, you need to reference the template variable from your output section (name="output").
For example: file=file("${output}","w")
source("/home/ramao/Galaxy-ES/tools/my_tools/modeloCancroEuropeu.R")
close(file)
...
</configfile> </configfiles>
<outputs><data format="txt" name="output.txt"/></outputs>
and here change that to: <outputs><data format="txt" name="output"/></outputs>
Cheers, Bjoern
...
</tool> ________________________________________________________________
I'm having the output "empty" and I need that the result be
generated
in a text file. What can I do?
Thank you ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/