[Bioperl-l] to_FTstring() for Bio::Graphics::FeatureBase

Lincoln Stein lstein at cshl.edu
Tue Jan 30 22:17:50 UTC 2007


Is there any reason that I shouldn't return complement(start..end) on minus
strand features? I'm committing this change. Let me know if it breaks
anything.

Lincoln

On 1/26/07, Jason Stajich <stajich at berkeley.edu> wrote:
>
> Lincoln:
>
> Right now the code for Bio::Graphics::FeatureBase implementation of the
> LocationI interface method, to_FTstring is:
>
> sub to_FTstring {
>   my $self = shift;
>   my $low  = $self->min_start;
>   my $high = $self->max_end;
>   return "$low..$high";
> }
>
> So strand is thrown away.  Is it legitimate to modify this to return
> $high..$low when strand < 0?
>
> -jason
> --
> Jason Stajich
> Miller Research Fellow
> University of California, Berkeley
> lab: 510.642.8441
> http://pmb.berkeley.edu/~taylor/people/js.html<http://pmb.berkeley.edu/%7Etaylor/people/js.html>
>
>
>
>


-- 
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
(516) 367-8380 (voice)
(516) 367-8389 (fax)
FOR URGENT MESSAGES & SCHEDULING,
PLEASE CONTACT MY ASSISTANT,
SANDRA MICHELSEN, AT michelse at cshl.edu



More information about the Bioperl-l mailing list