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