Bio::S...meSubs(3pm)
π Bio::SeqIO::game::gameSubs β a base class for game-XML parsing π
okay bestie, so this is Bio::SeqIO::game::gameSubs(3pm), straight out of the User Contributed Perl Documentation, and we are gonna get you so comfy with it. it's a little base-class baddie that handles game-XML parsing. no cap.
β¨ SYNOPSIS β¨
Not used directly
yeah. she's not a "call me up and use me" kind of module. she's a base class. she's the backstage crew. iconic, but not for direct use. π
πΈ DESCRIPTION πΈ
literally a whole bag of tricks for game-XML parsing. β¨
the PerlSAX handler methods were stolen from Chris Mungall's XML base class, which he in turn stole from Ken MacLeod's XML::Handler::Subs. so this is like... ancestral theft. generational. we love to see it. π
π«Ά FEEDBACK π«Ά
π¬ Mailing Lists
user feedback is an integral part of the evolution of this and other Bioperl modules, fr fr. send your comments and suggestions β preferably to one of the Bioperl mailing lists.
your participation is much appreciated. genuinely. π₯Ή
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π Support
please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. why? because many experienced and reponsive experts will be able look at the problem and quickly address it. bestie, the group chat is faster than the DM. periodt. π
please include a thorough description of the problem with code and data examples if at all possible. help them help you. π
π 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
go off, file that issue. π₯
π AUTHOR - Sheldon McKay
Email mckays@cshl.edu
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ β that's the secret handshake, iykyk. π€«
π new
- Title :
new - Usage : not used directly
- Returns : a gameHandler object
- Args : an XML filename
π go
- Title :
go - Usage : not used directly
- Function : starts PerlSAX XML parsing
π¬ start_document
- Title :
start_document - Usage : not used directly
ποΈ end_document
- Title :
end_document - Usage : not used directly
π§© start_element
- Title :
start_element - Usage : not used directly
π§· end_element
- Title :
end_element - Usage : not used directly
π€ characters
- Title :
characters - Usage : not used directly
π§Ό strip_characters
- Title :
strip_characters - Usage : not used directly
- Function : cleans up XML element contents
π― curr_element
- Title :
curr_element - Usage : not used directly
- Function : returns the currently open element
πΏ flush
- Title :
flush - Usage :
$self->flush($element) # or $element->flush - Function : prune a branch from the XML tree
- Returns : true if successful
- Args : an element object (optional)
not me pruning branches like a lil gardener π§ β optional arg, true on success, that's the whole deal.
π€ complain
- Title :
complain - Usage :
$self->complain("This is terrible; I am not happy") - Function : throw a non-fatal warning, formats message for pretty-printing
- Returns : nothing
- Args : a list of strings
π dbxref
- Title :
dbxref - Usage :
$self->db_xref($el, $tags) - Function : an internal method to flatten dbxref elements
- Returns : the db_xref (eg
wormbase:C02D5.1) - Args : an element object (reqd) and a hash ref of tag/values (optional)
π¬ comment
- Title :
comment - Usage :
$self->comment($comment_element) - Function : a method to flatten comment elements
- Returns : a string
- Args : an comment element (reqd) and a hash ref of tag/values (optional)
- Note : The hope here is that we can unflatten structured comments in game-derived annotations happen to make a return trip
lowkey manifesting that round trip for these structured comments π¦
π·οΈ property
- Title :
property - Usage :
$self->property($property_element) - Function : an internal method to flatten property elements
- Returns : a hash reference
- Args : 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 :
evidence - Usage :
$self->evidence($evidence_element) - Function : a method to flatten evidence elements
- Returns : a string
- Args : an evidence element
π date
- Title :
date - Usage :
$self->date($date_element) - Function : a method to flatten date elements
- Returns : true if successful
- Args : a date element
𧬠protein_id
- Title :
protein_id - Usage :
$pid = $self->protein_id($cds, $standard_name) - Function : a method to search for a protein name
- Returns : a string
- Args : the CDS object plus the transcript's 'standard_name'
okay that's the whole page, bestie, you ate it. πβ¨
this little masterpiece shipped with perl v5.32.1, dated 2021-08-15, and yes it's still Bio::S...meSubs(3pm) in the corner like a cute lil watermark. bye, go parse some game-XML. ππ¦π
π¦ where this page comes from
- debian bookworm: libbio-perl-perl 1.7.8-1 Β· Perl
- debian trixie: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu jammy: libbio-perl-perl 1.7.8-1 Β· Perl
- ubuntu noble: libbio-perl-perl 1.7.8-1 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms