view macros.xml @ 9:f4a3eff8ab85 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/gfastats commit 7de96873dbc693ce72d8d0aa734d1272a3d0f456
author bgruening
date Wed, 06 Nov 2024 11:28:41 +0000
parents 6ec1b853c8fd
children
line wrap: on
line source

<macros>
    <token name="@TOOL_VERSION@">1.3.9</token>
    <token name="@SUFFIX_VERSION@">0</token>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="@TOOL_VERSION@">gfastats</requirement>
        </requirements>
    </xml>
    <xml name="biotools">
        <xrefs>
            <xref type="bio.tools">gfastats</xref>
        </xrefs>
    </xml>
    <xml name="citations">
        <citations>
            <citation type="bibtex">
                @misc{githubgfastats,
                author = {Formenti, Giulio},
                year = {2022},
                title = {gfastats},
                publisher = {GitHub},
                journal = {GitHub repository},
                url = {https://github.com/vgl-hub/gfastats}}
            </citation>
        </citations>
    </xml>
    <xml name="length_macro">
        <param argument="--line-length" type="integer" min="0" max="80" value=""
            optional="true" label="Specify line length"
            help="Optional: specifies line length when output format is fasta. Default has no line breaks."/>
    </xml>
    <xml name="terminal_overlaps_macro">
        <conditional name="terminal_overlaps_condition">
            <param name="terminal_overlaps_select" type="select" 
                label="Terminal overlaps selection" help="Optional: Do you want to detect terminal overlaps?">
                <option value="no">No (default)</option>
                <option value="yes">Yes</option>
            </param>
            <when value="no"/>
            <when value="yes">
                <param name="terminal_overlaps_length" type="integer" min="500" value="500" 
                optional="false" label="Terminal overlaps length" 
                help="Integer for minimum length required to count as an overlap for detecting terminal overlaps (minimum is 500)" />
            </when>
        </conditional>
    </xml>
</macros>