comparison tomo/tomo_reduce.xml @ 40:eef6fd513736 draft

planemo upload for repository https://github.com/CHESSComputing/ChessAnalysisPipeline commit eda217fb0afe5af50380a24b578c668db9c004f4-dirty
author ximgchess
date Wed, 12 Apr 2023 14:25:59 +0000
parents d0d62ad6daa4
children a3e7311a25f4
comparison
equal deleted inserted replaced
39:d0d62ad6daa4 40:eef6fd513736
4 <import>tomo_macros.xml</import> 4 <import>tomo_macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
7 <command detect_errors="exit_code"> 7 <command detect_errors="exit_code">
8 <![CDATA[ 8 <![CDATA[
9 mkdir tomo_reduce_plots;
10 pip --exists-action i install --target='/nfs/chess/galaxy-dev/var/dependencies/_conda/envs' certif-pyspec==1.5.3 9 pip --exists-action i install --target='/nfs/chess/galaxy-dev/var/dependencies/_conda/envs' certif-pyspec==1.5.3
11 #if str($map.type_selector) == "yaml" 10 #if str($map.type_selector) == "yaml"
12 cp $input_file map.yaml && 11 cp $input_file map.yaml &&
13 cat $__tool_directory__/andor2.yaml $tool_config > reduce.yaml && 12 cat $__tool_directory__/andor2.yaml $tool_config > reduce.yaml
14 #else 13 #else
15 cp $input_file setup.nex && 14 cp $input_file setup.nex &&
16 cp $tool_config reduce.yaml && 15 cp $tool_config reduce.yaml
17 #end if
18 CHAP --config
19 #if str($map.type_selector) == "yaml"
20 $__tool_directory__/pipeline_reduce_yaml.yaml
21 #else
22 $__tool_directory__/pipeline_reduce_nexus.yaml
23 #end if 16 #end if
24 ]]> 17 ]]>
25 </command> 18 </command>
26 <configfiles> 19 <configfiles>
27 <configfile name="tool_config"> 20 <configfile name="tool_config">
78 </when> 71 </when>
79 </conditional> 72 </conditional>
80 </inputs> 73 </inputs>
81 <outputs> 74 <outputs>
82 <data name="tool_config" format="yaml" label="Tool config" from_work_dir="reduce.yaml" hidden="false"/> 75 <data name="tool_config" format="yaml" label="Tool config" from_work_dir="reduce.yaml" hidden="false"/>
83 <collection name="tomo_reduce_plots" type="list" label="Data reduction images">
84 <discover_datasets pattern="__name_and_ext__" directory="tomo_reduce_plots"/>
85 </collection>
86 <data name="output_file" format="nex" label="Reduced tomography data" from_work_dir="output.nex"/>
87 </outputs> 76 </outputs>
88 <help> 77 <help>
89 <![CDATA[ 78 <![CDATA[
90 usage: PROG [-h] [--config CONFIG] [--verbose] 79 usage: PROG [-h] [--config CONFIG] [--verbose]
91 80