25
|
1 <tool id="kwip" name="kwip" version="1.3.1">
|
7
|
2 <description>Calculates k-mer weighted inner product, a de novo estimator of genetic similarity</description>
|
0
|
3 <requirements>
|
|
4 <requirement type="package" version="0.2.0">kwip</requirement>
|
|
5 </requirements>
|
17
|
6 <command detect_errors="exit_code"><![CDATA[
|
19
|
7 #for $input in $inputs# cp $input $(input.element_identifier).ct.gz && #end for#
|
11
|
8 kwip
|
|
9 -t $advanced.thread
|
|
10 -k kwip.kernel
|
|
11 -d kwip.dist
|
19
|
12 #for $input in $inputs# $(input.element_identifier).ct.gz #end for#
|
20
|
13 #for $input in $inputs# && rm $(input.element_identifier).ct.gz #end for#
|
0
|
14 ]]></command>
|
|
15 <inputs>
|
25
|
16 <param name="inputs" format="data" type="data_collection" label="inputs" help="Specify dataset with hashed reads"/>
|
1
|
17 <section name="advanced" title="Advanced options" expanded="false">
|
2
|
18 <param type="boolean" argument="--unweighted" label="Unweighted Inner Product" checked="false" truevalue="--unweighted" falsevalue="" help="Use the unweighted inner proudct kernel. (default: False)"/>
|
1
|
19 <param name="thread" type="integer" value="1" label="Threads" help="Number of simultaneous threads to execute (default: 1)" />
|
|
20
|
|
21 </section>
|
0
|
22 </inputs>
|
|
23 <outputs>
|
7
|
24 <data name="kwip_kernel" label="kWip kernel" format="txt" type="data" from_work_dir="kwip.kernel"/>
|
|
25 <data name="kwip_distance" label="kWip distance" format="txt" type="data" from_work_dir="kwip.dist"/>
|
0
|
26 </outputs>
|
|
27 <tests>
|
|
28 </tests>
|
|
29 <help><![CDATA[
|
1
|
30 usage: USAGE: kwip [options] hashes
|
0
|
31
|
1
|
32 kWip Options.
|
0
|
33
|
|
34 optional arguments:
|
1
|
35 -t, --threads Number of threads to utilise. [default N_CPUS]
|
|
36 -k, --kernel Output file for the kernel matrix. [default None]
|
|
37 -d, --distance Output file for the distance matrix. [default stdout]
|
|
38 -U, --unweighted Use the unweighted inner proudct kernel. [default off]
|
|
39 -w, --weights Bin weight vector file (input, or output w/ -C).
|
|
40 -C, --calc-weights Calculate only the bin weight vector, not kernel matrix.
|
|
41 -h, --help Print this help message.
|
|
42 -V, --version Print the version string.
|
|
43 -v, --verbose Increase verbosity. May or may not acutally do anything.
|
|
44 -q, --quiet Execute silently but for errors.
|
|
45
|
|
46 Each sample's oxli Countgraph should be specified after arguments:
|
|
47 kwip [options] sample1.ct sample2.ct ... sampleN.ct
|
0
|
48
|
|
49 ]]></help>
|
|
50 <citations>
|
|
51 <citation type="bibtex">
|
|
52 @misc{githubPythonPRINCE,
|
1
|
53 author = {Murray, Kevin},
|
|
54 year = {2015},
|
|
55 title = {kWIP},
|
0
|
56 publisher = {GitHub},
|
|
57 journal = {GitHub repository},
|
1
|
58 url = {https://github.com/kdmurray91/kWIPE},
|
0
|
59 }</citation>
|
|
60 </citations>
|
|
61 </tool>
|