view tomo_reconstruct.xml @ 18:b0a816c8f66c draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit 1743a2a14a40c3a9ea949c36dc53e5d448646e19-dirty"
author rv43
date Mon, 18 Apr 2022 15:13:20 +0000
parents 44f168e1e14f
children 3caba2116858
line wrap: on
line source

<tool id="tomo_reconstruct" name="Tomo Reconstruction" version="0.1.0" python_template_version="3.9">
    <description>Perform a tomography reconstruction</description>
    <macros>
        <import>tomo_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="exit_code"><![CDATA[
        $__tool_directory__/tomo_reconstruct.py
        -i '$red_stacks'
        -c '$config'
        --center_offsets $center_offsets.lower_center_offset $center_offsets.upper_center_offset
        --output_data 'output.npz'
        --output_config 'output_config.yaml'
        -l '$log'
    ]]></command>
    <inputs>
        <expand macro="common_inputs"/>
        <param name="red_stacks" type='data' format='npz' optional='false' label="Reduced stacks"/>
        <section name="center_offsets" title="Reconstruction center axis offsets">
            <param name="lower_center_offset" type="float" value = "0" optional="false" label="Lower center offset"/>
            <param name="upper_center_offset" type="float" value = "0" optional="false" label="Upper center offset"/>
        </section>
    </inputs>
    <outputs>
        <expand macro="common_outputs"/>
        <data name="output_data" format="npz" label="Reconstructed tomography stacks" from_work_dir="output_data.npz"/>
    </outputs>
    <help><![CDATA[
        Reconstruct tomography images.
    ]]></help>
    <expand macro="citations"/>
</tool>