NAME

get_subontology_from.pl - Extracts a subontology (in OBO format) of a given ontology having as root the given term ID.

USAGE

get_subontology_from.pl input_ontology.obo term_id > sub_ontology.obo

DESCRIPTION

Given an OBO-formatted ontology (such as the Gene Ontology), this script extracts a subontology (in OBO format) having as root node the provided term ID. This script can easily be adapted to get such a sub-ontology (branch) taking into account the name (or synonym) of a given term.

AUTHOR

Erick Antezana, <erick.antezana -@- gmail.com>

COPYRIGHT AND LICENSE

Copyright (c) 2006-2015 by Erick Antezana. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.