Question: Viewing Data Live While Tool Is Running
0
gravatar for Ketan Maheshwari
5.3 years ago by
Ketan Maheshwari • 70 wrote:
Hi, I am a relatively new Galaxy user. I am wondering if there is an example of a tool which allows users to view at the stdout/err of a tool live while it is still running to get a sense of progress it is making. The tools I have had experience with so far will save the stdout/err or an elaborate report as they are running and those results would be available for users only after the tool has completed running. Admittedly I have not searched through the toolshed exhaustively. Best, -- Ketan
galaxy • 517 views
ADD COMMENT • link • modified 5.3 years ago by Peter Cock • 1.4k • written 5.3 years ago by Ketan Maheshwari • 70
0
gravatar for Peter Cock
5.3 years ago by
Peter Cock • 1.4k
European Union
Peter Cock • 1.4k wrote:
On Tue, Jul 30, 2013 at 5:27 PM, Ketan Maheshwari I'm pretty sure Galaxy won't allow you to view any of stdout/stderr until the tool has finished - this is especially true if run on a cluster. However, if the tool's stdout is redirected to an output file shown in the Galaxy history you should be able to see that as the job runs. My MIRA wrapper does this, I have a Python wrapper script calling MIRA via subprocess and sending MIRA's stdout to a text file defined as one of the outputs in the Galaxy XML. http://toolshed.g2.bx.psu.edu/view/peterjc/mira_assembler Note that from Galaxy's point of view it was calling my Python script which produced a small amount on stdout - which is not available until the job finishes. Peter
ADD COMMENT • link written 5.3 years ago by Peter Cock • 1.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 150 users visited in the last hour