Mercurial > repos > refinery-platform > split_paired_dataset_collection
comparison split_paired_collection.xml @ 0:55f8355f64c3 draft default tip
planemo upload for repository https://github.com/scottx611x/split-paired-collection commit fdd6d6c25e53aff63401745a53f43b95b41e8845-dirty
author | refinery-platform |
---|---|
date | Tue, 17 Oct 2017 16:56:59 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:55f8355f64c3 |
---|---|
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 |