Mercurial > repos > tduigou > icfree_instructor
annotate instructor.xml @ 6:39f049e5b032 draft
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
author | tduigou |
---|---|
date | Tue, 10 Sep 2024 13:42:44 +0000 |
parents | caee84791e0d |
children | 2571577e3b0c |
rev | line source |
---|---|
4
6d368cd4a9eb
planemo upload for repository https://github.com/brsynth/icfree-ml commit 96a30e92eab3144b924fdba7b63be10b218160a7
tduigou
parents:
3
diff
changeset
|
1 <tool id="icfree_instructor" name="iCFree instructor" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="MIT"> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
2 <description>Generates a list of Echo-compatible instructions to prepare samples</description> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
3 <macros> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
4 <import>macros.xml</import> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
5 </macros> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
7 <expand macro="stdio"/> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
9 python -m icfree.instructor |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
10 '$source_plate_file' |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
11 '$destination_plate_file' |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
12 'instructor.csv' |
5
caee84791e0d
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e
tduigou
parents:
4
diff
changeset
|
13 --source_plate_type '$adv.source_plate_type' |
6
39f049e5b032
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
5
diff
changeset
|
14 --max_transfer_volume '$adv.max_transfer_volume' |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
15 #if str($adv.split_threshold) != '' |
6
39f049e5b032
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
5
diff
changeset
|
16 --split_threshold '$adv.split_threshold' |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
17 #end if |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
18 #if str($adv.split_components) != '' |
6
39f049e5b032
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
5
diff
changeset
|
19 --split_components '$adv.split_components' |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
20 #end if |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
21 ]]></command> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
22 <inputs> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
23 <param name="source_plate_file" type="data" format="csv" label="Source corresponding to plate/wells" help="Output from iCFree plates designer"/> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
24 <param name="destination_plate_file" type="data" format="csv" label="Destination corresponding to plate/wells" help="Output from iCFree plates designer"/> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
25 <section name="adv" title="Advanced Options" expanded="false"> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
26 <param name="source_plate_type" type="text" value="default:384PP_AQ_GP3" label="Source plate type" help="Comma-separated list of component and plate type pairs, e.g., 'Component_1:384PP_AQ_CP,Component_2:384PP_AQ_GP3'. Default for all is default:384PP_AQ_GP3." > |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
27 <validator type="empty_field" message="Source plate type is required"/> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
28 </param> |
6
39f049e5b032
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
5
diff
changeset
|
29 <param argument="max_transfer_volume" type="float" min="2.5" max="500000" value="100000" label="Maximum transfer volume" help="Maximum volume for a single transfer. If not specified, no splitting will be performed." /> |
39f049e5b032
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
5
diff
changeset
|
30 <param argument="split_threshold" type="float" min="2.5" max="500000" value="100000" label="Split threshold" help="Volume threshold above which transfers need to be split. If not specified, no splitting will be performed." /> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
31 <param name="split_components" type="text" optional="true" label="Split components" help="Comma-separated list of component names to create separate files for." > |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
32 </param> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
33 </section> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
34 </inputs> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
35 <outputs> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
36 <collection name="output_instructor" type="list" label="${tool.name} - Instructor"> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
37 <discover_datasets pattern="__designation_and_ext__" format="csv" directory="."/> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
38 </collection> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
39 </outputs> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
40 <tests> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
41 <test> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
42 <!-- python -m icfree.instructor plates_designer.source_plate.test-2.csv plates_designer.destination_plate.test-2.csv 'instructor.test-1.csv' -source_plate_type 'default:384PP_AQ_GP3' -max_transfer_volume '500' -split_threshold '500' --> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
43 <param name="source_plate_file" value="plates_designer.source_plate.test-2.csv" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
44 <param name="destination_plate_file" value="plates_designer.destination_plate.test-2.csv" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
45 <output_collection name="output_instructor" type="list" count="1"> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
46 <element name="instructor" file="instructor.test-1.csv" ftype="csv" compare="diff" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
47 </output_collection> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
48 </test> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
49 <test> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
50 <!-- python -m icfree.instructor plates_designer.source_plate.test-2.csv plates_designer.destination_plate.test-2.csv 'instructor.csv' -source_plate_type 'Hela lysate:384PP_AQ_CP,Access prot 50X:384PP_AQ_GP3,Reaction mix:384PP_AQ_GP3,RNA 1ug/uL:384PP_AQ_GP3' -max_transfer_volume '500' -split_threshold '500' -split_components 'Hela lysate,Access prot 50X' --> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
51 <param name="source_plate_file" value="plates_designer.source_plate.test-2.csv" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
52 <param name="destination_plate_file" value="plates_designer.destination_plate.test-2.csv" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
53 <param name="source_plate_type" value="Hela lysate:384PP_AQ_CP,Access prot 50%:384PP_AQ_GP3,Reaction mix:384PP_AQ_GP3,RNA 1ug/uL:384PP_AQ_GP3" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
54 <param name="split_components" value="Hela lysate,Access prot 50%" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
55 <output_collection name="output_instructor" type="list" count="3"> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
56 <element name="instructor" file="instructor.test-2.csv" ftype="csv" compare="diff" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
57 <element name="instructor_Hela lysate" file="instructor.hela.test-2.csv" ftype="csv" compare="diff" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
58 <!-- |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
59 <element name="instructor_Access prot 50X" file="instructor.access.test-2.csv" ftype="csv" compare="diff" /> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
60 --> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
61 </output_collection> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
62 </test> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
63 </tests> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
64 <help><![CDATA[ |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
65 Instructor |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
66 ========== |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
67 The module generates a list of instructions for handling the generated plates. |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
68 |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
69 ]]></help> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
70 <expand macro="creator"/> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
71 <expand macro="citation"/> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
72 </tool> |