view macros.xml @ 2:53dd00a4ab68 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blobtoolkit commit 5078c7010ec46fd01fec2057dd4486781c958c37
author bgruening
date Tue, 28 Mar 2023 15:17:19 +0000
parents 840822c1e84a
children 8c2167481e72
line wrap: on
line source

<macros>
    <token name="@TOOL_VERSION@">4.0.7</token>
    <token name="@VERSION_SUFFIX@">1</token>
    
    <xml name="requirements">
        <requirements>
            <container type="docker">genomehubs/blobtoolkit:@TOOL_VERSION@</container>
        </requirements>
    </xml>
    <xml name="citations">
        <citations>
            <citation type="doi">10.1534/g3.119.400908</citation>
        </citations>
    </xml>
    <xml name="macro_text_input" >
        <conditional name="text_input">
            <param name="selector" type="select" label="Genetic text file" help="Include a genetic text file as input">
                <option value="enabled">Enabled</option>
                <option value="disabled" selected="true">Disabled</option>
            </param>
            <when value="enabled">
                <param argument="--text" type="data" format="txt" label="Generic text file"/>
                <param argument="--text-cols" type="text" value="" label="Column specification" help="Example: 1=identifiers,2,3=score,total=total_score">
                    <sanitizer invalid_char="">
                        <valid initial="string.letters,string.digits">
                            <add value="_" />
                            <add value="," />
                            <add value="=" />
                            <add value="-" />
                            <add value="#" />
                        </valid>
                    </sanitizer>
                    <validator type="regex">[0-9a-zA-Z=,_#-]+</validator>
                </param>
                <param argument="--text-header" type="boolean" truevalue="--text-header" falsevalue="" checked="false" label="Text has header row" help="Set the flag if a text file contains a header row" />
                <param argument="--text-delimiter" type="select" label="Text delimiter" help="Character used as delimiter in the text file">
                    <option value=",">Comma</option>
                    <option value="\t">Tabulation</option>
                    <option value="whitespace">Whitespace</option>
                </param>
                <yield/>
            </when>
            <when value="disabled"/>
        </conditional>
    </xml>
    <xml name="macro_taxdump">
        <param argument="--taxdump" type="data" format="tar,gz,tgz" label="NCBI taxdump directory" help="It requires to use the last taxdump version. You can find more information about it in the help section."/>
    </xml>
</macros>