[Bioperl-l] hash key for SeqFeatureI

Chris Dwan (CCGB) cdwan at mail.ahc.umn.edu
Thu Mar 25 10:25:52 EST 2004


> And related to this, where is the strandedness of Bioperl SeqFeatures
> stored?

Bio::SeqFeature::Generic has a member "location" which is a
Bio::Location::Simple.  Bio::Location::Simple inherits the strand method
from Bio::Location::Atomic.

Really, under the hood, it's:
  seqfeature->location()->{'_strand')}

Which may be accessed as
  seqfeature->strand()

Allowed values are -1 (or '-'), 1 (or '+') and 0 (or '.').

-Chris Dwan


More information about the Bioperl-l mailing list