Mercurial > repos > tduigou > icfree_extractor
annotate extractor.xml @ 9:2b46c8d5952e draft default tip
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
| author | tduigou |
|---|---|
| date | Fri, 07 Feb 2025 11:08:04 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
9
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
1 <tool id="icfree_extractor" name="iCFree extractor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="MIT"> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
2 <description>Process fluorescence data</description> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
3 <macros> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
5 </macros> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
8 cp '$initial_data_file' 'initial_data.csv' && |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
9 cp '$sampling_file' 'sampling.csv' && |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
10 python -m icfree.learner.extractor |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
11 --initial_data_file 'initial_data.csv' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
12 --sampling_file 'sampling.csv' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
13 --output_file 'extractor.csv' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
14 #if str($adv.num_samples) != '' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
15 --num_samples '$adv.num_samples' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
16 #end if |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
17 #if str($adv.num_replicates) != '' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
18 --num_replicates '$adv.num_replicates' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
19 #end if |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
20 && |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
21 mv 'extractor.csv' '$output' |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
22 ]]></command> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
23 <inputs> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
24 <param name="initial_data_file" type="data" format="csv" label="FLuo/Lumi values"/> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
25 <param name="sampling_file" type="data" format="csv" label="Sampling file"/> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
26 <section name="adv" title="Advanced Options" expanded="false"> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
27 <param argument="num_samples" type="integer" optional="true" label="Number of samples" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
28 <param argument="num_replicates" type="integer" optional="true" label="Number of replicates" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
29 </section> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
30 </inputs> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
31 <outputs> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
32 <data name="output" format="csv" label="${tool.name}" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
33 </outputs> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
34 <tests> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
35 <test expect_num_outputs="1"> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
36 <!-- python -m icfree.learner.extractor -initial_data_file extractor.input.initial_data.csv -sampling_file extractor.input.sampling.csv -output_file extractor.output.1.csv --> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
37 <param name="initial_data_file" value="extractor.input.initial_data.csv" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
38 <param name="sampling_file" value="extractor.input.sampling.csv" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
39 <output name="output" ftype="csv"> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
40 <assert_contents> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
41 <has_n_lines n="58" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
42 </assert_contents> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
43 </output> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
44 </test> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
45 <test expect_num_outputs="1"> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
46 <!-- python -m icfree.learner.extractor -initial_data_file extractor.input.initial_data.csv -sampling_file extractor.input.sampling.csv -output_file extractor.output.2.csv -num_samples 20 -num_replicates 3 --> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
47 <param name="initial_data_file" value="extractor.input.initial_data.csv" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
48 <param name="sampling_file" value="extractor.input.sampling.csv" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
49 <param name="num_samples" value="20" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
50 <param name="num_replicates" value="3" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
51 <output name="output" ftype="csv"> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
52 <assert_contents> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
53 <has_n_lines n="21" /> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
54 </assert_contents> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
55 </output> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
56 </test> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
57 </tests> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
58 <help><![CDATA[ |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
59 Extractor |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
60 ========== |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
61 Process fluoresence data |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
62 |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
63 ]]></help> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
64 <expand macro="creator"/> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
65 <expand macro="citation"/> |
|
2b46c8d5952e
planemo upload for repository https://github.com/brsynth/icfree-ml commit 16315dee62caf50b1820964b0536c1cf61c67ceb
tduigou
parents:
diff
changeset
|
66 </tool> |
