Mercurial > repos > tduigou > icfree_instructor
annotate instructor.xml @ 12:02c74b682a09 draft default tip
planemo upload for repository https://github.com/brsynth/icfree-ml commit 89b220357cba84350590ce79306440e78df97be5-dirty
author | tduigou |
---|---|
date | Fri, 22 Nov 2024 11:37:08 +0000 |
parents | e3747a8d8999 |
children |
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 <command detect_errors="exit_code"><![CDATA[ |
11
e3747a8d8999
planemo upload for repository https://github.com/brsynth/icfree-ml commit 08614ac872d03dfb266e405d5ff6c18f85e11117-dirty
tduigou
parents:
10
diff
changeset
|
8 mkdir -p outdir && |
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' |
11
e3747a8d8999
planemo upload for repository https://github.com/brsynth/icfree-ml commit 08614ac872d03dfb266e405d5ff6c18f85e11117-dirty
tduigou
parents:
10
diff
changeset
|
12 'outdir/instructions.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' |
8
41755b74732c
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
7
diff
changeset
|
14 #if str($adv.max_transfer_volume) != '' |
41755b74732c
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
7
diff
changeset
|
15 --max_transfer_volume '$adv.max_transfer_volume' |
9
25a9788e84ba
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
8
diff
changeset
|
16 #end if |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
17 #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
|
18 --split_threshold '$adv.split_threshold' |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
19 #end if |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
20 #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
|
21 --split_components '$adv.split_components' |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
22 #end if |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
23 ]]></command> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
24 <inputs> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
25 <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
|
26 <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
|
27 <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
|
28 <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
|
29 <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
|
30 </param> |
8
41755b74732c
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
7
diff
changeset
|
31 <param argument="max_transfer_volume" type="integer" optional="true" label="Maximum transfer volume" help="Maximum volume for a single transfer. If not specified, no splitting will be performed." /> |
41755b74732c
planemo upload for repository https://github.com/brsynth/icfree-ml commit b669b043a7cd633a9ba1ac2cf2a7f3ed09c3e92e-dirty
tduigou
parents:
7
diff
changeset
|
32 <param argument="split_threshold" type="integer" optional="true" 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
|
33 <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
|
34 </param> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
35 </section> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
36 </inputs> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
37 <outputs> |
10
b3b05bfd58a8
planemo upload for repository https://github.com/brsynth/icfree-ml commit 08614ac872d03dfb266e405d5ff6c18f85e11117
tduigou
parents:
9
diff
changeset
|
38 <collection name="output_instructor" type="list" label="${tool.name} - Instructions"> |
11
e3747a8d8999
planemo upload for repository https://github.com/brsynth/icfree-ml commit 08614ac872d03dfb266e405d5ff6c18f85e11117-dirty
tduigou
parents:
10
diff
changeset
|
39 <discover_datasets pattern="__designation_and_ext__" format="csv" directory="outdir"/> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
40 </collection> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
41 </outputs> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
42 <tests> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
43 <test> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
44 <!-- 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
|
45 <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
|
46 <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
|
47 <output_collection name="output_instructor" type="list" count="1"> |
10
b3b05bfd58a8
planemo upload for repository https://github.com/brsynth/icfree-ml commit 08614ac872d03dfb266e405d5ff6c18f85e11117
tduigou
parents:
9
diff
changeset
|
48 <element name="instructions" file="instructor.test-1.csv" ftype="csv" compare="diff" /> |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
49 </output_collection> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
50 </test> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
51 <test> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
52 <!-- 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
|
53 <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
|
54 <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
|
55 <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
|
56 <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
|
57 <output_collection name="output_instructor" type="list" count="3"> |
10
b3b05bfd58a8
planemo upload for repository https://github.com/brsynth/icfree-ml commit 08614ac872d03dfb266e405d5ff6c18f85e11117
tduigou
parents:
9
diff
changeset
|
58 <element name="instructions" file="instructor.test-2.csv" ftype="csv" compare="diff" /> |
b3b05bfd58a8
planemo upload for repository https://github.com/brsynth/icfree-ml commit 08614ac872d03dfb266e405d5ff6c18f85e11117
tduigou
parents:
9
diff
changeset
|
59 <element name="instructions_Hela lysate" file="instructor.hela.test-2.csv" ftype="csv" compare="diff" /> |
3
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 <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
|
62 --> |
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
63 </output_collection> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
64 </test> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
65 </tests> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
66 <help><![CDATA[ |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
67 Instructor |
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 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
|
70 |
3
e4682a0c66da
planemo upload for repository https://github.com/brsynth/icfree-ml commit 7640e2163acff6c925cba16188eaa4ce54639180
tduigou
parents:
1
diff
changeset
|
71 ]]></help> |
0
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
72 <expand macro="creator"/> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
73 <expand macro="citation"/> |
f93749376fe5
planemo upload for repository https://github.com/brsynth/icfree-ml commit e908694368c306390bc9253f81a9249ad988970d
tduigou
parents:
diff
changeset
|
74 </tool> |