|
0
|
1 <tool id="ectyper" name="ectyper" version="0.1">
|
|
|
2 <requirements>
|
|
|
3 <requirement type="package" version="0.1">ectyper</requirement>
|
|
|
4 </requirements>
|
|
|
5 <command detect_errors="exit_code"><![CDATA[
|
|
|
6
|
|
7
|
7 $__tool_directory__/ectyper
|
|
0
|
8 #if $jobtype.select == "asm"
|
|
17
|
9 -i $draft
|
|
0
|
10 #else if $jobtype.select == "se"
|
|
17
|
11 -i $fastq1
|
|
0
|
12 #else if $jobtype.select == "pe"
|
|
17
|
13 -i $fastq1 $fastq2
|
|
0
|
14 #end if
|
|
17
|
15 -d $percent_identity
|
|
5
|
16 -l $percent_length
|
|
16
|
17 -o "./"; cat ./output/output.csv > results.csv;
|
|
0
|
18
|
|
|
19 ]]></command>
|
|
|
20 <inputs>
|
|
|
21 <conditional name="jobtype">
|
|
|
22 <param name="select" type="select" label="Assembly or FASTQ Reads?">
|
|
|
23 <option value="asm">Genome Assembly</option>
|
|
|
24 <option value="se">Single-End Reads</option>
|
|
|
25 <option value="pe">Paired-End Reads</option>
|
|
|
26 </param>
|
|
|
27 <when value="asm">
|
|
|
28 <param name="draft" type="data" format="fasta" label="FASTA" />
|
|
|
29 </when>
|
|
|
30 <when value="se">
|
|
|
31 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
|
|
|
32 </when>
|
|
|
33 <when value="pe">
|
|
|
34 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
|
|
|
35 <param name="fastq2" type="data" format="fastq" label="FASTQ" />
|
|
|
36 </when>
|
|
|
37 </conditional>
|
|
|
38
|
|
5
|
39 <param name="percent_identity" type="integer" label="Percent identity required for an allele match [default 90]" value="90" />
|
|
|
40 <param name="percent_length" type="integer" label="Percent length required for an allele match [default 50]" value="50" />
|
|
0
|
41
|
|
|
42 </inputs>
|
|
|
43 <outputs>
|
|
15
|
44 <data format="csv" label="ectyper Results" name="#{tool_input_name}.ectperResults" from_work_dir="*.csv"/>
|
|
0
|
45 </outputs>
|
|
2
|
46
|
|
0
|
47 <help><![CDATA[
|
|
|
48
|
|
|
49 **Usage: ectyper**
|
|
|
50
|
|
|
51 **INPUT**
|
|
|
52
|
|
2
|
53 A fasta assembly or single or paired end reads
|
|
0
|
54
|
|
|
55 **PERCENTIDENTITY**
|
|
|
56
|
|
|
57 Percentage of identity wanted to use against the database. From 0 to 100, default is 90%.
|
|
|
58
|
|
|
59 **PERCENTLENGTH**
|
|
|
60
|
|
|
61 Percentage of length wanted to use against the database. From 0 to 100, default is 50%.
|
|
|
62
|
|
2
|
63 https://github.com/phac-nml/ecoli_serotyping
|
|
0
|
64
|
|
|
65 ]]></help>
|
|
|
66 </tool>
|