Bio::T...kParser(3pm)
π Bio::TreeIO::NewickParser β the newick string parser β¨
okay so bestie, you've stumbled into Bio::T...kParser(3pm) from the User Contributed Perl Documentation, and honestly? you're gonna love her. she parses newick strings. that's the whole vibe. π
β¨ SYNOPSIS β¨
# From newick.pm
use base qw(Bio::TreeIO Bio::TreeIO::NewickParser);
# in the next_tree method...
$self->parse_newick($_);
like, that's it. that's the whole flex. π«Ά
πΈ DESCRIPTION πΈ
So this module correctly parses the Newick and NHX formats, and it sends calls over to the BioPerl TreeEventHandler at the right moments so that your node objects get built and populated. she's not doing it alone β it's a whole collab. π
Under the hood, she's a finite state machine, which is lowkey why she can parse the full Newick specification. not just the easy parts. the whole thing. iconic behavior, honestly. π
She's taken largely from the Ensembl Compara file with the same name β Bio::EnsEMBL::Compara::Graph::NewickParser β and this module adapts that parser to work with BioPerl's event handler-based parsing scheme. so it's giving glow-up, it's giving adaptation era. π¦
β οΈ real talk though: this module is used bynhx.pmandnewick.pm, and it is NOT called directly. instead, both of those parsing modules extend this module so they can get access to the main parsing method. so like... don't come for her directly, she's the behind-the-scenes main character. π«£
π¦ 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 the Bioperl mailing list. 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
π«Ά Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. there are so many experienced and responsive experts on there who will be able to look at your problem and quickly address it. bestie group chat energy. β¨
Please include a thorough description of the problem with code and data examples if at all possible. the more deets, the faster the slay. π
π Reporting Bugs
Report bugs to the Bioperl bug tracking system to help them keep track of the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR π
- Jessica Severin (EnsEMBL implementation) π
- Greg Jordan (BioPerl adaptation) π
π and that's the tea π
This little icon was brought to you by the User Contributed Perl Documentation, running on perl v5.32.1, dated 2021-08-15. she's been serving since then and she has not missed a day. periodt. π
ππ¦
π¦ 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