Bio::Seq isa Bio::RangeI !!!! [Re: [Bioperl-l] EST Alignment questions]

Heikki Lehvaslaiho heikki@ebi.ac.uk
01 Nov 2002 11:44:44 +0000


On Thu, 2002-10-31 at 23:40, Robson Francisco de Souza wrote:
> 	Bio::Seq objects have Bio::RangeI complaince themselves, so why
> can't I use them in AlignI objects?

Are they? ... They are! Bio::Seq is actually inheriting from
Bio::RangeI! 

This has to be cruft! I can not see any reason for it 

... I just disabled start(), end() and strand() from my copy of
Bio::Seq, ran all tests and none of them are failing. 

Unless someone comes up with a very good reason to keep this
functionality, I am going to remove inheritance from Bio::RangeI from
Bio::Seq.

	-Heikki



-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho          heikki@ebi.ac.uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambs. CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________