annotate fastq_groomer_parallel.xml @ 7:6e0cf7b09234

version bump
author Kevin Ying <k.ying@garvan.org.au>
date Fri, 14 Sep 2012 11:25:03 +1000
parents 5108dc779c01
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
6e0cf7b09234 version bump
Kevin Ying <k.ying@garvan.org.au>
parents: 6
diff changeset
1 <tool id="fastq_groomer_parallel" name="FASTQ Parallel Groomer" version="0.2">
2
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
2 <description>Parallel Implementation of FASTQ Groomer</description>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
3 <command interpreter="python">fastq_groomer_parallel.py '$input_file' '$input_type' '$output_file'
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
4 #if str( $options_type['options_type_selector'] ) == 'basic':
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
5 #if str( $input_type ) == 'cssanger':
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
6 'cssanger'
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
7 #else:
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
8 'sanger'
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
9 #end if
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
10 'ascii' 'summarize_input'
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
11 #else:
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
12 '${options_type.output_type}' '${options_type.force_quality_encoding}' '${options_type.summarize_input}'
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
13 #end if
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
14 '8'
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
15 </command>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
16 <inputs>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
17 <param name="input_file" type="data" format="fastq" label="File to groom" />
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
18 <param name="input_type" type="select" label="Input FASTQ quality scores type">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
19 <option value="solexa">Solexa</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
20 <option value="illumina">Illumina 1.3-1.7</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
21 <option value="sanger" selected="True">Sanger</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
22 <option value="cssanger">Color Space Sanger</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
23 </param>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
24 <conditional name="options_type">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
25 <param name="options_type_selector" type="select" label="Advanced Options">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
26 <option value="basic" selected="True">Hide Advanced Options</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
27 <option value="advanced">Show Advanced Options</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
28 </param>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
29 <when value="basic">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
30 <!-- no options -->
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
31 </when>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
32 <when value="advanced">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
33 <param name="output_type" type="select" label="Output FASTQ quality scores type" help="Galaxy tools are designed to work with the Sanger Quality score format.">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
34 <option value="solexa">Solexa</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
35 <option value="illumina">Illumina 1.3+</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
36 <option value="sanger" selected="True">Sanger (recommended)</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
37 <option value="cssanger">Color Space Sanger</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
38 </param>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
39 <param name="force_quality_encoding" type="select" label="Force Quality Score encoding">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
40 <option value="None">Use Source Encoding</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
41 <option value="ascii" selected="True">ASCII</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
42 <option value="decimal">Decimal</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
43 </param>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
44 <param name="summarize_input" type="select" label="Summarize input data">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
45 <option value="summarize_input" selected="True">Summarize Input</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
46 <option value="dont_summarize_input">Do not Summarize Input (faster)</option>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
47 </param>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
48 </when>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
49 </conditional>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
50 </inputs>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
51 <outputs>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
52 <data name="output_file" format="fastqsanger">
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
53 <change_format>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
54 <when input="input_type" value="cssanger" format="fastqcssanger" />
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
55 <when input="options_type.output_type" value="solexa" format="fastqsolexa" />
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
56 <when input="options_type.output_type" value="illumina" format="fastqillumina" />
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
57 <when input="options_type.output_type" value="sanger" format="fastqsanger" />
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
58 <when input="options_type.output_type" value="cssanger" format="fastqcssanger" />
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
59 </change_format>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
60 </data>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
61 </outputs>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
62 <tests>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
63 <!-- These tests include test files adapted from supplemental material in Cock PJ, Fields CJ, Goto N, Heuer ML, Rice PM. The Sanger FASTQ file format for sequences with quality scores, and the Solexa/Illumina FASTQ variants. Nucleic Acids Res. 2009 Dec 16. -->
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
64 <!-- Unfortunately, cannot test for expected failures -->
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
65 </tests>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
66 <help>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
67 **What it does**
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
68
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
69 This is a parallel implementation of FASTQ Groomer. It utilizes multiple CPUs thus runs much faster than the original implementation.
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
70 </help>
1689fce5586c re upload without folder
kevyin
parents:
diff changeset
71 </tool>