[Bioperl-l] Bio::SeqFeature::Annotated API change

Hilmar Lapp hlapp at gmx.net
Fri Oct 12 03:25:22 UTC 2007


On Oct 11, 2007, at 6:40 AM, Sendu Bala wrote:

> seq_id()
>   Usage   : $obj->seq_id($newval)
>   Function: holds a string corresponding to the unique
>             seq_id of the sequence underlying the feature
>             (e.g. database accession or primary key).
>   Returns : a Bio::Annotation::SimpleValue object representing the
>             seq_id.

type() and source() should be ontology-typed in a TypedSeqFeatureI  
(and therefore be instances of Bio::Annotation::OntologyTerm, not  
Bio::Annotation::SimpleValue) to be more GFF3-compliant, but I don't  
understand what the benefit of typing seq_id() any stronger than a  
string would be.

	-hilmar
-- 
===========================================================
: Hilmar Lapp  -:-  Durham, NC  -:-  hlapp at gmx dot net :
===========================================================








More information about the Bioperl-l mailing list