comparison fastq_groomer_parallel.xml @ 5:17c920adac3d draft

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