Mercurial > repos > scottx611x > split_paired_collection
comparison split_paired_collection.xml @ 0:7432970f4f80 draft default tip
planemo upload for repository https://github.com/scottx611x/split-paired-collection commit 163187a32873a873de175fb50b5fbe595b456ffd
author | scottx611x |
---|---|
date | Wed, 11 Oct 2017 13:33:01 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7432970f4f80 |
---|---|
1 <?xml version='1.0' encoding='utf-8'?> | |
2 | |
3 <tool id="split_paired_collection" name="Split Paired Collection" version="0.1"> | |
4 <description>To split the elements of a Paired Dataset Collection into two distinct outputs</description> | |
5 <command> | |
6 mv $input_collection.forward $forward_element; | |
7 mv $input_collection.reverse $reverse_element; | |
8 </command> | |
9 <inputs> | |
10 <param name="input_collection" type="data_collection" collection_type="paired" label="Input Paired Collection"/> | |
11 </inputs> | |
12 <outputs> | |
13 <data name="forward_element" /> | |
14 <data name="reverse_element" /> | |
15 </outputs> | |
16 <tests> | |
17 <test> | |
18 <param name="input_collection"> | |
19 <collection type="paired"> | |
20 <element name="forward" value="forward.txt" /> | |
21 <element name="reverse" value="reverse.txt" /> | |
22 </collection> | |
23 </param> | |
24 <output name="forward_element"> | |
25 <assert_contents> | |
26 <has_line line="Forward Element" /> | |
27 </assert_contents> | |
28 </output> | |
29 <output name="reverse_element"> | |
30 <assert_contents> | |
31 <has_line line="Reverse Element" /> | |
32 </assert_contents> | |
33 </output> | |
34 </test> | |
35 </tests> | |
36 <help> | |
37 .. class:: infomark | |
38 | |
39 **Purpose** | |
40 | |
41 To split the elements of a Paired Dataset Collection into two distinct outputs | |
42 | |
43 ----- | |
44 | |
45 .. class:: infomark | |
46 | |
47 **Inputs and outputs** | |
48 | |
49 Input: Paired Dataset Collection | |
50 Outputs: two files corresponding to the two elements of said collection | |
51 </help> | |
52 </tool> | |
53 |