Mercurial > repos > ximgchess > chap_test_20230411
comparison tomo/tomo_find_center.xml @ 66:3b1dbe3fb91b draft
planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit 922ced93dce7a89190712f1ad9abad569fe52683
author | ximgchess |
---|---|
date | Mon, 24 Apr 2023 16:39:59 +0000 |
parents | |
children | 0473fdc7f9b0 |
comparison
equal
deleted
inserted
replaced
65:3af7a69bd3d6 | 66:3b1dbe3fb91b |
---|---|
1 <tool id="CHAP_tomo_find_center" name="Tomo Find Center" version="@TOOL_VERSION@+galaxy0" profile="@PROFILE@" python_template_version="@PYTHON_TEMPLATE_VERSION@"> | |
2 <description>Find rotation axis centers for the tomography stacks</description> | |
3 <macros> | |
4 <import>tomo_macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"/> | |
7 <command detect_errors="exit_code"> | |
8 <![CDATA[ | |
9 mkdir tomo_find_center_plots; | |
10 $__tool_directory__/../pip_install.sh 'certif-pyspec==1.5.3' && | |
11 cp $input_file reduced.nex && | |
12 cp $tool_config find_center.yaml | |
13 CHAP --config | |
14 $__tool_directory__/pipeline_find_center.yaml | |
15 ]]> | |
16 </command> | |
17 <configfiles> | |
18 <configfile name="tool_config"> | |
19 <![CDATA[#slurp | |
20 #if str($center_rows.type_selector) == "full_range" | |
21 #echo 'lower_row: -1' # | |
22 #echo 'lower_row: -1' # | |
23 #else | |
24 #echo 'lower_row: ' + str($center_rows.low) # | |
25 #echo 'lower_row: ' + str($center_rows.upp) # | |
26 #end if | |
27 ]]> | |
28 </configfile> | |
29 </configfiles> | |
30 <inputs> | |
31 <param name="input_file" type="data" format="nex" optional="false" label="Reduce tomography data file"/> | |
32 <conditional name="center_rows"> | |
33 <param name="type_selector" type="select" label="Choose axis center image rows"> | |
34 <option value="full_range" selected="true">Use the first and last detector row</option> | |
35 <option value="enter_range">Manually enter the center image rows</option> | |
36 </param> | |
37 <when value="full_range"/> | |
38 <when value="enter_range"> | |
39 <param name="low" type="integer" value="-1" optional="false" label="Lower detector row index"/> | |
40 <param name="upp" type="integer" value="-1" optional="false" label="Upper detector row index"/> | |
41 </when> | |
42 </conditional> | |
43 </inputs> | |
44 <outputs> | |
45 <data name="tool_config" format="yaml" label="Tool config" from_work_dir="find_center.yaml" hidden="false"/> | |
46 <collection name="tomo_find_center_plots" type="list" label="Find rotation axis center images"> | |
47 <discover_datasets pattern="__name_and_ext__" directory="tomo_find_center_plots"/> | |
48 </collection> | |
49 <data name="output_file" format="yaml" label="Rotation axis centers data" from_work_dir="output.yaml"/> | |
50 </outputs> | |
51 <help> | |
52 <![CDATA[ | |
53 usage: PROG [-h] [--config CONFIG] [--verbose] | |
54 | |
55 options: | |
56 -h, --help show this help message and exit | |
57 --config CONFIG Input configuration file | |
58 --verbose verbose output | |
59 | |
60 ]]> | |
61 </help> | |
62 <expand macro="citations"/> | |
63 </tool> |