view poretools_qualpos.xml @ 2:626b6c2be5c2 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:47:25 +0000
parents 4fe6b96aff72
children
line wrap: on
line source

<tool id="poretools_qualpos" name="Generate box-whisker" version="@VERSION@.1" profile="@PROFILE@">
    <description>plot of quality score distribution over positions in nanopore reads</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
    <![CDATA[
@MPLBACKEND@
poretools qualpos '$input' --saveas qualpos.$extension --min-length $min_length --max-length $max_length --bin-width $bin_width $theme_bw && mv qualpos.$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" />
        <expand macro="plot_options"/>
        <expand macro="length_options" />
        <param argument="--bin-width" type="integer" value="1000" label="The width of bins" />
    </inputs>
    <outputs>
        <expand macro="image_output">
            <when input="extension" value="svg" format="svg" />
        </expand>
    </outputs>
    <tests>
        <test>
            <expand macro="test_input" />
            <param name="extension" value="png" />
            <output name="output" file="poretools-qualpos-out1.png" ftype="png" compare="sim_size" />
        </test>
        <test>
            <expand macro="test_input" />
            <param name="extension" value="pdf" />
            <output name="output" file="poretools-qualpos-out1.pdf" ftype="pdf" lines_diff="36" />
        </test>
    </tests>
    <help>
        Produce a box-whisker plot of quality score distribution over positions in nanopore reads
    </help>
    <expand macro="citations" />
</tool>