[Bioperl-l] Bio::Location::Fuzzy, Bio::Location::Split

David Block dblock@gene.pbi.nrc.ca
Thu, 25 Jan 2001 15:48:47 -0600 (CST)

This is my Modest Proposal for resolving some things:

If there is a defined location, return the defined location, ie:
my $start=$feature->start

$start equals 42.

IF there is not a hard location (it is fuzzy, split, whatever), return the
location object, and let the client suss out what it wants to do with it.
my $start=$feature->start;
if (ref($start) eq 'LocationI') { #whatever the perl syntax is

Then $start could be made to be min_start, max_start,
an_array_of_start_values, or whatever was convenient for the client.

$0.02 Cdn is pretty cheap nowadays.
David Block
Plant Biotechnology Institute
National Research Council of Canada
Saskatoon, Saskatchewan