view poretools_stats.xml @ 2:c1cbe2575d32 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:55:27 +0000
parents ae4c8446ce30
children
line wrap: on
line source

<tool id="poretools_stats" name="Read length statistics" version="@VERSION@.0" profile="@PROFILE@">
    <description>from a set of FAST5 files</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
    <![CDATA[
        poretools stats --type $type $detailed '$input' > '$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="detailed" argument="--full-tsv" type="boolean" truevalue="--full-tsv" falsevalue="" label="Output detailed statistics" />
        <expand macro="stat_options" />
    </inputs>
    <outputs>
        <data name="output" format="tabular" />
    </outputs>
    <tests>
        <test>
            <expand macro="test_input" />
            <param name="type" value="fwd" />
            <param name="detailed" value="true" />
            <output name="output" file="poretools-stats-out1.tabular" ftype="tabular" />
        </test>
        <test>
            <expand macro="test_input" />
            <param name="type" value="rev" />
            <param name="detailed" value="false" />
            <output name="output" file="poretools-stats-out2.tabular" ftype="tabular" />
        </test>
        <test>
            <expand macro="test_input" />
            <param name="type" value="2D" />
            <param name="detailed" value="true" />
            <output name="output" file="poretools-stats-out3.tabular" ftype="tabular" />
        </test>
        <test>
            <expand macro="test_input" />
            <param name="type" value="best" />
            <param name="detailed" value="false" />
            <output name="output" file="poretools-stats-out4.tabular" ftype="tabular" />
        </test>
        <test>
            <expand macro="test_input" />
            <param name="type" value="all" />
            <param name="detailed" value="true" />
            <output name="output" file="poretools-stats-out5.tabular" ftype="tabular" />
        </test>
    </tests>
    <help>
        Collect read size statistics from a set of FAST5 files.
    </help>
    <expand macro="citations" />
</tool>