view tomo_reconstruct.xml @ 28:562fc79de827 draft

planemo upload for repository https://github.com/rolfverberg/galaxytools commit f8c4bdb31c20c468045ad5e6eb255a293244bc6c-dirty
author rv43
date Tue, 21 Mar 2023 17:59:41 +0000
parents 0891477bcb16
children 551d1ea2416d
line wrap: on
line source

<tool id="tomo_reconstruct" name="Tomo Reconstruction" version="0.3.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[
            mkdir tomo_reconstruct_plots;
            $__tool_directory__/tomo_reconstruct.py
            --input_file "$input_file"
            --center_file "$center_file"
            --output_file "output.nex"
            --galaxy_flag
            --x_bounds $x_bounds.low $x_bounds.upp
            --y_bounds $y_bounds.low $y_bounds.upp
            -l "$log"
        ]]>
    </command>
    <inputs>
        <param name="input_file" type="data" format="nex" optional="false" label="Reduced tomography data"/>
        <param name="center_file" type="data" format="yaml" optional="false" label="Center axis input file"/>
        <section name="x_bounds" title="Boundaries of reconstructed images in x-direction">
            <param name="low" type="integer" value="-1" label="Lower bound"/>
            <param name="upp" type="integer" value="-1" label="Upper bound"/>
        </section>
        <section name="y_bounds" title="Boundaries of reconstructed images in y-direction">
            <param name="low" type="integer" value="-1" label="Lower bound"/>
            <param name="upp" type="integer" value="-1" label="Upper bound"/>
        </section>
    </inputs>
    <outputs>
        <expand macro="common_outputs"/>
        <collection name="tomo_reconstruct_plots" type="list" label="Data recontructed images">
            <discover_datasets pattern="__name_and_ext__" directory="tomo_reconstruct_plots"/>
        </collection>
        <data name="output_file" format="nex" label="Reconstructed tomography data" from_work_dir="output.nex"/>
    </outputs>
    <help><![CDATA[
        Reconstruct tomography images.
    ]]></help>
    <expand macro="citations"/>
</tool>