Bio::S...::gbxml(3pm)
π Bio::SeqIO::gbxml π
okay bestie, so this is Bio::SeqIO::gbxml β the GenBank sequence input/output stream that runs on SAX. yes, that SAX. the XML one. not the jazz one. π·β¨
She ships as part of User Contributed Perl Documentation, and she's here to let you read and write GenBank XML like it's nothing. iykyk. π¦
πΈ NAME πΈ
Bio::SeqIO::gbxml β GenBank sequence input/output stream using SAX. that's it. that's the whole vibe. π
β¨ SYNOPSIS β¨
ngl, the docs are very clear about this one: it is probably best not to use this object directly, but rather go through the SeqIO handler system. so like, don't text the object directly, go through the group chat. π«Ά
To read a GenBank XML file:
$stream = Bio::SeqIO->new( -file => $filename, -format => 'gbxml');
while ( my $bioSeqObj = $stream->next_seq() ) {
# do something with $bioSeqObj
}
To write a Seq object to the current file handle in GenBank XML format:
$stream->write_seq( -seq => $seqObj);
If instead you would like a XML::DOM object containing the GBXML, use:
my $newXmlObject = $stream->to_bsml( -seq => $seqObj);
that last one? iconic. she doesn't just give you a stream, she gives you a whole DOM. π
π DEPENDENCIES π
In addition to parts of the Bio:: hierarchy, this module uses:
XML::SAX
just the one extra bestie. low maintenance queen. π
π DESCRIPTION π
This object can transform Bio::Seq objects to and from GenBank XML flatfiles. both directions. she's versatile like that. π₯
π«Ά 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. fr fr, they mean it. ππ
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π 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
not me asking you to file a bug report... but yes. please. do it for the girls. π
π AUTHOR - Ryan Golhar π
Email golharam-at-umdnj-dot-edu
(the -at- and -dot- are there to keep the bots from eating the address, we love a cautious queen πΈ)
β METHODS β
π next_seq
- Title β
next_seq - Usage β
my $bioSeqObj = $stream->next_seq - Function β Retrieves the next sequence from a
SeqIO::gbxmlstream. - Returns β A reference to a
Bio::Seq::RichSeqobject - Args β (nothing, she takes no arguments, she's mysterious like that) π
main character method honestly. you call her, she hands you the next sequence, no drama. slay. β¨π¦
quick reminder bestie: you still gotta go through the SeqIO handler system β direct use is the "probably best not to" zone. π
and that's the whole page, no cap. written by Ryan Golhar, shipped as part of User Contributed Perl Documentation for perl v5.32.1 on 2021-08-15. go forth and parse your GenBank XML, you absolute icon. π§ππ
π¦ 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