annotate ectyper.xml @ 2:d6cf8adc7833 draft

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