view onto_macros.xml @ 1:347b617a79c0 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/onto-toolkit commit 8564cf195c7700975710c13f900a787e2801bb9d
author iuc
date Fri, 16 Feb 2018 05:57:06 -0500
parents ac306663d53f
children
line wrap: on
line source

<macros>
    <token name="@VERSION@">1.45</token>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="@VERSION@">perl-onto-perl</requirement>
            <yield />
        </requirements>
    </xml>
    <xml name="input_ontology">
        <param name="input" format="obo" type="data" label="Ontology file"/>
    </xml>
    <xml name="term_id">
        <param name="term_id" type="text" value="" label="Term ID">
            <expand macro="sanitize_ids" />
        </param>
    </xml>
    <xml name="rel_id">
        <param name="rel_id" type="text" value="" label="Relationship ID">
            <expand macro="sanitize_ids" />
        </param>
    </xml>
    <xml name="citations">
        <citations>
            <citation type="doi">10.1186/1471-2105-11-S12-S8</citation>
        </citations>
    </xml>
    <xml name="sanitize_ids">
        <sanitizer invalid_char="">
            <valid initial="string.letters,string.digits"><add value="_" /><add value=":" /> </valid>
        </sanitizer>
    </xml>
    <xml name="sanitize_urls">
        <sanitizer invalid_char="">
            <valid initial="string.letters,string.digits"><add value="_" /><add value=":" /><add value="/" /></valid>
        </sanitizer>
    </xml>
</macros>