view tomo_reconstruct.xml @ 15:1bcca1f2adb4 draft

"planemo upload for repository https://github.com/rolfverberg/galaxytools commit 38c19bf5addbc46f45d598f981bb1a48f7bca691"
author rv43
date Wed, 13 Apr 2022 16:02:44 +0000
parents 845270a96464
children 44f168e1e14f
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" optional="false" label="Lower center offset"/>
            <param name="upper_center_offset" type="float" 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>