Dear All,
I deployed Galaxy locally using sh run.sh
on Ubuntu 16.04 LTS. My tool was dockerized and set to run locally through Galaxy interface. The tool ran ok as I saw files generated. But Galaxy interface couldn’t list files in the webpage. Here is my Galaxy logs copied from my terminal (at galaxy logs)
My job_config.xml is like
<?xml version="1.0"?>
<!-- A sample job config that explicitly configures job running the way it is
configured by default (if there is no explicit config). -->
<job_conf>
<plugins>
<plugin id="local" type="runner" load="galaxy.jobs.runners.local:LocalJobRunner" workers="1"/>
</plugins>
<destinations default="local">
<destination id="local" runner="local"/>
<destination id="docker_local" runner="local">
<param id="docker_enabled">true</param>
</destination>
<destination id="metaboflow-container" runner="local">
<param id="docker_enabled">true</param>
<param id="docker_volumes">$defaults,/opt/galaxy_data:rw</param> -->
<param id="docker_sudo">false</param>
<param id="docker_auto_rm">false</param>
</destination>
</destinations>
<tools>
<tool id="metaboflow" destination="metaboflow-container"/>
</tools>
</job_conf>
my tool xml is
<tool id="metaboflow" name="Metabo Flow (in docker)">
<description>Metabo Flow</description>
<requirements>
<container type="docker">jianlianggao/metaboflow_pre:20203</container>
</requirements>
<command><![CDATA[
/usr/local/bin/runPreProc.R -d ${testdata_input} -p ${pre_define_sd} -o \$PWD
]]>
</command>
<inputs>
<param name="testdata_input" type="data" label="Test Dataset" help="Demo data set (Dataset_Metaboflow_Ionomic_Workflow.csv) can be downloaded from the link below." />
<param name="pre_define_sd" type="data" label="Pre-defined standard deviation matrix" />
</inputs>
<outputs>
<!-- <collection name="metaboflow_output_plots" type="list" label="MetaboFlow output plots from ${on_string}">
<discover_datasets pattern="(?P<name>)\.pdf$" ext="pdf" />
</collection> -->
<data name="data_long" format="csv" /> <!-- from_work_dir="data_long.csv" label="data_long.csv"/>
<data name="output2" file="/opt/galaxy_data/data_wide.csv" label="data.wide.csv"/>
<data name="output3" file="/opt/galaxy_data/data_wide_Symb.csv" label="data.wide_Symb.csv"/>
<data name="data4" file="/opt/galaxy_data/stats.median_batch_corrected_data.txt" label="stats.median_batch_corrected_data.txt"/>
<data name="data5" file="/opt/galaxy_data/stats.outliers.txt" label="stats.outliers.txt"/>
<data name="data6" file="/opt/galaxy_data/stats.raw_data.txt" label="stats.raw_data.txt"/>
<data name="data7" file="/opt/galaxy_data/stats.standardised_data.txt" label="stats.standardised_data.txt"/>
<data name="data8" file="/opt/galaxy_data/plot.logConcentration_by_batch.pdf" label="plot.logConcentration_by_batch.pdf"/>
<data name="data9" file="/opt/galaxy_data/plot.logConcentration_z_scores.pdf" label="plot.logConcentration_z_scores.pdf"/> -->
</outputs>
<tests>
<test>
<param name="testdata_input" value="Dataset_Metaboflow_Ionomic_Workflow.csv"/>
<param name="pre_define_sd" value="pre_defined_sd.txt"/>
<output name="data_long" file="data_long.csv"/>
</test>
</tests>
<help>
</help>
</tool>
Look forward to getting your comments to help me sort out my issue. Thank you very much.
Best regards,
Jianliang