[Bioperl-l] patch for Bio::SeqFeature::Tools::IDHandler.pm

Aaron J. Mackey amackey at pcbi.upenn.edu
Wed Oct 13 13:55:10 EDT 2004


done, thanks!

-Aaron

On Oct 13, 2004, at 10:38 AM, Steffen Grossmann wrote:

> Dear all,
>
> I came across a small bug in the Bio::SeqFeature::Tools::IDHandler.pm 
> module, which can be corrected by the small patch shown below. 
> Actually, $parent is only the ID of the feature, so it doesn't make 
> sense to use the method 'add_SeqFeature' on it. The hash %sf_by_ID has 
> been created before to map the IDs to the actual features.
>
> 195c195
> <              $parent->add_SeqFeature($_);
> ---
> >              $sf_by_ID{$parent}->add_SeqFeature($_);
>
> Thanks!
>
> Steffen
>
> -- 
> %---------------------------------------------%
> %            Steffen Grossmann                %
> %                                             %
> % Max Planck Institute for Molecular Genetics %
> %      Computational Molecular Biology        %
> %---------------------------------------------%
> %              Ihnestrasse 73                 %
> %               14195 Berlin                  %
> %                 Germany                     %
> %---------------------------------------------%
> %         Tel: (++49 +30) 8413-1167           %
> %         Fax: (++49 +30) 8413-1152           %
> %---------------------------------------------%
>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l
>
>
--
Aaron J. Mackey, Ph.D.
Dept. of Biology, Goddard 212
University of Pennsylvania       email:  amackey at pcbi.upenn.edu
415 S. University Avenue         office: 215-898-1205
Philadelphia, PA  19104-6017     fax:    215-746-6697



More information about the Bioperl-l mailing list