|
1
|
1 <tool id="rtg_format_fastq" name="Format FASTQ">
|
|
|
2 <description>to SDF with rtg format</description>
|
|
|
3 <command interpreter="bash">galaxy-rtg-wrapper.sh format
|
|
|
4 -f fastq
|
|
|
5 #if $paired.sPaired == "paired":
|
|
|
6 -l $paired.input1
|
|
|
7 -r $paired.input2
|
|
|
8 #else:
|
|
|
9 $paired.input1
|
|
|
10 #end if
|
|
|
11 #if str($protein) == "true":
|
|
|
12 -p
|
|
|
13 #end if
|
|
|
14 -q $quality_format
|
|
|
15 -o ${output.extra_files_path} >$output</command>
|
|
|
16 <inputs>
|
|
|
17 <conditional name="paired">
|
|
|
18 <param name="sPaired" type="select" label="Are you formatting paired-end reads?">
|
|
|
19 <option value="single">Non-read data or single-end</option>
|
|
|
20 <option value="paired">Paired-end</option>
|
|
|
21 </param>
|
|
|
22 <when value="single">
|
|
|
23 <param name="input1" type="data" format="fastq" label="Source FASTQ file"/>
|
|
|
24 </when>
|
|
|
25 <when value="paired">
|
|
|
26 <param name="input1" type="data" format="fastq" label="First of pair FASTA file"/>
|
|
|
27 <param name="input2" type="data" format="fastq" label="Second of pair FASTA file"/>
|
|
|
28 </when>
|
|
|
29 </conditional>
|
|
|
30 <param name="quality_format" type="select" label="Quality format">
|
|
|
31 <option value="sanger" selected="true">Sanger</option>
|
|
|
32 <option value="solexa">Solexa</option>
|
|
|
33 <option value="illumina">Illumina</option>
|
|
|
34 </param>
|
|
|
35 <param name="protein" type="select" label="Input consists of protein">
|
|
|
36 <option value="false" selected="true">False</option>
|
|
|
37 <option value="true">True</option>
|
|
|
38 </param>
|
|
|
39 </inputs>
|
|
|
40 <outputs>
|
|
|
41 <data format="rtg_sdf" name="output" />
|
|
|
42 </outputs>
|
|
|
43
|
|
|
44 <help>
|
|
|
45 This tool formats a FASTQ file to RTG SDF.
|
|
|
46 </help>
|
|
|
47
|
|
|
48 </tool>
|