view poretools_squiggle.xml @ 1:34553d0caa5e draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/poretools commit d50758dbe64462ba3cdcb7f1df0bcc57a310deab"
author iuc
date Sun, 19 Jan 2020 09:09:16 -0500
parents ce8af9373061
children 26e6c9362b7b
line wrap: on
line source

<?xml version="1.0"?>
<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="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 name="num_facets" 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>