Mercurial > repos > iuc > onto_tk_get_parent_terms
view get_parent_terms.xml @ 0:a2fd3a529b77 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:33:25 -0500 |
parents | |
children |
line wrap: on
line source
<tool id="onto_tk_get_parent_terms" name="Get the parent 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_parent_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="Parent 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:P0000029"/> <output name="output" file="parents.tab"/> </test> </tests> <help> .. class:: infomark Collects the parent terms (list of IDs) from a given term (existing ID) in the given OBO ontology. **Example** If you ask for the parents of the Gene Ontology term with ID **GO:0000079** you will get:: GO:0045859 regulation of protein kinase activity GO:0051726 regulation of cell cycle </help> <expand macro="citations" /> </tool>