[Bioperl-l] Bio::*Taxonomy* changes
Sendu Bala
bix at sendu.me.uk
Thu Jul 20 13:55:56 EDT 2006
Chris Fields wrote:
> Just thought of something...
>
> You had mentioned using a stripped-down version of Bio::Taxonomy::Node
> previously, which led to a bit of contention. One way to make everybody
> happy would be to create an interface class that contains the basic shared
> methods (Bio::Taxonomy::NodeI), then have the currently-named
> Bio::Taxonomy::Node (which could be renamed to Bio::Taxonomy::Species or
> something similar) implement those methods along with the current methods.
> Another class (your stripped down version, which could then be
> Bio::Taxonomy::Node) would also implement whatever base class methods were
> needed. They would both be Bio::Taxonomy::NodeI-implementing, so you could
> use either object type where required.
>
> |------Node
> NodeI----|
> |------Species
[...]
> I favor the interface version as it
> sticks with the interface-implementation design that Bioperl has been
> migrating towards:
>
> http://www.bioperl.org/wiki/Advanced_BioPerl#Bioperl_Interface_design
>
> This would also help out with the whole Bio::Species issue; just have
> Bio::Taxonomy::Species replace it.
Yes, this sounds good to me. Should I still wait until Jason/elders are
able to comment before I start exploring this avenue?
More information about the Bioperl-l
mailing list