[Bioperl-l] Is term_count available for einfo (EUtilities)?

Peng Yu pengyu.ut at gmail.com
Fri Jun 4 12:33:10 EDT 2010


It seems that term_count is not available for einfo.

$ ./main.pl
Can't locate object method "term_count" via package
"Bio::Tools::EUtilities::Info::FieldInfo" at ./main.pl line 13.
$ vim ./main.pl
pengy at pengy-desktop:/pearson/data/pengy/test/perl/library/Bio/Tools/EUtilities/Info/FieldInfo/term_count$
cat ./main.pl

#!/usr/bin/env perl

use strict;
use warnings;

use Bio::DB::EUtilities;

my $factory = Bio::DB::EUtilities->new(-eutil => 'einfo',
                                       -email => 'mymail at foo.bar',
                                       -db => 'pubmed');

while (my $field = $factory->next_FieldInfo) {
    print "term_count: ",$field->term_count,"\n";

But the man page 'perldoc Bio::Tools::EUtilities::Info::FieldInfo'
doesn't say so. Could you let me know where to find which methods are
available for which eutilities?


More information about the Bioperl-l mailing list