Package org.biojava.bio.seq.io.game12
Event-driven parsing system for the Gene Annotation Markup Elements (GAME). It uses the StAX API developed by Thomase Down and is extensively derived from code he and others wrote for the XFF parser. This is an update that is targetted at the GAME 1.2 proposal. It was written specifically to parse annotation files from the Gadfly Drosophila Genome Annotation Project although it can probably be readily extended to other GAME files.
You should be aware that this parser doesn't set locations in the templates for
There are two base classes in this release. The first is the StAXFeatureHandler which is the base class for elements that intend to create new Feature objects. Then there is the StAXPropertyHandler class that is base class for element handlers that only extend properties of the existing feature. All classes should be subclassed from one of these.
-
Interface Summary Interface Description StAXHandlerFactory Factory for StAX content handlers. -
Class Summary Class Description GAMEAnnotationHandler Handles the GAME <annotation> elementGAMEAspectHandler Handles the GAME <aspect> elementGAMEDbxrefHandler Handles the GAME <dbxref> elementGAMEFeatureSetHandler Handles the GAME <feature_set> element this element is used to represent transcripts.GAMEFeatureSpanHandler Handles the GAME <feature_span> elementGAMEGeneHandler Handles the GAME <annotation> elementGAMEHandler Handles the root GAME elementGAMEPropertyHandler Handles the GAME <dbxref> elementGAMESeqHandler Handles the GAME <seq> elementGAMESeqRelHandler Handles the GAME <> element GAMESpanHandler Handles the GAME <> element.StAXFeatureHandler StAX handler shamelessly ripped off from Thomas Down's XFFFeatureSetHandler.