Repository 'split_paired_collection'
hg clone https://toolshed.g2.bx.psu.edu/repos/refinery-platform/split_paired_collection

Changeset 0:cace0ed288ea (2017-10-17)
Next changeset 1:3a60513b51a2 (2017-10-17)
Commit message:
planemo upload for repository https://github.com/scottx611x/split-paired-collection commit fdd6d6c25e53aff63401745a53f43b95b41e8845-dirty
added:
split_paired_collection.xml
test-data/forward.txt
test-data/reverse.txt
b
diff -r 000000000000 -r cace0ed288ea split_paired_collection.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/split_paired_collection.xml Tue Oct 17 16:55:07 2017 -0400
b
@@ -0,0 +1,53 @@
+<?xml version='1.0' encoding='utf-8'?>
+
+<tool id="split_paired_collection" name="Split Paired Collection" version="0.1">
+    <description>To split the elements of a Paired Dataset Collection into two distinct outputs</description>
+      <command>
+        mv $input_collection.forward $forward_element;
+        mv $input_collection.reverse $reverse_element;
+      </command>
+    <inputs>
+        <param name="input_collection" type="data_collection" collection_type="paired" label="Input Paired Collection"/>
+    </inputs>
+    <outputs>
+        <data name="forward_element" />
+        <data name="reverse_element" />
+    </outputs>
+    <tests>
+        <test>
+          <param name="input_collection">
+            <collection type="paired">
+              <element name="forward" value="forward.txt" />
+              <element name="reverse" value="reverse.txt" />
+            </collection>
+          </param>
+          <output name="forward_element">
+            <assert_contents>
+              <has_line line="Forward Element" />
+            </assert_contents>
+          </output>
+          <output name="reverse_element">
+            <assert_contents>
+              <has_line line="Reverse Element" />
+            </assert_contents>
+          </output>
+        </test>
+    </tests>
+    <help>
+.. class:: infomark
+
+**Purpose**
+
+To split the elements of a Paired Dataset Collection into two distinct outputs
+
+-----
+
+.. class:: infomark
+
+**Inputs and outputs**
+
+Input: Paired Dataset Collection
+Outputs: two files corresponding to the two elements of said collection
+ </help> 
+</tool>
+
b
diff -r 000000000000 -r cace0ed288ea test-data/forward.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/forward.txt Tue Oct 17 16:55:07 2017 -0400
b
@@ -0,0 +1,1 @@
+Forward Element
b
diff -r 000000000000 -r cace0ed288ea test-data/reverse.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/reverse.txt Tue Oct 17 16:55:07 2017 -0400
b
@@ -0,0 +1,1 @@
+Reverse Element