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