[Bioperl-l] Inheritance Bio::Map::Physical

Sendu Bala bix at sendu.me.uk
Sat Nov 11 03:38:27 EST 2006

Keith Anthony Boroevich wrote:
> Hi,
> I am attempting to add a few methods (ie. matching_bands_list) to the
> fpc map class but I am having a hard time inheriting the class properly.
> My first attempt was to inherit the "Bio::Map::Physical" class but the
> "next_map" package is not found.
> So I tried inheriting "Bio::MapIO" instead, and get a cannot find
> "matching_bands_list" via package "Bio::Map::Physical"
> The only way I can get it to work is with no inheritance and passing the
> map class variable to the function, but this isn't very elegant.  Is
> there a correct way to inherit these classes that will allow me to
> execute this properly?

It's hard to diagnose the problem without knowing exactly what you've 
tried. Please post some relevant code. Also, what version of Bioperl are 
you using?

More information about the Bioperl-l mailing list