[Bioperl-l] Bio::Ontology::simpleGOparser
Hilmar Lapp
hlapp at gnf.org
Mon Apr 14 16:15:15 EDT 2003
Off hand, make sure you are using bioperl 1.2.1. Your code indicates
you're not (as the documentation would have told you not to do this).
Your code should then look like:
use Bio::OntologyIO;
my $ontio = Bio::OntologyIO->new(-format => 'goflat',
-defs_file => 'go.defs',
-files => ['file1','file2']);
my $go = $ontio->next_ontology();
file1, file2 etc would be the different rel.ships files that come with
GO.
-hilmar
On Monday, April 14, 2003, at 09:07 AM, Christian Greggio wrote:
> Hi,
>
> I'm trying to use "Bio::Ontology::simpleGOparser". But, I got the
> following error message:
> Can't locate object method "new" via package
> "Bio::Ontology::simpleGOparser" (perhaps you forgot to load
> "Bio::Ontology::simpleGOparser"?) at simpleGOparser_example.pm line 7.
>
> My paths are ok. Could you help me?
>
> Thanks,
> Christian.
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>
--
-------------------------------------------------------------
Hilmar Lapp email: lapp at gnf.org
GNF, San Diego, Ca. 92121 phone: +1-858-812-1757
-------------------------------------------------------------
More information about the Bioperl-l
mailing list