[Biojava-l] Constructing features
Matthew Pocock
mrp@sanger.ac.uk
Tue, 29 May 2001 14:47:00 +0100
> The annotation issue is a bit awkward, since if you create
> a feature with the annotation set to Annotation.EMPTY_ANNOTATION,
> you /can't/ add extra annotation properties. However, if you make
This is arguably a bug. Can we intercept this in the feature constructor
and replace it with something more sensible?
>
> Take a look at the class SimpleSequenceBuilder for an example
> of how to build trees like this, and some idea of how to
> handle the properties.
You may even be able to get away with using SimpleSequenceBuilder
directly, either raw, or behind a wrapper.
Matthew