view onto_macros.xml @ 0:ac306663d53f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/onto-toolkit commit 9422f839ae354d4c26b02d4494abdeaad518d0e6
author iuc
date Fri, 10 Nov 2017 11:36:20 -0500
parents
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>