comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:a2fd3a529b77
1 <tool id="onto_tk_get_parent_terms" name="Get the parent terms" version="@VERSION@.0">
2 <description>of a given OBO term</description>
3 <macros>
4 <import>onto_macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <command detect_errors="aggressive">
8 get_parent_terms.pl
9 -f '$input'
10 -t '$term_id' > '$output'
11 </command>
12 <inputs>
13 <expand macro="input_ontology" />
14 <expand macro="term_id" />
15 </inputs>
16 <outputs>
17 <data format="tabular" name="output" label="Parent terms of ${on_string}">
18 <actions>
19 <action name="column_names" type="metadata" default="term ID,term name" />
20 </actions>
21 </data>
22 </outputs>
23 <tests>
24 <test>
25 <param name="input" value="pre_cco_core.obo"/>
26 <param name="term_id" value="CCO:P0000029"/>
27 <output name="output" file="parents.tab"/>
28 </test>
29 </tests>
30 <help>
31
32 .. class:: infomark
33
34 Collects the parent terms (list of IDs) from a given term (existing ID) in the given OBO ontology.
35
36 **Example**
37
38 If you ask for the parents of the Gene Ontology term with ID **GO:0000079** you will get::
39
40 GO:0045859 regulation of protein kinase activity
41 GO:0051726 regulation of cell cycle
42
43 </help>
44 <expand macro="citations" />
45 </tool>
46