annotate kraken_combine.xml @ 14:fd27c97c8366 draft default tip

Uploaded
author cschu
date Mon, 18 May 2015 15:55:47 -0400
parents df4163858937
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
df4163858937 Uploaded
cschu
parents:
diff changeset
1 <tool id="kraken_combine" name="kraken_combine">
df4163858937 Uploaded
cschu
parents:
diff changeset
2 <description>extract unique and common sequences from two kraken runs</description>
df4163858937 Uploaded
cschu
parents:
diff changeset
3 <requirements>
df4163858937 Uploaded
cschu
parents:
diff changeset
4 <requirement type="package" version="2.7">python</requirement>
df4163858937 Uploaded
cschu
parents:
diff changeset
5 </requirements>
df4163858937 Uploaded
cschu
parents:
diff changeset
6 <command interpreter="python">kraken_combine.py
df4163858937 Uploaded
cschu
parents:
diff changeset
7 --in1="${dataFormat.input1}"
df4163858937 Uploaded
cschu
parents:
diff changeset
8 --set1-output-left=${set1OutputLeft}
df4163858937 Uploaded
cschu
parents:
diff changeset
9 --set2-output-left=${set2OutputLeft}
df4163858937 Uploaded
cschu
parents:
diff changeset
10 --unclassified-output-left=${unclassifiedOutputLeft}
df4163858937 Uploaded
cschu
parents:
diff changeset
11 --intersection-output-left=${intersectionOutputLeft}
df4163858937 Uploaded
cschu
parents:
diff changeset
12 --kraken-results1="${classificationSet1}"
df4163858937 Uploaded
cschu
parents:
diff changeset
13 --kraken-results2="${classificationSet2}"
df4163858937 Uploaded
cschu
parents:
diff changeset
14
df4163858937 Uploaded
cschu
parents:
diff changeset
15 #if $dataFormat.inputFormat == "pairedFASTQ" or $dataFormat.inputFormat == "pairedFASTA":
df4163858937 Uploaded
cschu
parents:
diff changeset
16 --in2="${dataFormat.input2}"
df4163858937 Uploaded
cschu
parents:
diff changeset
17 --set1-output-right=${set1OutputRight}
df4163858937 Uploaded
cschu
parents:
diff changeset
18 --set2-output-right=${set2OutputRight}
df4163858937 Uploaded
cschu
parents:
diff changeset
19 --unclassified-output-right=${unclassifiedOutputRight}
df4163858937 Uploaded
cschu
parents:
diff changeset
20 --intersection-output-right=${intersectionOutputRight}
df4163858937 Uploaded
cschu
parents:
diff changeset
21 #end if
df4163858937 Uploaded
cschu
parents:
diff changeset
22
df4163858937 Uploaded
cschu
parents:
diff changeset
23 #if $dataFormat.inputFormat == "singleFASTQ" or $dataFormat.inputFormat == "pairedFASTQ":
df4163858937 Uploaded
cschu
parents:
diff changeset
24 --input-format="fq"
df4163858937 Uploaded
cschu
parents:
diff changeset
25 #else:
df4163858937 Uploaded
cschu
parents:
diff changeset
26 --input-format="fa"
df4163858937 Uploaded
cschu
parents:
diff changeset
27 #end if
df4163858937 Uploaded
cschu
parents:
diff changeset
28
df4163858937 Uploaded
cschu
parents:
diff changeset
29
df4163858937 Uploaded
cschu
parents:
diff changeset
30
df4163858937 Uploaded
cschu
parents:
diff changeset
31 </command>
df4163858937 Uploaded
cschu
parents:
diff changeset
32 <inputs>
df4163858937 Uploaded
cschu
parents:
diff changeset
33 <param name="classificationSet1" type="data" format="tabular" label="Kraken classification output set1" />
df4163858937 Uploaded
cschu
parents:
diff changeset
34 <param name="classificationSet2" type="data" format="tabular" label="Kraken classification output set2" />
df4163858937 Uploaded
cschu
parents:
diff changeset
35
df4163858937 Uploaded
cschu
parents:
diff changeset
36 <conditional name="dataFormat">
df4163858937 Uploaded
cschu
parents:
diff changeset
37 <param name="inputFormat" type="select" label="Please select input file type and library type.">
df4163858937 Uploaded
cschu
parents:
diff changeset
38 <option value="singleFASTQ">Single-end FASTQ</option>
df4163858937 Uploaded
cschu
parents:
diff changeset
39 <option value="pairedFASTQ">Paired-end FASTQ</option>
df4163858937 Uploaded
cschu
parents:
diff changeset
40 <option value="singleFASTA">Single-end FASTA</option>
df4163858937 Uploaded
cschu
parents:
diff changeset
41 <option value="pairedFASTA">Paired-end FASTA</option>
df4163858937 Uploaded
cschu
parents:
diff changeset
42 </param>
df4163858937 Uploaded
cschu
parents:
diff changeset
43 <when value="singleFASTQ">
df4163858937 Uploaded
cschu
parents:
diff changeset
44 <param name="input1" type="data" format="fastq,fq.gz,fq" label="FASTQ file" />
df4163858937 Uploaded
cschu
parents:
diff changeset
45 </when>
df4163858937 Uploaded
cschu
parents:
diff changeset
46 <when value="pairedFASTQ">
df4163858937 Uploaded
cschu
parents:
diff changeset
47 <param name="input1" type="data" format="fastq,fq.gz,fq" label="Forward/Left FASTQ file" />
df4163858937 Uploaded
cschu
parents:
diff changeset
48 <param name="input2" type="data" format="fastq,fq.gz,fq" label="Reverse/Right FASTQ file" />
df4163858937 Uploaded
cschu
parents:
diff changeset
49 </when>
df4163858937 Uploaded
cschu
parents:
diff changeset
50 <when value="singleFASTA">
df4163858937 Uploaded
cschu
parents:
diff changeset
51 <param name="input1" type="data" format="fasta,fasta.gz,fasta.bz2,fa.gz" label="FASTA file" />
df4163858937 Uploaded
cschu
parents:
diff changeset
52 </when>
df4163858937 Uploaded
cschu
parents:
diff changeset
53 <when value="pairedFASTA">
df4163858937 Uploaded
cschu
parents:
diff changeset
54 <param name="input1" type="data" format="fasta,fasta.gz,fasta.bz2,fa.gz" label="Forward/Left FASTA file" />
df4163858937 Uploaded
cschu
parents:
diff changeset
55 <param name="input2" type="data" format="fasta,fasta.gz,fasta.bz2,fa.gz" label="Reverse/Right FASTA file" />
df4163858937 Uploaded
cschu
parents:
diff changeset
56 </when>
df4163858937 Uploaded
cschu
parents:
diff changeset
57 </conditional>
df4163858937 Uploaded
cschu
parents:
diff changeset
58 </inputs>
df4163858937 Uploaded
cschu
parents:
diff changeset
59
df4163858937 Uploaded
cschu
parents:
diff changeset
60 <outputs>
df4163858937 Uploaded
cschu
parents:
diff changeset
61 <data format="input1" name="set1OutputLeft" label="Taxonomy1-unique sequences (R1) of ${on_string}" />
df4163858937 Uploaded
cschu
parents:
diff changeset
62 <data format="input1" name="set2OutputLeft" label="Taxonomy2-unique sequences (R1) of ${on_string}" />
df4163858937 Uploaded
cschu
parents:
diff changeset
63 <data format="input1" name="intersectionOutputLeft" label="Common sequences (R1) of ${on_string}" />
df4163858937 Uploaded
cschu
parents:
diff changeset
64 <data format="input1" name="unclassifiedOutputLeft" label="Unclassified sequences (R1) of ${on_string}" />
df4163858937 Uploaded
cschu
parents:
diff changeset
65
df4163858937 Uploaded
cschu
parents:
diff changeset
66 <data format="input2" name="set1OutputRight" label="Taxonomy1-unique sequences (R2) of ${on_string}">
df4163858937 Uploaded
cschu
parents:
diff changeset
67 <filter>inputFormat == "pairedFASTQ" or inputFormat == "pairedFASTA"</filter>
df4163858937 Uploaded
cschu
parents:
diff changeset
68 </data>
df4163858937 Uploaded
cschu
parents:
diff changeset
69 <data format="input2" name="set2OutputRight" label="Taxonomy2-unique sequences (R2) of ${on_string}">
df4163858937 Uploaded
cschu
parents:
diff changeset
70 <filter>inputFormat == "pairedFASTQ" or inputFormat == "pairedFASTA"</filter>
df4163858937 Uploaded
cschu
parents:
diff changeset
71 </data>
df4163858937 Uploaded
cschu
parents:
diff changeset
72 <data format="input2" name="intersectionOutputRight" label="Common sequences (R2) of ${on_string}">
df4163858937 Uploaded
cschu
parents:
diff changeset
73 <filter>inputFormat == "pairedFASTQ" or inputFormat == "pairedFASTA"</filter>
df4163858937 Uploaded
cschu
parents:
diff changeset
74 </data>
df4163858937 Uploaded
cschu
parents:
diff changeset
75 <data format="input2" name="unclassifiedOutputRight" label="Unclassified sequences (R2) of ${on_string}">
df4163858937 Uploaded
cschu
parents:
diff changeset
76 <filter>inputFormat == "pairedFASTQ" or inputFormat == "pairedFASTA"</filter>
df4163858937 Uploaded
cschu
parents:
diff changeset
77 </data>
df4163858937 Uploaded
cschu
parents:
diff changeset
78 </outputs>
df4163858937 Uploaded
cschu
parents:
diff changeset
79
df4163858937 Uploaded
cschu
parents:
diff changeset
80 <help>
df4163858937 Uploaded
cschu
parents:
diff changeset
81 This tool compares the classification results on a dataset using two different kraken-databases.
df4163858937 Uploaded
cschu
parents:
diff changeset
82 </help>
df4163858937 Uploaded
cschu
parents:
diff changeset
83 </tool>