Bio::T...eltest(3pm)
π Bio::T...eltest(3pm) π
okay so this page is Bio::T...eltest(3pm), straight out of the User Contributed Perl Documentation collection, and bestie, it's a whole moment. grab a snack π
β¨ NAME β¨
Bio::Tools::Run::Phylo::Hyphy::Modeltest β it's a wrapper around the Hyphy Modeltest analysis. that's the entire name, no notes π
π SYNOPSIS π
copy this exactly, bestie, character for character:
use Bio::Tools::Run::Phylo::Hyphy::Modeltest;
use Bio::AlignIO;
use Bio::TreeIO;
my $alignio = Bio::AlignIO->new(-format => 'fasta',
-file => 't/data/hyphy1.fasta');
my $aln = $alignio->next_aln;
my $treeio = Bio::TreeIO->new(
-format => 'newick', -file => 't/data/hyphy1.tree');
my $modeltest = Bio::Tools::Run::Phylo::Hyphy::Modeltest->new();
$modeltest->alignment($aln);
$modeltest->tree($tree);
my ($rc,$results) = $modeltest->run();
ngl the synopsis says$treewhile the TreeIO object got named$treeioβ that's literally what's written up there, so we're keeping it exactly as-is. iykyk π
π¦ DESCRIPTION π¦
so what even is this? it's a wrapper around the Modeltest analysis from the HyPhy ([Hy]pothesis Testing Using [Phy]logenies) package, made by Sergei Kosakowsky Pond, Spencer V. Muse, Simon D.W. Frost and Art Poon. more info lives at http://www.hyphy.org if you wanna go read up β¨
and here's the main character energy: this module will generate the correct list of options for interfacing with TemplateBatchFiles/Modeltest.bf. that's the job. that's what it does. π
π 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, and we mean that π«Ά
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π« Support
usage questions and support issues go to the mailing list:
bioperl-l@bioperl.org
...rather than sliding into the module maintainer's DMs directly. there are so many experienced and responsive experts who can 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 β the more context the better, no cap.
π Reporting Bugs
report bugs 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:
http://redmine.open-bio.org/projects/bioperl/
π AUTHOR - Albert Vilella π
Email avilella-at-gmail-dot-com
π CONTRIBUTORS π
Additional contributors names and emails here
π APPENDIX π
the rest of the documentation details each of the object methods. internal methods are usually preceded with a _ (that underscore is the "don't touch, it's private" signal π
)
π Default Values
Valid and default values for Modeltest are listed below. The default values are always the first one listed. These descriptions are essentially lifted from the python wrapper or provided by the author. periodt.
πΈ valid_values
- Title :
valid_values - Usage :
$factory->valid_values() - Function : returns the possible parameters
- Returns : an array holding all possible parameters. The default values are always the first one listed. These descriptions are essentially lifted from the python wrapper or provided by the author.
- Args : None
π§ new
- Title :
new - Usage :
my $obj = Bio::Tools::Run::Phylo::Hyphy::Modeltest->new(); - Function : Builds a new
Bio::Tools::Run::Phylo::Hyphy::Modeltestobject - Returns :
Bio::Tools::Run::Phylo::Hyphy::Modeltest - Args :
-alignmentβ theBio::Align::AlignIobject-save_tempfilesβ boolean to save the generated tempfiles and NOT cleanup after onesself (defaultFALSE)-treeβ theBio::Tree::TreeIobject-paramsβ a hashref of parameters (all passed toset_parameter)-executableβ where the hyphy executable resides
See also: Bio::Tree::TreeI, Bio::Align::AlignI
π₯ run
- Title :
run - Usage :
my ($rc,$results) = $modeltest->run($aln); - Function : run the modeltest analysis using the default or updated parameters β the alignment parameter must have been set
- Returns : Return code, hash containing the "Hierarchical Testing" and "AIC" results, both as hashes.
- Args :
Bio::Align::AlignIobject,Bio::Tree::TreeIobject [optional]
β create_wrapper
- Title :
create_wrapper - Usage :
$self->create_wrapper - Function : It will create the wrapper file that interfaces with the analysis bf file
- Example :
- Returns :
- Args :
(yep, Example, Returns and Args are all just sitting there empty in the original β not me adding anything, that's genuinely the whole vibe π)
and that's the page, bestie!! π go forth and run your modeltest β¨ this was perl v5.36.0, dated 2023-01-22, and the page itself is Bio::T...eltest(3pm). mwah π«Άπ
π¦ where this page comes from
- debian bookworm: libbio-perl-run-perl 1.7.3-9 Β· Perl
- ubuntu noble: libbio-perl-run-perl 1.7.3-9 Β· Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms