annotate extractor.xml @ 6:a35d1a76b7e4 draft

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