Mercurial > repos > jowong > kwip
comparison kwip.xml @ 0:6c38443b46ac draft
planemo upload
author | jowong |
---|---|
date | Thu, 22 Nov 2018 09:47:44 -0500 |
parents | |
children | 8217df2fd8c5 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6c38443b46ac |
---|---|
1 <tool id="kwip" name="kwip" version="1.2.9"> | |
2 <description>Calculates k-mer weighted inner product, a de novo estimator of genetic similarity</description> | |
3 <requirements> | |
4 <requirement type="package" version="0.2.0">kwip</requirement> | |
5 </requirements> | |
6 <command detect_errors="exit_code"><![CDATA[ | |
7 #for $input in $inputs# cp $input $(input.element_identifier).ct.gz && #end for# | |
8 kwip | |
9 -t $advanced.thread | |
10 -k kwip.kernel | |
11 -d kwip.dist | |
12 #for $input in $inputs# $(input.element_identifier).ct.gz #end for# | |
13 #for $input in $inputs# && rm $(input.element_identifier).ct.gz #end for# | |
14 ]]></command> | |
15 <inputs> | |
16 <param name="inputs" format="data" type="data_collection" label="inputs" help="Specify dataset with hashed reads"/> | |
17 <section name="advanced" title="Advanced options" expanded="false"> | |
18 <param type="boolean" argument="--unweighted" label="Unweighted Inner Product" checked="false" truevalue="--unweighted" falsevalue="" help="Use the unweighted inner proudct kernel. (default: False)"/> | |
19 <param name="thread" type="integer" value="1" label="Threads" help="Number of simultaneous threads to execute (default: 1)" /> | |
20 | |
21 </section> | |
22 </inputs> | |
23 <outputs> | |
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"/> | |
26 </outputs> | |
27 <tests> | |
28 </tests> | |
29 <help><![CDATA[ | |
30 usage: USAGE: kwip [options] hashes | |
31 | |
32 kWip Options. | |
33 | |
34 optional arguments: | |
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 | |
48 | |
49 ]]></help> | |
50 <citations> | |
51 <citation type="bibtex"> | |
52 @misc{githubPythonPRINCE, | |
53 author = {Murray, Kevin}, | |
54 year = {2015}, | |
55 title = {kWIP}, | |
56 publisher = {GitHub}, | |
57 journal = {GitHub repository}, | |
58 url = {https://github.com/kdmurray91/kWIPE}, | |
59 }</citation> | |
60 </citations> | |
61 </tool> |