get_terms_by_name.pl - Find all the terms in a given ontology having in their names a given string.
get_terms_by_name.pl name_string my_ontology.obo > ids_and_terms.txt
This script retrieves all the terms (and their IDs) in an OBO-formatted ontology that match the given string (name search).
Erick Antezana, <erick.antezana -@- gmail.com>
Copyright (C) 2010 by Erick Antezana
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.
To install OBO::Util::Set, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OBO::Util::Set
CPAN shell
perl -MCPAN -e shell install OBO::Util::Set
For more information on module installation, please visit the detailed CPAN module installation guide.