annotate tomo/tomo_combine.xml @ 149:3b4cd4e35b3a draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 743573b7be16eb3a159ec0affb43ea370cc190f6-dirty
author ximgchess
date Tue, 27 Jun 2023 12:12:03 +0000
parents 0bd8fb3aae96
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
133
49985da419b8 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 85285b9b70eaf7c5db051ed50b000339023ccdf2-dirty
ximgchess
parents: 124
diff changeset
1 <tool id="CHAP_tomo_combine" name="Tomo Combine" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@" python_template_version="@PYTHON_TEMPLATE_VERSION@">
66
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
2 <description>Combine tomography stacks</description>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
3 <macros>
137
0bd8fb3aae96 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 85285b9b70eaf7c5db051ed50b000339023ccdf2-dirty
ximgchess
parents: 133
diff changeset
4 <import>../macros.xml</import>
66
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
5 <import>tomo_macros.xml</import>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
6 </macros>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
7 <expand macro="requirements"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
8 <command detect_errors="exit_code">
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
9 <![CDATA[
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
10 mkdir tomo_combine_plots;
103
b67b9979ff74 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 01388c69776c82e48e84676a3d17d4623f5e08bd-dirty
ximgchess
parents: 102
diff changeset
11 cp $input_file reconstructed.nex &&
71
0473fdc7f9b0 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 919e80fa3f8a9160766ff4d2c6b8956ec5553ad3-dirty
ximgchess
parents: 66
diff changeset
12 cp $tool_config combine.yaml &&
66
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
13 CHAP --config
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
14 $__tool_directory__/pipeline_combine.yaml
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
15 ]]>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
16 </command>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
17 <configfiles>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
18 <configfile name="tool_config">
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
19 <![CDATA[#slurp
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
20 #echo 'x_bounds:' #
123
a0c32ddc3d96 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents: 103
diff changeset
21 #if str($x_bounds.type_selector) == "enter_range"
66
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
22 #echo '- ' + str($x_bounds.low) #
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
23 #echo '- ' + str($x_bounds.upp) #
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
24 #end if
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
25 #echo 'y_bounds:' #
123
a0c32ddc3d96 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents: 103
diff changeset
26 #if str($y_bounds.type_selector) == "enter_range"
66
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
27 #echo '- ' + str($y_bounds.low) #
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
28 #echo '- ' + str($y_bounds.upp) #
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
29 #end if
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
30 ]]>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
31 </configfile>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
32 </configfiles>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
33 <inputs>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
34 <param name="input_file" type="data" format="nex" optional="false" label="Reconstructed tomography data file"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
35 <conditional name="x_bounds">
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
36 <param name="type_selector" type="select" label="Choose combined image range in the x-direction">
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
37 <option value="full_range" selected="true">Use the full image range</option>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
38 <option value="enter_range">Manually enter the image range in the x-direction</option>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
39 </param>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
40 <when value="full_range"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
41 <when value="enter_range">
123
a0c32ddc3d96 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents: 103
diff changeset
42 <param name="low" type="integer" value="" optional="false" min="0" label="Lower image x-range index"/>
a0c32ddc3d96 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents: 103
diff changeset
43 <param name="upp" type="integer" value="" optional="false" min="0" label="Upper image x-range index"/>
66
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
44 </when>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
45 </conditional>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
46 <conditional name="y_bounds">
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
47 <param name="type_selector" type="select" label="Choose combined image range in the y-direction">
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
48 <option value="full_range" selected="true">Use the full image range</option>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
49 <option value="enter_range">Manually enter the image range in the y-direction</option>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
50 </param>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
51 <when value="full_range"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
52 <when value="enter_range">
123
a0c32ddc3d96 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents: 103
diff changeset
53 <param name="low" type="integer" value="" optional="false" min="0" label="Lower image y-range index"/>
a0c32ddc3d96 planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 6697892ecc504b00077394d0c167431ec3ac12f7-dirty
ximgchess
parents: 103
diff changeset
54 <param name="upp" type="integer" value="" optional="false" min="0" label="Upper image y-range index"/>
66
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
55 </when>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
56 </conditional>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
57 </inputs>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
58 <outputs>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
59 <data name="tool_config" format="yaml" label="Tool config" from_work_dir="combine.yaml" hidden="false"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
60 <collection name="tomo_combine_plots" type="list" label="Data combination images">
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
61 <discover_datasets pattern="__name_and_ext__" directory="tomo_combine_plots"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
62 </collection>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
63 <data name="output_file" format="nex" label="Combined tomography data" from_work_dir="output.nex"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
64 </outputs>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
65 <help>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
66 <![CDATA[
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
67 usage: PROG [-h] [--config CONFIG] [--verbose]
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
68
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
69 options:
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
70 -h, --help show this help message and exit
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
71 --config CONFIG Input configuration file
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
72 --verbose verbose output
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
73
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
74 ]]>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
75 </help>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
76 <expand macro="citations"/>
3b1dbe3fb91b planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
ximgchess
parents:
diff changeset
77 </tool>