In GFFEntrySet, the annotate() method within the getAnnotator() method
sets the annotation of the Feature template to EMPTY_ANNOTATION.
There is often extra information in the GFFRecord object, which would be
useful to transfer to the sequence annotation, but this is lost at the
moment.  Would it make more sense to write something like:

Map attr = rec.getGroupAttributes();
Iterator keys = attr.keySet().iterator();
while(keys.hasNext()){
    Object key = keys.next();
    plain.annotation.setProperty(key,attr.get(key));
}


instead of:


plain.annotation = Annotation.EMPTY_ANNOTATION;



Thanks,

Lachlan

_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to