annotate ectyper.xml @ 31:d3609c68d1aa draft

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