view macros.xml @ 3:8c2167481e72 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/blobtoolkit commit d4e8bcb01de330e345970d3df6b75392c7fe2275
author bgruening
date Fri, 26 Jul 2024 16:15:35 +0000
parents 53dd00a4ab68
children
line wrap: on
line source

<macros>
    <token name="@TOOL_VERSION@">4.0.7</token>
    <token name="@VERSION_SUFFIX@">2</token>
    
    <xml name="requirements">
        <requirements>
            <container type="docker">quay.io/biocontainers/blobtoolkit:4.3.11</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>
    <xml name="blobtk_plotting">
        <conditional name="blobtk_plot_options">
            <param name="blobtk_plot" type="select" label="Do you want to plot the dataset">
                <option value="yes">Yes</option>
                <option value="no">No</option>
            </param>
            <when value="yes">
                <param name="plot_view" type="select" label="Select the view type for the plot">
                    <option value="blob" selected="true">Blob view</option>
                    <option value="cumulative">Cumulative view</option>
                    <option value="legend">Legend view</option>
                    <option value="snail">Snail view</option>
                </param>
            </when>
            <when value="no"></when>
        </conditional>
    </xml>
</macros>