Bio::T...luster(3pm)

πŸ“¦
version 1.7.8 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– Bio::T...luster(3pm) πŸ’–

okay bestie, so this is Bio::TreeIO::cluster β€” a TreeIO driver module for parsing Algorithm::Cluster::treecluster() output. it's a Perl thing, it's from the User Contributed Perl Documentation, and it's lowkey iconic. let's get into it πŸ¦‹


✨ NAME ✨

Bio::TreeIO::cluster β€” a TreeIO driver module for parsing Algorithm::Cluster::treecluster() output. that's the whole vibe. no cap. πŸ’…


🌸 SYNOPSIS 🌸

so like, do NOT use this module directly, okay?? fr fr. here's how it actually goes down:

# do not use this module directly
use Bio::TreeIO;
use Algorithm::Cluster;
my ($result, $linkdist) = Algorithm::Cluster::treecluster(
  distances => $matrix
);
my $treeio = Bio::TreeIO->new(
  -format   => 'cluster',
  -result   =>  $result,
  -linkdist =>  $linkdist,
  -labels   =>  $labels
);
my $tree = $treeio->next_tree;

like. you feed it the $result and $linkdist from treecluster(), plus your $labels, and it hands you back a whole tree. main character energy honestly 🌳✨


πŸŽ€ DESCRIPTION πŸŽ€

this is a driver module for parsing Algorithm::Cluster::treecluster() output. that's it. that's the job. it's a parser bestie, it parses. πŸ’œ


πŸ’Œ FEEDBACK πŸ’Œ

πŸ’– Mailing Lists πŸ’–

user feedback is an integral part of the evolution of this and other Bioperl modules. so if you got comments, suggestions, thoughts, feelings β€” send them to the Bioperl mailing list!! your participation is much appreciated, for real. 🫢

bioperl-l@bioperl.org                  - General discussion
http://bioperl.org/wiki/Mailing_lists  - About the mailing lists

🩹 Support 🩹

okay listen. please direct usage questions and support issues to the mailing list:

bioperl-l@bioperl.org

and not to the module maintainer directly, bestie. there are so many experienced and responsive experts on there who will look at your problem and quickly address it. but when you ask, please include a thorough description of the problem with code and data examples if at all possible!! help them help you πŸ’…

πŸ› Reporting Bugs πŸ›

found a bug? report it to the Bioperl bug tracking system so we can keep track of the bugs and their resolution. bug reports can be submitted via the web:

https://github.com/bioperl/bioperl-live/issues

πŸ‘‘ AUTHOR - Guillaume Rousse πŸ‘‘

Email Guillaume-dot-Rousse-at-inria-dot-fr


🌈 CONTRIBUTORS 🌈

Jason Stajich - jason-at-bioperl-dot-org


πŸ“– APPENDIX πŸ“–

the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ (iykyk). ✨

πŸ’« new πŸ’«

Title   : new
Usage   : my $obj = Bio::TreeIO::cluster->new();
Function: Builds a new Bio::TreeIO::cluster object for reading Algorithm::Cluster::treecluster output
Returns : Bio::TreeIO::cluster
Args    :-result   => Algorithm::Cluster result
         -linkdist => distance between links
         -labels   => node labels

so new builds you a brand new Bio::TreeIO::cluster object for reading that Algorithm::Cluster::treecluster output. it gives you back a Bio::TreeIO::cluster, and you gotta hand it -result (the Algorithm::Cluster result), -linkdist (distance between links), and -labels (node labels). slay. 🌟

πŸ’« next_tree πŸ’«

Title   : next_tree
Usage   : my $tree = $treeio->next_tree
Function: Gets the next tree in the stream
Returns : Bio::Tree::TreeI
Args    : none

next_tree gets the next tree in the stream. returns a Bio::Tree::TreeI, takes no args. simple, clean, obsessed. 🌸

πŸ’« write_tree πŸ’«

Title   : write_tree
Usage   :
Function: Sorry not possible with this format
Returns : none
Args    : none

and write_tree?? yeah no. sorry not possible with this format. 😭 returns none, takes no args, it's just not happening bestie. the format said no. πŸ’€


perl v5.32.1 Β· 2021-08-15

and that's the whole page babes πŸŽ€ stay parsed, stay slaying, and remember: do not use this module directly. periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from