[Bioperl-l] GFF feature start and end points on reverse strand

Lincoln Stein lstein at cshl.edu
Tue Feb 28 15:08:27 UTC 2006


Call the absolute(1) method, which turns off relative addressing.

Lincoln

On Tuesday 28 February 2006 08:22, James Allen wrote:
> Hello,
> I'm retrieving data using the 'features' method of Bio::DB::GFF, and when
> the feature is on the reverse strand (ie = -1) the start and end points are
> flipped, so that 'feature->end' is the smaller number (ie what I consider
> the start point) and 'feature->start' is the larger number.
> Is there anyway to prevent this behaviour, so that the start value of my
> feature is the same as the start value in my database, regardless of the
> strand?
>
> Thanks,
> Julio
>
>
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l

-- 
Lincoln D. Stein
Cold Spring Harbor Laboratory
1 Bungtown Road
Cold Spring Harbor, NY 11724
FOR URGENT MESSAGES & SCHEDULING, 
PLEASE CONTACT MY ASSISTANT, 
SANDRA MICHELSEN, AT michelse at cshl.edu



More information about the Bioperl-l mailing list