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