view export_to_cluster.xml @ 4:ddd9749d3b00 draft default tip

planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/main/tools/export_to_cluster/ commit 457bb20f9c1c007b42d79b08527f5c558529ab8a-dirty
author earlhaminst
date Mon, 24 Feb 2025 17:06:57 +0000
parents 9838eed606ad
children
line wrap: on
line source

<tool id="export_to_cluster" name="Export datasets to cluster" version="0.0.2">
    <requirements>
        <requirement type="set_environment">EXPORT_DIR_PREFIX</requirement>
    </requirements>
    <command detect_errors="aggressive"><![CDATA[
python '$__tool_directory__/export_to_cluster.py' -d '$export_dir' -p "\$EXPORT_DIR_PREFIX"
#for $d in $datasets
    '${d}' '${d.hid}: ${d.element_identifier}' '${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><![CDATA[
Simple tool to copy datasets to a directory on the cluster.
    ]]></help>
    <citations/>
</tool>