view phatyp.xml @ 0:eb22ba00cd4c draft default tip

planemo upload for repository https://github.com/Helmholtz-UFZ/ufz-galaxy-tools/blob/main/tools/phabox commit 3c8e23e1dea22f625fb6f77ae61e1f4b605aaae2
author ufz
date Tue, 12 Nov 2024 09:32:16 +0000
parents
children
line wrap: on
line source

<tool id="phabox_phatyp" name="PhaBOX phatyp" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.1" license="MIT">
    <description>Lifestyle prediction</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <xrefs>
        <xref type="bio.tools">phabox</xref>
    </xrefs>
    <requirements>
        <requirement type="package" version="@TOOL_VERSION@">phabox</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        phabox2 --task phatyp
            @GENERAL@
    ]]></command>
    <inputs>
        <expand macro="general"/>
    </inputs>
    <outputs>
        <data name="out" format="tabular" from_work_dir="output/final_prediction/phatyp_prediction.tsv"/>
    </outputs>
    <tests>
        <test>
            <param name="dbdir" value="phaboxdb"/>
            <param name="contigs" value="example_contigs.fa"/>
            <output name="out">
                <assert_contents>
                    <has_line line="Accession&#9;Length&#9;TYPE&#9;PhaTYPScore"/>
                    <has_n_lines n="11"/>
                    <has_n_columns n="4"/>
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
Classify the lifestyles of phages.


@COMMON_INPUT_DOC@

**Output**:

@COMMON_OUTPUT_DOC@
@PHATYP_OUTPUT_DOC@
    ]]></help>
    <expand macro="citations">
        <citation type="doi">10.1093/bib/bbac487</citation>
    </expand>
</tool>