view get_child_terms.xml @ 0:298c8cdaf536 draft default tip

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:30:27 -0500
parents
children
line wrap: on
line source

<tool id="onto_tk_get_child_terms" name="Get child terms" version="@VERSION@.0">
    <description>of a given OBO term</description>
    <macros>
        <import>onto_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <command detect_errors="aggressive">
        get_child_terms.pl
            -f '$input'
            -t '$term_id' > '$output'
    </command>
    <inputs>
        <expand macro="input_ontology" />
        <expand macro="term_id" />
    </inputs>
    <outputs>
        <data format="tabular" name="output" label="Child terms of ${on_string}">
            <actions>
                <action name="column_names" type="metadata" default="term ID,term name" />
            </actions>
        </data>
    </outputs>
    <tests>
        <test>
            <param name="input" value="pre_cco_core.obo"/>
            <param name="term_id" value="CCO:P0000309"/>
            <output name="output" file="children.tab"/>
        </test>
    </tests>
    <help>

.. class:: infomark

Collects the child terms (list of IDs) from a given term (existing ID) in the given OBO ontology.

**Example**

If you ask for the children of the Gene Ontology term with ID **GO:0000079** you will get::

  GO:0031660      regulation of cyclin-dependent protein kinase activity during G2/M
  GO:0031657      regulation of cyclin-dependent protein kinase activity during G1/S
  GO:0045737      positive regulation of cyclin-dependent protein kinase activity
  GO:0045736      negative regulation of cyclin-dependent protein kinase activity

    </help>
    <expand macro="citations" />
</tool>