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