annotate fastq_groomer_parallel.xml @ 3:66ca0d174cf2 draft

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