Hi Did you try to import the ontology db adaptor before constructing it? You should have use Bio::EnsEMBL::DBSQL::OntologyDBAdaptor; Somewhere in your code All the best Andy Sent from my mobile. > On 8 Jan 2014, at 02:33, 刘鹏飞 <liupfskygre at gmail.com> wrote: > > Bio::EnsEMBL::DBSQL::OntologyDBAdapto