annotate ecoli_serotyping/ectyper.xml @ 10:5b52b3842765 draft

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