annotate fastq_groomer_parallel.xml @ 5:17c920adac3d draft

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