annotate ecoli_serotyping/ectyper.xml @ 34:3853eaea6e00 draft default tip

Uploaded
author jpetteng
date Tue, 09 Jan 2018 11:36:07 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
1 <tool id="ectyper" name="ectyper" version="2.0">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
2 <requirements>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
3 <requirement type="package" version="3.6.3">python</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
4 <requirement type="package">ectyper</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
5 <requirement type="package">biopython</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
6 <requirement type="package">blast</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
7 <requirement type="package">samtools</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
8 <requirement type="package">bcftools</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
9 <requirement type="package">bowtie</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
10 <requirement type="package">spades</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
11 <requirement type="package">seqtk</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
12 <requirement type="package">pandas</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
13 <requirement type="package">mash</requirement>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
14 </requirements>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
15 <command detect_errors="exit_code"><![CDATA[
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
16 #if $jobtype.select == "asm"
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
17 ln -s $jobtype.draft sample.fasta;
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
18 #else if $jobtype.select == "se"
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
19 ln -s $jobtype.fastq1 sample_1.fastq;
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
20 #else if $jobtype.select == "pe"
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
21 ln -s $jobtype.fastq1 sample_1.fastq;
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
22 ln -s $jobtype.fastq2 sample_2.fastq;
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
23 #end if
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
24
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
25 python $__tool_directory__/bin/ectyper
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
26 #if $jobtype.select == "asm"
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
27 -m 4
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
28 -i sample.fasta
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
29 #else if $jobtype.select == "se"
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
30 -m 3
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
31 -i sample_1.fastq
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
32 #else if $jobtype.select == "pe"
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
33 -m 2
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
34 -i sample_1.fastq sample_2.fastq
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
35 #end if
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
36 -b $maptype.select;
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
37 cat ectyper_result*/ectyper_result.txt > results.txt;
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
38
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
39 ]]></command>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
40 <inputs>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
41 <conditional name="jobtype">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
42 <param name="select" type="select" label="Assembly or FASTQ Reads?">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
43 <option value="asm">Genome Assembly</option>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
44 <option value="se">Single-End Reads</option>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
45 <option value="pe">Paired-End Reads</option>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
46 </param>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
47 <when value="asm">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
48 <param name="draft" type="data" format="fasta" label="FASTA" />
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
49 </when>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
50 <when value="se">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
51 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
52 </when>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
53 <when value="pe">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
54 <param name="fastq1" type="data" format="fastq" label="FASTQ" />
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
55 <param name="fastq2" type="data" format="fastq" label="FASTQ" />
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
56 </when>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
57 </conditional>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
58
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
59 <conditional name="maptype">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
60 <param name="select" type="select" label="Algorithms for BWA mapping?">
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
61 <option value="sam">sam</option>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
62 <option value="mem">mem</option>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
63 </param>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
64 </conditional>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
65
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
66
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
67 </inputs>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
68 <outputs>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
69 <data format="txt" label="ectyper Results" name="results" from_work_dir="results.txt"/>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
70 </outputs>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
71 <tests>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
72 <test>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
73 <output name="results" file="results.txt"/>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
74 </test>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
75 </tests>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
76 <help><![CDATA[
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
77
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
78 **Usage: ectyper**
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
79
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
80 **INPUT**
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
81
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
82 A fasta assembly
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
83
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
84 **PERCENTIDENTITY**
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
85
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
86 Percentage of identity wanted to use against the database. From 0 to 100, default is 90%.
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
87
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
88 **PERCENTLENGTH**
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
89
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
90 Percentage of length wanted to use against the database. From 0 to 100, default is 50%.
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
91
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
92 **verify**
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
93
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
94 Enable E. Coli. verification
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
95
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
96 **species**
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
97
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
98 Enable species identification when non-ecoli genome is found Note: refseq downloading is required when running this option for the first time.
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
99
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
100 **OUTPUT**
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
101 Directory location of output files.
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
102 ]]></help>
3853eaea6e00 Uploaded
jpetteng
parents:
diff changeset
103 </tool>