comparison resync.xml @ 1:b0ab279b5add default tip

Add test cases
author Jim Johnson <jj@umn.edu>
date Wed, 20 Mar 2013 08:26:48 -0500
parents 751f4938cf0d
children
comparison
equal deleted inserted replaced
0:751f4938cf0d 1:b0ab279b5add
14 <data format_source="input1" name="output1" label="resync ${input1.name}"/> 14 <data format_source="input1" name="output1" label="resync ${input1.name}"/>
15 <data format_source="input2" name="output2" label="resync ${input2.name}"/> 15 <data format_source="input2" name="output2" label="resync ${input2.name}"/>
16 </outputs> 16 </outputs>
17 <tests> 17 <tests>
18 <test> 18 <test>
19 <param name="input1" ftype="fastq" value="reads1.fastqsanger" />
20 <param name="input2" ftype="fastq" value="reads2.fastqsanger" />
21 <!-- synchronized files should remain unchanged -->
22 <output name="output1" file="reads1.fastqsanger" />
23 <output name="output2" file="reads2.fastqsanger" />
24 </test>
25 <test>
26 <param name="input1" ftype="fastq" value="reads1.fastqsanger" />
27 <param name="input2" ftype="fastq" value="reads_unsync_2.fastqsanger" />
28 <output name="output1">
29 <!-- unsynchronized files should remove unpaired read -->
30 <assert_contents>
31 <has_text text="@HWUSI-EAS1737:7:1:4411:1170#CAGATC/1" />
32 <not_has_text text="@HWUSI-EAS1737:7:1:16187:1196#CAGATC/1" />
33 </assert_contents>
34 </output>
35 <output name="output2">
36 <!-- unsynchronized files should remove unpaired read -->
37 <assert_contents>
38 <has_text text="@HWUSI-EAS1737:7:1:4411:1170#CAGATC/2" />
39 <not_has_text text="@HWUSI-EAS1737:7:1:16187:1196#CAGATC/2" />
40 </assert_contents>
41 </output>
19 </test> 42 </test>
20 </tests> 43 </tests>
21 <help> 44 <help>
22 Resynchronize a pair of paired-end fastq files. 45 Resynchronize a pair of paired-end fastq files.
23 46