view export_to_cluster.xml @ 1:a9d1991c90e3 draft

planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/export_to_cluster/ commit 7d8a044afcc2cdf4fa7a3c360d9df3990356589c-dirty
author earlhaminst
date Mon, 03 Oct 2016 06:26:41 -0400
parents 0dbe46f58158
children b97775e9fe06
line wrap: on
line source

<tool id="export_to_cluster" name="Export datasets to cluster" version="0.0.1">
    <requirements>
        <requirement type="set_environment">EXPORT_DIR_PREFIX</requirement>
    </requirements>
    <command>
<![CDATA[
python $__tool_directory__/export_to_cluster.py -d '$export_dir' -p "\$EXPORT_DIR_PREFIX"
#for $d in $datasets
    '${d}' '${d.hid}: ${d.name}' '${d.ext}'
#end for
> $log
]]>
    </command>
    <inputs>
        <param name="datasets" type="data" format="data" multiple="true" label="Datasets to export" />
        <param name="export_dir" type="text" value="" label="Directory where to export the datasets" help="Must be writable by the Galaxy user">
            <validator type="empty_field" />
            <sanitizer sanitize="false" />
        </param>
    </inputs>
    <outputs>
        <data name="log" format="txt" />
    </outputs>
    <tests>
    </tests>
    <help>
Simple tool to copy datasets to a directory on the cluster.
    </help>
    <citations/>
</tool>