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