[Bioperl-l] how to determine if SeqFeature is attached to Sequence

Ewan Birney birney@ebi.ac.uk
Wed, 20 Jun 2001 22:07:22 +0100 (BST)


On Wed, 20 Jun 2001, Mark Wilkinson wrote:

> Hi Group!
> 
> Is there a "right way" to ask a SeqFeature if it has been attached to a
> Sequence by $Seq->add_SeqFeature?
> 
> Given that it is possible to create standaone SeqFeature::Generic's, I
> now find myself needing to ask individual features whether they have
> been added to a Sequence object or if they are still orphans.

I thought we had a has_sequence() call. I guess not.

check whether $seq->entire_seq() is undef?


> 
> >>sigh<<    the trials and tribulations of GUI's   ;-)
> 
> Any advice appreciated!
> 
> M
> 
> --
> --------------------------------
> "Speed is subsittute fo accurancy."
> ________________________________
> 
> Dr. Mark Wilkinson
> Bioinformatics Group
> National Research Council of Canada
> Plant Biotechnology Institute
> 110 Gymnasium Place
> Saskatoon, SK
> Canada
> 
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
> 

-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>. 
-----------------------------------------------------------------