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

πŸ“¦
version 1.7.3 Β· 3 versions
, in debian bookworm, ubuntu noble

πŸ’– 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 $tree while 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::Modeltest object
  • Returns : Bio::Tools::Run::Phylo::Hyphy::Modeltest
  • Args :
    • -alignment β€” the Bio::Align::AlignI object
    • -save_tempfiles β€” boolean to save the generated tempfiles and NOT cleanup after onesself (default FALSE)
    • -tree β€” the Bio::Tree::TreeI object
    • -params β€” a hashref of parameters (all passed to set_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::AlignI object, Bio::Tree::TreeI object [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