[Biocorba-l] Annotation and anys

Juha Muilu muilu@ebi.ac.uk
Fri, 15 Jun 2001 07:22:17 +0100


Dear Colleagues

Thanks Martin's for the extensive study of anys! 

I guess we do not have much choice then than remove the Anys from the
Annotations! Comments please?

In the version 0.3 I proposed to have following solution:

interface AbstractAnnotation { 
       string name;
       short the_basis /* computational,experimental, both, not
applicable */
}

interface TextAnnotation : AbstractAnnotation { 
       string value;
       stringList qualifiers
}

Then we can have special Annotations, which have value as any if later
needed

SeqFeature can inherit directly from the AbstractAnnotation if value is
not needed in that interface. This aligns with other bio* projects. 

Qualifiers are mainly textual so we can consider moving them into
AbstractAnnotation? Perhaps not?

If we feel that the_basis is not general enough we can have it in a
specialized subclasses. 

Please could you comment on these?


Juha
-- 
 +--------------------------------------------------------------------+
 |Juha Muilu, Ph.D., EMBL Outstation| Email:  muilu@ebi.ac.uk         |
 |European Bioinformatics Institute | Phone:  +44 (0)1223 494 624     |
 |Wellcome Trust Genome Campus      | Fax:    +44 (0)1223 494 468     |
 |Hinxton, Cambridge CB10 1SD, UK   | http://industry.ebi.ac.uk/~muilu|
 +--------------------------------------------------------------------+