view poretools_occupancy.xml @ 2:0433aad600e9 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/poretools commit 506782d1e671505617ff539e6811fcdcc2c02cd5
author iuc
date Fri, 27 Sep 2024 07:56:10 +0000
parents 338d15b8d6fb
children
line wrap: on
line source

<tool id="poretools_occupancy" name="Plot performance" version="@VERSION@.1" profile="@PROFILE@">
    <description>per cell in nanopore reads</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
    <![CDATA[
@MPLBACKEND@
poretools occupancy
    '$input'
    --saveas occupancy.$extension
    --plot-type $plot_type
&&
mv occupancy.$extension '$output'
    ]]>
    </command>
    <inputs>
        <param name="input" type="data" format="h5,fast5.tar,fast5.tar.gz,fast5.tar.bz2" label="Input fast5 or archive of fast5 files" />
        <param name="extension" type="select" label="File format for histogram">
            <option value="png">PNG</option>
            <option value="pdf">PDF</option>
            <option value="svg">SVG</option>
        </param>
        <param argument="--plot-type" type="select" label="Plot type to generate">
            <option value="read_count">Read count</option>
            <option value="total_bp">Total base pairs</option>
        </param>
    </inputs>
    <outputs>
        <expand macro="image_output" />
    </outputs>
    <tests>
        <test>
            <expand macro="test_input" />
            <param name="extension" value="png" />
            <param name="plot_type" value="read_count" />
            <output name="output" file="poretools-occupancy-out1.png" ftype="png" compare="sim_size" />
        </test>
        <test>
            <expand macro="test_input" />
            <param name="extension" value="pdf" />
            <param name="plot_type" value="total_bp" />
            <output name="output" file="poretools-occupancy-out1.pdf" ftype="pdf" lines_diff="384" />
        </test>
    </tests>
    <help>
        Plot the throughput performance of each pore on the flowcell during a given sequencing run.
    </help>
    <expand macro="citations" />
</tool>