annotate sampler.xml @ 5:5e7468a35380 draft

planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
author tduigou
date Tue, 23 Jul 2024 09:30:47 +0000
parents d69cb64336e7
children 04159a12c757
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
1 <tool id="doe_synbio_sampler" name="iCFree sampler" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="@LICENCE@">
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
2 <description>Generate Latin Hypercube Samples for given components.</description>
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
3 <macros>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
4 <import>macros.xml</import>
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
5 <token name="@TOOL_VERSION@">2.4.0</token>
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
6 </macros>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
7 <requirements>
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">icfree-ml</requirement>
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
9 </requirements>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
10 <expand macro="stdio"/>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
11 <command detect_errors="exit_code"><![CDATA[
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
12 python -m icfree.sampler
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
13 '$input_file'
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
14 '$output_sampling'
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
15 '$num_samples'
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
16 --step '$adv.step'
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
17 #if str($adv.seed_cond.seed_param) == 'not_random'
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
18 --seed '$adv.seed_cond.seed'
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
19 #end if
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
20 ]]></command>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
21 <inputs>
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
22 <param name="input_file" type="data" format="tabular" label="Input file with components and their max values." />
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
23 <param name="num_samples" type="integer" value="99" min="1" max="198" label="Number of samples to generate" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
24 <section name="adv" title="Advanced Options" expanded="false">
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
25 <param name="step" type="float" value="2.5" min="1" max="10" label="Step size for creating discrete ranges" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
26 <conditional name="seed_cond">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
27 <param name="seed_param" type="select" label="Seed" help="Choose a seed or let it as random">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
28 <option value="random" selected="true">random</option>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
29 <option value="not_random">fixed</option>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
30 </param>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
31 <when value="random"/>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
32 <when value="not_random">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
33 <param name="seed" type="text" value="0" label="Seed value" help="Only integer allowed">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
34 <validator type="empty_field" message="Not empty, select random"/>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
35 <validator type="regex" message="Only integer allowed">^(?:\d+)$</validator>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
36 </param>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
37 </when>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
38 </conditional>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
39 </section>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
40 </inputs>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
41 <outputs>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
42 <data name="output_sampling" format="tabular" label="${tool.name}" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
43 </outputs>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
44 <tests>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
45 <!-- test 1: check if identical outputs are produced with default parameters -->
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
46 <test>
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
47 <param name="input_file" value="sampler/input/components.tsv" />
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
48 <param name="num_samples" value="3" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
49 <param name="seed_param" value="not_random" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
50 <param name="seed" value="0" />
4
d69cb64336e7 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
tduigou
parents: 3
diff changeset
51 <output name="output_sampling" file="sampler/output/sampling.test-1.tsv" ftype="tabular" compare="diff" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
52 </test>
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
53 <!-- test 1: check if identical outputs are produced with default parameters -->
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
54 <test>
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
55 <param name="input_file" value="sampler/input/components.tsv" />
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
56 <param name="num_samples" value="4" />
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
57 <param name="step" value="3.1" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
58 <param name="seed_param" value="not_random" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
59 <param name="seed" value="0" />
4
d69cb64336e7 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
tduigou
parents: 3
diff changeset
60 <output name="output_sampling" file="sampler/output/sampling.test-2.tsv" ftype="tabular" compare="diff" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
61 </test>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
62 </tests>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
63 <help><![CDATA[
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
64 Sampler
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
65 =======
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
66
5
5e7468a35380 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 20770dfcb79499aa201b8b6faed420babef8d053
tduigou
parents: 4
diff changeset
67 Generate Latin Hypercube Samples for given components.
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
68 ]]></help>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
69 <expand macro="creator"/>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
70 <citations>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
71 <citation type="bibtex">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
72 @unpublished{icfree
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
73 author = {Joan Hérisson, Yorgo El Moubayed},
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
74 title = {{icfree}},
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
75 url = {https://github.com/brsynth/icfree-ml/},
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
76 }
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
77 </citation>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
78 </citations>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
79 </tool>