view poretools_squiggle.xml @ 2:26e6c9362b7b 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:56 +0000
parents 34553d0caa5e
children
line wrap: on
line source

<tool id="poretools_squiggle" name="Plot signals" version="@VERSION@.1" profile="@PROFILE@">
    <description>for nanopore reads</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
    <![CDATA[
@MPLBACKEND@
poretools squiggle '$input' --saveas $extension --num-facets $num_facets $theme_bw
    ]]>
    </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" />
        <param argument="--num-facets" type="integer" value="6" label="Number of plot facets" />
    </inputs>
    <outputs>
        <data format="txt" name="output">
            <discover_datasets pattern="__designation_and_ext__" directory="." visible="true" />
        </data>
    </outputs>
    <tests>
        <test>
            <expand macro="test_input" />
            <param name="extension" value="png" />
            <output name="output">
                <discovered_dataset designation="2016_3_4_3507_1_ch128_read430_strand.fast5" file="poretools-squiggle-out1-1.png" compare="sim_size" />
                <discovered_dataset designation="2016_3_4_3507_1_ch128_read95_strand.fast5" file="poretools-squiggle-out1-2.png" compare="sim_size" />
            </output>
        </test>
        <test>
            <expand macro="test_input" />
            <param name="extension" value="pdf" />
            <output name="output">
                <discovered_dataset designation="2016_3_4_3507_1_ch128_read430_strand.fast5" file="poretools-squiggle-out1-1.pdf" compare="sim_size" />
                <discovered_dataset designation="2016_3_4_3507_1_ch128_read95_strand.fast5" file="poretools-squiggle-out1-2.pdf" compare="sim_size" />
            </output>
        </test>
    </tests>
    <help>
        Plot the observed signals for FAST5 reads.
    </help>
    <expand macro="citations" />
</tool>