Question: Galaxy tool input and output files help please!
0
gravatar for j.gao
2.4 years ago by
j.gao0
j.gao0 wrote:

Hi All,

I am a newbie to Galaxy. I created a tool in Galaxy. The tool will take 5 input parameters, 2 .txt files, 2 .csv files and 1 string as path. The tool output many files in a folder. The number of output files varies depending on the input dataset. I don't know how to configure the <outputs> tag in the .xml file to make the tool run properly. Currently, I leave <outputs> tag empty, the tool keeps the status "This job is currently running" forever. I think I need proper configuration for <outputs>. Can you provide some examples please? The wiki content gives little helpful information in this case.

Thank you very much.

Best, J

output tool input • 1.1k views
ADD COMMENTlink modified 2.4 years ago by Martin Čech ♦♦ 4.9k • written 2.4 years ago by j.gao0

Thank you very much Katherine. I will have a look. Any further question I will be back to you.

Best,

J

ADD REPLYlink written 2.4 years ago by j.gao0
0
gravatar for katherine.beaulieu014
2.4 years ago by
katherine.beaulieu01480 wrote:

Look at this forum post and try to copy the output file name for your output files. https://lists.galaxyproject.org/pipermail/galaxy-dev/2014-August/020361.html You output tag should look like a regular output tag, like for just one file.

ADD COMMENTlink modified 2.4 years ago • written 2.4 years ago by katherine.beaulieu01480

Hi Katherine,

Sorry I still have no clue what to do. My tool is a docker container built based on r. The running command is a R script with input parameters -i input dataset(txt) -o output folder(string) -p options (txt) -u template(csv) -l targeted compounds(csv). The docker runs OK directly by docker run. In the .xml file, inside <command> tag, I have given -i ${input1} -o ${input2} -p ${input3} -u ${input4} -l ${input5} . If the docker runs properly, the output files will include .txt, .csv and .pdf files. If follow the example in the post, shall I have myTool.R $input1 $input2 $input3 $input4 $input5 $output1 $output1.id $__new_file_path__ ? I am so confused. Please help me out of this. Thank you very much.

Best,

J

ADD REPLYlink modified 2.4 years ago • written 2.4 years ago by j.gao0
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: 175 users visited in the last hour