Mercurial > repos > iuc > onto_tk_get_parent_terms_by_relationship_type
comparison get_parent_terms_by_relationship_type.xml @ 0:8e81546cdee9 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:46 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8e81546cdee9 |
---|---|
1 <tool id="onto_tk_get_parent_terms_by_relationship_type" name="Get the terms" version="@VERSION@.0"> | |
2 <description>filtered by a relationship type</description> | |
3 <macros> | |
4 <import>onto_macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements" /> | |
7 <command detect_errors="aggressive"> | |
8 perl '$__tool_directory__/get_parent_terms_by_relationship_type.pl' | |
9 '$input' | |
10 '$term_id' | |
11 '$rel_id' > '$output' | |
12 </command> | |
13 <inputs> | |
14 <expand macro="input_ontology" /> | |
15 <expand macro="term_id" /> | |
16 <expand macro="rel_id" /> | |
17 </inputs> | |
18 <outputs> | |
19 <data format="tabular" name="output" label="Parent terms of ${on_string} by $rel_id"/> | |
20 </outputs> | |
21 <tests> | |
22 <test> | |
23 <param name="input" value="pre_cco_core.obo" ftype="obo"/> | |
24 <param name="term_id" value="CCO:P0000019"/> | |
25 <param name="rel_id" value="part_of"/> | |
26 <output name="output" file="ancestors_rel_filtered.tab" ftype="tabular"/> | |
27 </test> | |
28 </tests> | |
29 <help> | |
30 | |
31 .. class:: infomark | |
32 | |
33 Collects the terms (list of IDs) from a given term (existing ID) through a given relationship type in the given OBO ontology. | |
34 **Example** | |
35 | |
36 id: A | |
37 name: A | |
38 A part_of B | |
39 A part_of D | |
40 A participates_in F | |
41 | |
42 | |
43 If you ask for the parent terms of **A** along part_of you will get:: | |
44 | |
45 B | |
46 D | |
47 | |
48 </help> | |
49 <expand macro="citations" /> | |
50 </tool> | |
51 |