diff --git a/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm b/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm index 217ef3506ac2ae97ce0335eeda9bec37d4413b2b..dcee947066a35d4bccf0977bad231b8c51bfb761 100644 --- a/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm +++ b/modules/Bio/EnsEMBL/DBSQL/OntologyTermAdaptor.pm @@ -64,6 +64,7 @@ use base qw( Bio::EnsEMBL::DBSQL::BaseAdaptor ); Arg [1] : String, name of term, or SQL pattern Arg [2] : (optional) String, name of ontology + Arg [3] : (optional) Boolean, search through obsolete terms as well Description : Fetches ontology term(s) given a name, a synonym, or a SQL pattern like "%splice_site%" @@ -147,6 +148,7 @@ WHERE ( term.name LIKE ? OR synonym.name LIKE ? )); =head2 fetch_by_accession Arg [1] : String + Arg [2] : (optional) Boolean, search through obsolete terms as well Description : Fetches an ontology term given an accession.