annotate sampler.xml @ 0:164616ec7f18 draft

planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
author tduigou
date Tue, 28 Mar 2023 12:32:38 +0000
parents
children cd6d2c983e69
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>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
5 <token name="@TOOL_VERSION@">2.1.1</token>
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>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
56 <param name="cfps_file" value="converter_proCFPS_parameters.tsv" />
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" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
59 <output name="output_sampling" file="sampler_sampling.test-1.tsv" ftype="tabular" compare="diff" />
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>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
63 <param name="cfps_file" value="converter_proCFPS_parameters.tsv" />
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" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
69 <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
70 <output name="output_sampling" file="sampler_sampling.test-2.tsv" ftype="tabular" compare="diff" />
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
71 </test>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
72 </tests>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
73 <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
74 Sampler
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
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
77 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
78 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
79 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
80
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
81 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
82 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
83
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
84 * 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
85 * 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
86 * 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
87
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
88 Input
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
89 -----
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
90 * **CFPS Parameters File**: The first column is the parameter (or factor) names. The second column is the maxValue of the parameter that will be used in the sampling. The third column is the concnetration of the stock. The fourth column is the deadVolume of the parameter. This is used to calculate the volume of the parameter that will not be pipetted by the robot (because of viscosity). The fifth column is the specific ratios we want to have for this parameter. If nothing defined, then take ratios given in program options. If one single number is given, then take this number as a const value.
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
91
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
92 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
93 -----------------
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
94 * **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
95 * **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
96 * **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
97
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
98 Output
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
99 ------
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
100 * 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
101 ]]></help>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
102 <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
103 <citations>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
104 <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
105 @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
106 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
107 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
108 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
109 }
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
110 </citation>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
111 </citations>
164616ec7f18 planemo upload for repository ['https://github.com/brsynth/icfree-ml', 'https://github.com/pablocarb/doebase'] commit 6c01728900e4ebd1a833a7e7d697f61561d86dc6-dirty
tduigou
parents:
diff changeset
112 </tool>