annotate sampler.xml @ 4:d69cb64336e7 draft

planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
author tduigou
date Wed, 14 Feb 2024 15:24:19 +0000
parents 0111a6eb7b98
children 5e7468a35380
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@">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
2 <description>Generate data points using latin hypercube sampling (LHS)</description>
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>
4
d69cb64336e7 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
tduigou
parents: 3
diff changeset
5 <token name="@TOOL_VERSION@">2.2.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>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">icfree</requirement>
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
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
13 '$cfps_file'
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
14 --nb-sampling-steps '$adv.nb_sampling_steps'
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
15 --nb-samples '$nb_samples'
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
16 #if str($adv.sampling_ratio) != ""
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
17 #set ratios = ' '.join(['"' + $x + '"' for $x in $adv.sampling_ratio.split()])
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
18 --sampling-ratios $ratios
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 #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
21 --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
22 #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
23 --output-format 'tsv'
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
24 --output-folder . &&
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
25 mv sampling.tsv '$output_sampling'
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
26 ]]></command>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
27 <inputs>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
28 <param name="cfps_file" type="data" format="tabular" label="CFPS parameters and features" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
29 <param name="nb_samples" type="integer" value="99" min="1" max="198" label="Number of samples to generate" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
30 <section name="adv" title="Advanced Options" expanded="false">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
31 <param name="nb_sampling_steps" type="integer" value="5" min="1" max="10" label="Number of values for all factors when performing the sampling" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
32 <param name="sampling_ratio" type="text" value="" label="Ratios associated for all factors" help="Only float, space separated, are allowed">
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
33 <validator type="regex" message="Float separated by a space between in the range: 0.0 - 1.0">^(?:(0.\d+|1\.0)(\s0?\.\d+|1\.0)*)*$</validator>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
34 </param>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
35 <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
36 <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
37 <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
38 <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
39 </param>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
40 <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
41 <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
42 <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
43 <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
44 <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
45 </param>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
46 </when>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
47 </conditional>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
48 </section>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
49 </inputs>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
50 <outputs>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
51 <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
52 </outputs>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
53 <tests>
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 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
55 <test>
4
d69cb64336e7 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
tduigou
parents: 3
diff changeset
56 <param name="cfps_file" value="sampler/input/parameters.tsv" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
57 <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
58 <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
59 <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
60 </test>
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 2: advanced arguments -->
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
62 <test>
4
d69cb64336e7 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
tduigou
parents: 3
diff changeset
63 <param name="cfps_file" value="sampler/input/parameters.tsv" />
0
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
64 <param name="nb_sampling_steps" value="3" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
65 <param name="nb_samples" value="100" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
66 <param name="sampling_ratio" value="0.4 0.2 0.3" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
67 <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
68 <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
69 <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
70 </test>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
71 </tests>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
72 <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
73 Sampler
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
74 =======
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
75
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
76 This module generates a list of values for all parameters given in the input file.
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
77 The values are generated using a Latin Hypercube Sampling (LHS) method (lhs function from the pyDOE package).
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
78 The number of values generated is given by the user and the values are saved in csv or tsv file.
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
79
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
80 It is important to note that the user can pass some values that he whishes to combine. In this case, we are dealing with discrete space, and because LHS is working on continuous space the result sampling can contain duplicates.
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
81 To avoid this, we have set some filters to select the appropriate sampling method:
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
82
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
83 * If the result sampling contain duplicates, then we replace them by random samples.
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
84 * Proceed with full random sampling.
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
85 * Generate all the combinations.
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
86
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
87 Input
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
88 -----
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
89
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
90 Below is an example of an input file:
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
91
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
92 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
93 | Parameter | maxValue | Ratios |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
94 +===========+==========+=====================+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
95 | CP | 125 | 0.0 0.1 0.3 0.5 1.0 |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
96 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
97 | CPK | 125 | 1 |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
98 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
99 | tRNA | 125 | |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
100 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
101 | AA | 125 | |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
102 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
103 | ribosomes | 125 | |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
104 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
105 | mRNA | 125 | |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
106 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
107 | Mg | 125 | |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
108 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
109 | K | 125 | |
3
0111a6eb7b98 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit f20f60fd4e265f3f710b711d1c72cd25c06938e4
tduigou
parents: 2
diff changeset
110 +-----------+----------+---------------------+
2
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
111
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
112 The first column is the parameter (or factor) names.
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
113
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
114 The second column is the maxValue of the parameter that will be used in the sampling.
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
115
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
116 The third column is the specific ratios we want to have for this parameter. If nothing defined, then take ratios given in program options.
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
117 If one single number is given, then take this number as a const value.
cd6d2c983e69 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit b29963ef22900ba666d9be11f1dc09e4e3febf8b
tduigou
parents: 0
diff changeset
118 If no value is given, then take the default ratios (`nb_samples` linear ratios from 0 to 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
119
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
120 Advanced options:
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
121 -----------------
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
122 * **Number of sampling steps**: Number of values for all factors when performing the sampling (default: 5)
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
123 * **Sampling ratios**: Ratios for all factors when performing the sampling
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
124 * **Number of samples**: Number of samples to generate for all factors when performing the sampling (default: 99)
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
125
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
126 Output
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
127 ------
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
128 * a TSV file with the sampling values for each parameter
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
129 ]]></help>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
130 <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
131 <citations>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
132 <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
133 @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
134 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
135 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
136 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
137 }
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
138 </citation>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
139 </citations>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
140 </tool>