changeset 0:7c48290ad757 draft default tip

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/galaxytools-emc/tree/master/tools/split_pairs commit e935c9b4548e868799b48939adc5f4646e2219c9
author erasmus-medical-center
date Mon, 04 Jun 2018 07:59:07 -0400
parents
children
files split_pairs.xml test-data/forward.txt test-data/reverse.txt
diffstat 3 files changed, 33 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/split_pairs.xml	Mon Jun 04 07:59:07 2018 -0400
@@ -0,0 +1,31 @@
+<tool id="split_pairs" name="Split Dataset Pairs" version="0.1">
+    <description>into two regular datasets</description>
+    <command detect_errors="aggressive"><![CDATA[
+cp '$pair_input.forward' '$fwd' &&
+cp '$pair_input.reverse' '$rev'
+    ]]></command>
+    <inputs>
+        <param name="pair_input" type="data_collection" collection_type="paired" label="Paired dataset"/>
+    </inputs>
+    <outputs>
+        <data name="fwd" format="auto" label="${tool.name} on ${on_string}: forward file"/>
+        <data name="rev" format="auto" label="${tool.name} on ${on_string}: reverse file"/>
+    </outputs>
+    <tests>
+        <test>
+            <param name="pair_input">
+                <collection type="paired">
+                    <element name="forward" value="forward.txt" />
+                    <element name="reverse" value="reverse.txt" />
+                </collection>
+            </param>
+            <output name="fwd" file="forward.txt" />
+            <output name="rev" file="reverse.txt" />
+        </test>
+    </tests>
+    <help><![CDATA[
+Takes as input a dataset pair, and outputs the forward and reverse files as two regular files.
+
+This tool does not alter the datasets, it is simply a convenience tool for workflows.
+    ]]></help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/forward.txt	Mon Jun 04 07:59:07 2018 -0400
@@ -0,0 +1,1 @@
+Hello,
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/reverse.txt	Mon Jun 04 07:59:07 2018 -0400
@@ -0,0 +1,1 @@
+World!