Bioperl: Feature tags : newbie question
Mark Hoebeke
mh@jouy.inra.fr
Tue, 16 May 2000 14:00:12 +0200 (CEST)
Hi all,
I just installed Release Candidate 0.6.1 and tried to parse some GenBank
files.
Unfortunately, I can't retrieve any feature tag values using the
Bio::SeqFeature::has_tag method. By delving into the code of
Bio::SeqFeature::Generic, I read :
sub has_tag{
my ($self,$tag) = (shift, shift);
return exists $self->{'_gsf_tag_hash'}->{$tag};
}
I'm not a Perl hacker, but it seems to me that this method doesn't return
the tag value, but only '1' if the tag exists (which indeed is the
behavior I observe during testing).
Can anybody explain what I got wrong ?
Thanks.
Mark
--
Mark Hoebeke Mark.Hoebeke@jouy.inra.fr
INRA - BIA-Jouy / MIG http://www-bia.inra.fr
Domaine de Vilvert
78352 Jouy-en-Josas Cedex (FRANCE)
=========== Bioperl Project Mailing List Message Footer =======
Project URL: http://bio.perl.org/
For info about how to (un)subscribe, where messages are archived, etc:
http://www.techfak.uni-bielefeld.de/bcd/Perl/Bio/vsns-bcd-perl.html
====================================================================