annotate tomo_combine.xml @ 75:d5e1d4ea2b7e draft default tip

planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
author rv43
date Thu, 23 Mar 2023 13:39:14 +0000
parents ba5866d0251d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
75
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
1 <tool id="tomo_combine" name="Tomo Combine Reconstructed Stacks" version="1.0.0" python_template_version="3.9">
48
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
2 <description>Combine reconstructed tomography stacks</description>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
3 <macros>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
4 <import>tomo_macros.xml</import>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
5 </macros>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
6 <expand macro="requirements" />
75
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
7 <command detect_errors="exit_code">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
8 <![CDATA[
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
9 mkdir tomo_combine_plots;
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
10 $__tool_directory__/tomo_combine.py
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
11 --input_file "$input_file"
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
12 --output_file "output.nex"
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
13 --galaxy_flag
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
14 #if str($x_bounds.type_selector) == "enter_range"
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
15 --x_bounds $x_bounds.low $x_bounds.upp
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
16 #end if
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
17 #if str($y_bounds.type_selector) == "enter_range"
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
18 --y_bounds $y_bounds.low $y_bounds.upp
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
19 #end if
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
20 -l '$log'
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
21 ]]>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
22 </command>
48
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
23 <inputs>
75
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
24 <param name="input_file" type="data" format="nex" optional="false" label="Reconstructed tomography data"/>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
25 <conditional name="x_bounds">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
26 <param name="type_selector" type="select" label="Choose reconstructed image range in x-direction">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
27 <option value="full_range" selected="true">Use the full image range</option>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
28 <option value="enter_range">Manually enter the image range</option>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
29 </param>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
30 <when value="full_range"/>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
31 <when value="enter_range">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
32 <param name="low" type="integer" value="-1" optional="false" label="Lower image range index in x-direction"/>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
33 <param name="upp" type="integer" value="-1" optional="false" label="Upper image range index in x-direction"/>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
34 </when>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
35 </conditional>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
36 <conditional name="y_bounds">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
37 <param name="type_selector" type="select" label="Choose reconstructed image range in y-direction">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
38 <option value="full_range" selected="true">Use the full image range</option>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
39 <option value="enter_range">Manually enter the image range</option>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
40 </param>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
41 <when value="full_range"/>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
42 <when value="enter_range">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
43 <param name="low" type="integer" value="-1" optional="false" label="Lower image range index in y-direction"/>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
44 <param name="upp" type="integer" value="-1" optional="false" label="Upper image range index in y-direction"/>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
45 </when>
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
46 </conditional>
48
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
47 </inputs>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
48 <outputs>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
49 <expand macro="common_outputs"/>
75
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
50 <collection name="tomo_combine_plots" type="list" label="Combine recontructed data images">
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
51 <discover_datasets pattern="__name_and_ext__" directory="tomo_combine_plots"/>
48
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
52 </collection>
75
d5e1d4ea2b7e planemo upload for repository https://github.com/rolfverberg/galaxytools commit 6afde341a94586fe3972bdbbfbf5dabd5e8dec69
rv43
parents: 68
diff changeset
53 <data name="output_file" format="nex" label="Reconstructed tomography data" from_work_dir="output.nex"/>
48
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
54 </outputs>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
55 <help><![CDATA[
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
56 Combine reconstructed tomography images.
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
57 ]]></help>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
58 <expand macro="citations"/>
059819ea1f0e "planemo upload for repository https://github.com/rolfverberg/galaxytools commit b97c6a8f181dea6d2f9cfa2069b86d30dcc47b4d"
rv43
parents:
diff changeset
59 </tool>