2
|
1 <tool id="fastq_groomer_parallel" name="FASTQ Parallel Groomer" version="0.3.1">
|
|
2 <description>Parallel Implementation of FASTQ Groomer</description>
|
|
3 <command interpreter="python">fastq_groomer_parallel.py '$input_file' '$input_type' '$output_file'
|
|
4 #if str( $options_type['options_type_selector'] ) == 'basic':
|
|
5 #if str( $input_type ) == 'cssanger':
|
|
6 'cssanger'
|
|
7 #else:
|
|
8 'sanger'
|
|
9 #end if
|
|
10 'ascii' 'summarize_input'
|
|
11 #else:
|
|
12 '${options_type.output_type}' '${options_type.force_quality_encoding}' '${options_type.summarize_input}'
|
|
13 #end if
|
3
|
14 "\${GALAXY_SLOTS:-4}"
|
2
|
15 </command>
|
|
16 <inputs>
|
|
17 <param name="input_file" type="data" format="fastq" label="File to groom" />
|
|
18 <param name="input_type" type="select" label="Input FASTQ quality scores type">
|
|
19 <option value="solexa">Solexa</option>
|
|
20 <option value="illumina">Illumina 1.3-1.7</option>
|
|
21 <option value="sanger" selected="True">Sanger</option>
|
|
22 <option value="cssanger">Color Space Sanger</option>
|
|
23 </param>
|
|
24 <conditional name="options_type">
|
|
25 <param name="options_type_selector" type="select" label="Advanced Options">
|
|
26 <option value="basic" selected="True">Hide Advanced Options</option>
|
|
27 <option value="advanced">Show Advanced Options</option>
|
|
28 </param>
|
|
29 <when value="basic">
|
|
30 <!-- no options -->
|
|
31 </when>
|
|
32 <when value="advanced">
|
|
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.">
|
|
34 <option value="solexa">Solexa</option>
|
|
35 <option value="illumina">Illumina 1.3+</option>
|
|
36 <option value="sanger" selected="True">Sanger (recommended)</option>
|
|
37 <option value="cssanger">Color Space Sanger</option>
|
|
38 </param>
|
|
39 <param name="force_quality_encoding" type="select" label="Force Quality Score encoding">
|
|
40 <option value="None">Use Source Encoding</option>
|
|
41 <option value="ascii" selected="True">ASCII</option>
|
|
42 <option value="decimal">Decimal</option>
|
|
43 </param>
|
|
44 <param name="summarize_input" type="select" label="Summarize input data">
|
|
45 <option value="summarize_input" selected="True">Summarize Input</option>
|
|
46 <option value="dont_summarize_input">Do not Summarize Input (faster)</option>
|
|
47 </param>
|
|
48 </when>
|
|
49 </conditional>
|
|
50 </inputs>
|
|
51 <outputs>
|
|
52 <data name="output_file" format="fastqsanger">
|
|
53 <change_format>
|
|
54 <when input="input_type" value="cssanger" format="fastqcssanger" />
|
|
55 <when input="options_type.output_type" value="solexa" format="fastqsolexa" />
|
|
56 <when input="options_type.output_type" value="illumina" format="fastqillumina" />
|
|
57 <when input="options_type.output_type" value="sanger" format="fastqsanger" />
|
|
58 <when input="options_type.output_type" value="cssanger" format="fastqcssanger" />
|
|
59 </change_format>
|
|
60 </data>
|
|
61 </outputs>
|
|
62 <tests>
|
|
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. -->
|
|
64 <!-- Unfortunately, cannot test for expected failures -->
|
|
65 </tests>
|
|
66 <help>
|
|
67 **What it does**
|
|
68
|
|
69 This is a parallel implementation of FASTQ Groomer. It utilizes multiple CPUs thus runs much faster than the original implementation.
|
|
70 </help>
|
|
71 </tool>
|