diff export_to_cluster.xml @ 0:0dbe46f58158 draft

planemo upload for repository https://github.com/TGAC/earlham-galaxytools/tree/master/tools/export_to_cluster/ commit e80af91bced56efdb4fbf62ac03232655a22f25d-dirty
author earlhaminst
date Thu, 11 Aug 2016 15:27:30 -0400
parents
children b97775e9fe06
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/export_to_cluster.xml	Thu Aug 11 15:27:30 2016 -0400
@@ -0,0 +1,30 @@
+<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>