Bio::T...odeNHX(3pm)
π Bio::Tree::NodeNHX β a Simple Tree Node with support for NHX tags π
okay bestie, pull up a chair, we're doing phylogenetic trees today π³β¨ the module is Bio::Tree::NodeNHX, and yes the manpage header says Bio::T...odeNHX(3pm) because Unix is dramatic and truncates things, but we know her full name π
πΈ NAME πΈ
Bio::Tree::NodeNHX β a Simple Tree Node with support for NHX tags π¦
it's giving "small module, big tree energy" and honestly? iconic.
β¨ SYNOPSIS β¨
use Bio::Tree::NodeNHX;
my $nodeA = Bio::Tree::NodeNHX->new();
my $nodeL = Bio::Tree::NodeNHX->new();
my $nodeR = Bio::Tree::NodeNHX->new();
my $node = Bio::Tree::NodeNHX->new();
$node->add_Descendents($nodeL);
$node->add_Descendents($nodeR);
print "node is not a leaf \n" if( $node->is_leaf);
look at her go π«Ά three lil nodes, one parent node, two descendents attached, and then a check on is_leaf. (yes $nodeA is just vibing there unused, she's main character energy for no reason, we love her anyway π)
π DESCRIPTION π
Makes a Tree Node with NHX tags, suitable for building a Tree. π
and if you want the full list of functionality, go read Bio::Tree::Node β this one is her cute NHX-flavored sibling. no cap.
π 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 the Bioperl mailing list. Your participation is much appreciated π₯Ήπ
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. the way that so 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. (like, give us the receipts, bestie π)
π 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 the bug instead of suffering in silence π do it for the plot.
π AUTHOR - Aaron Mackey π
Email amackey@virginia.edu
π CONTRIBUTORS π
The NHX (New Hampshire eXtended) format was created by Chris Zmasek, and is described at:
http://sourceforge.net/projects/forester-atv/
shoutout to Chris, absolute legend, ate and left no crumbs π₯
π APPENDIX π
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ π (iykyk β underscore means "you probably shouldn't be calling me directly, bestie").
π¦ new π¦
- Title:
new - Usage:
my $obj = Bio::Tree::NodeNHX->new(); - Function: Builds a new
Bio::Tree::NodeNHXobject - Returns:
Bio::Tree::NodeNHX - Args:
-left=> pointer to Left descendent (optional)-right=> pointer to Right descenent (optional)-branch_length=> branch length [integer] (optional)-bootstrap=> bootstrap value (string)-description=> description of node-id=> unique id for node-nhx=> hashref of NHX tags and values
(yes it literally says descenent in the original, we are preserving her exactly as she is, no edits, periodt π
)
πΈ nhx_tag πΈ
- Title:
nhx_tag - Usage:
my $tag = $nodenhx->nhx_tag(%tags); - Function: Set tag-value pairs for NHX nodes
- Returns: none
- Args: hashref to update the tags/value pairs
OR
with a scalar value update the bootstrap value by default
so like, hand her a hashref and she updates the tag/value pairs, or hand her a plain scalar and she'll update the bootstrap value by default. two moods, one method π
and that's the whole page, bestie!! you now know Bio::Tree::NodeNHX better than most people know their own wifi password. slay π
perl v5.32.1 β 2021-08-15 β Bio::T...odeNHX(3pm) π that's the version, the date, and the lil truncated title, mwah, bye πβ¨π¦πΈπ
π«Ά
π¦ 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