NAME
Bio::SeqIO::game::gameSubs -- a base class for game-XML parsing
SYNOPSIS
Not used directly
DESCRIPTION
A bag of tricks for game-XML parsing. The PerlSAX handler methods were stolen from Chris Mungall's XML base class, which he stole from Ken MacLeod's XML::Handler::Subs
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists.
Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
AUTHOR - Sheldon McKay
Email [email protected]
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : not used directlyReturns : a gameHandler objectArgs : an XML filename
go
Title : goUsage : not used directlyFunction: starts PerlSAX XML parsing
start_document
Title : start_documentUsage : not used directly
end_document
Title : end_documentUsage : not used directly
start_element
Title : start_elementUsage : not used directly
end_element
Title : end_elementUsage : not used directly
characters
Title : charactersUsage : not used directly
strip_characters
Title : strip_charactersUsage : not used directlyFunction: cleans up XML element contents
curr_element
Title : curr_elementUsage : not used directlyFunction: returns the currently open element
flush
Title : flushUsage : $self->flush($element) # or $element->flushFunction: prune a branch from the XML treeReturns : true if successfulArgs : an element object (optional)
complain
Title : complainUsage : $self->complain("This is terrible; I am not happy")Function: throw a non-fatal warning, formats message for pretty-printingReturns : nothingArgs : a list of strings
dbxref
Title : dbxrefUsage : $self->db_xref($el, $tags)Function: an internal method to flatten dbxref elementsReturns : the db_xref (eg wormbase:C02D5.1)Args : an element object (reqd) and a hash ref of tag/values (optional)
comment
Title : commentUsage : $self->comment($comment_element)Function: a method to flatten comment elementsReturns : a stringArgs : an comment element (reqd) and a hash ref of tag/values (optional)Note : The hope here is that we can unflatten structured commentsin game-derived annotations happen to make a return trip
property
Title : propertyUsage : $self->property($property_element)Function: an internal method to flatten property elementsReturns : a hash referenceArgs : an property/output element (reqd) and a hash ref of tag/values (optional)Note: This method is aliased to 'output' to handle structurally identical output elements
evidence
Title : evidenceUsage : $self->evidence($evidence_element)Function: a method to flatten evidence elementsReturns : a stringArgs : an evidence element
date
Title : dateUsage : $self->date($date_element)Function: a method to flatten date elementsReturns : true if successfulArgs : a date element
protein_id
Title : protein_idUsage : $pid = $self->protein_id($cds, $standard_name)Function: a method to search for a protein nameReturns : a stringArgs : the CDS object plus the transcript\'s 'standard_name'