|
10
|
1 <macros>
|
|
|
2 <xml name="requirements">
|
|
|
3 <requirements>
|
|
|
4 <!-- <requirement type="binary">@BINARY@</requirement> -->
|
|
|
5 <requirement type="package" version="1.1">khmer</requirement>
|
|
|
6 </requirements>
|
|
|
7 <version_command>@BINARY@ --version</version_command>
|
|
|
8 </xml>
|
|
|
9 <token name="TABLEPARAMS">#if $parameters.type == "simple"
|
|
|
10 --ksize=20
|
|
|
11 --n_tables=4
|
|
|
12 --min-tablesize=$parameters.tablesize
|
|
|
13 #else
|
|
|
14 --ksize=$parameters.ksize
|
|
|
15 --n_tables=$parameters.n_tables
|
|
|
16 --min-tablesize=$parameters.tablesize_specific
|
|
|
17 #end if</token>
|
|
|
18 <xml name="tableinputs">
|
|
|
19 <conditional name="parameters">
|
|
|
20 <param name="type"
|
|
|
21 type="select"
|
|
|
22 label="Advanced Parameters"
|
|
|
23 help="ksize, n_hashess, a specific hashsize" >
|
|
|
24 <option value="simple"
|
|
|
25 selected="true">
|
|
|
26 Hide
|
|
|
27 </option>
|
|
|
28 <option value="specific">
|
|
|
29 Show
|
|
|
30 </option>
|
|
|
31 </param>
|
|
|
32 <when value="simple">
|
|
|
33 <param name="hashsize"
|
|
|
34 type="select"
|
|
|
35 label="Sample Type"
|
|
|
36 display="radio">
|
|
|
37 <option value="1e9"
|
|
|
38 selected="true">
|
|
|
39 Microbial Genome
|
|
|
40 </option>
|
|
|
41 <option value="2e9">
|
|
|
42 Animal Transcriptome
|
|
|
43 </option>
|
|
|
44 <option value="4e9">
|
|
|
45 Small Animal Genome or Low-Diversity Metagenome
|
|
|
46 </option>
|
|
|
47 <option value="16e9">
|
|
|
48 Large Animal Genome
|
|
|
49 </option>
|
|
|
50 </param>
|
|
|
51 </when>
|
|
|
52 <when value="specific">
|
|
|
53 <param name="ksize"
|
|
|
54 type="integer"
|
|
|
55 value="20"
|
|
|
56 label="ksize"
|
|
|
57 help="k-mer size to use" />
|
|
|
58 <param name="n_hashes"
|
|
|
59 type="integer"
|
|
|
60 min="1"
|
|
|
61 value="4"
|
|
|
62 label="n_hashes"
|
|
|
63 help="number of hash tables to use" />
|
|
|
64 <param name="hashsize_specifc"
|
|
|
65 type="text"
|
|
|
66 label="hashsize"
|
|
|
67 help="lower bound on the hashsize to use" />
|
|
|
68 </when>
|
|
|
69 </conditional>
|
|
|
70 </xml>
|
|
|
71 <xml name="input_sequence_filename">
|
|
|
72 <param name="input_sequence_filename"
|
|
|
73 type="data"
|
|
|
74 format="fasta,fastq,fastqsanger,fastqsolexa,fastqillumina"
|
|
|
75 label="FAST[AQ] file(s)" />
|
|
|
76 </xml>
|
|
|
77 <xml name="input_counting_table_filename">
|
|
|
78 <param name="input_counting_table_filename"
|
|
|
79 type="data"
|
|
|
80 label="the k-mer counting table to query"
|
|
|
81 help="The abundances of the k-mers in the input nucleotide sequence file will be calculated using the kmer counts in this k-mer counting table." />
|
|
|
82 </xml>
|
|
|
83 <xml name="abundance-histogram-output">
|
|
|
84 <data name="output_histogram_filename"
|
|
|
85 format="text"
|
|
|
86 label="${tool.name} k-mer abundance histogram. The
|
|
|
87 columns are: (1) k-mer abundance, (2) k-mer count, (3)
|
|
|
88 cumulative count, (4) fraction of total distinct
|
|
|
89 k-mers.">
|
|
|
90 </data>
|
|
|
91 </xml>
|
|
|
92 </macros>
|