annotate pe_sync.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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
1 <tool id="pe_sync" name="pe-sync: Paired-end synchronization check" version="1.0">
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
2 <description>The Paired-end synchronization check program determines if the reads in paired-end fastq files are in the proper order (synchronized).</description>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
3 <command interpreter="perl">
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
4 pe_sync_2_files.pl $quickcheck $input1 $input2 2>&amp;1 | tee $output
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
5 </command>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
6 <inputs>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
7 <param name="input1" type="data" format="fastq" label="Input 1"/>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
8 <param name="input2" type="data" format="fastq" label="Input 2"/>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
9 <param name="quickcheck" type="boolean" truevalue="quick" falsevalue="" checked="false" label="Just check a sample of the sequences"
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
10 help=""/>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
11 </inputs>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
12 <stdio>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
13 <exit_code range="1:" level="fatal" description="Bad input dataset" />
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
14 </stdio>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
15 <outputs>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
16 <data format="txt" name="output" label="pe-sync report for ${input1.name} and ${input2.name}"/>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
17 </outputs>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
18 <tests>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
19 <test>
1
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
20 <param name="input1" ftype="fastq" value="reads1.fastqsanger" />
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
21 <param name="input2" ftype="fastq" value="reads2.fastqsanger" />
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
22 <param name="quickcheck" value="false"/>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
23 <output name="output">
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
24 <assert_contents>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
25 <has_text text="PASSED" />
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
26 </assert_contents>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
27 </output>
0
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
28 </test>
1
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
29 <test>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
30 <param name="input1" ftype="fastq" value="reads1.fastqsanger" />
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
31 <param name="input2" ftype="fastq" value="reads_unsync_2.fastqsanger" />
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
32 <param name="quickcheck" value="false"/>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
33 <output name="output">
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
34 <assert_contents>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
35 <has_text text="FAILED" />
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
36 </assert_contents>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
37 </output>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
38 </test>
b0ab279b5add Add test cases
Jim Johnson <jj@umn.edu>
parents: 0
diff changeset
39
0
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
40 </tests>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
41 <help>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
42 Paired-end read file synchronization checks if left and right reads are in the same order.
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
43
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
44 The "quick" option will not report the percent of out-of-sync reads
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
45 for many failed files, but will run much faster.
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
46
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
47 This script can handle Casava 1.8.0 style read IDs, and pre 1.8.0 style ids.
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
48 Other types of read ID formats may cause a terminal error.
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
49
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
50 </help>
751f4938cf0d Uploaded
jjohnson
parents:
diff changeset
51 </tool>