Bio::T...y::REL(3pm)
π Bio::Tools::Run::Phylo::Hyphy::REL π
okay bestie, welcome to the Bio::Tools::Run::Phylo::Hyphy::REL page from the Bio::T...y::REL(3pm) manual β yes that's the abbreviated title, we're keeping it cute β and it's a wrapper around the Hyphy REL analysis, and honestly? it's giving "let me handle the messy part for you" energy. π§
β¨ NAME β¨
Bio::Tools::Run::Phylo::Hyphy::REL β a wrapper around the Hyphy REL analysis. that's it, that's the whole name, slay. π
πΈ SYNOPSIS πΈ
here's the vibe, no notes:
use Bio::Tools::Run::Phylo::Hyphy::REL;
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 $rel = Bio::Tools::Run::Phylo::Hyphy::REL->new();
$rel->alignment($aln);
$rel->tree($tree);
my ($rc,$results) = $rel->run();
literally the whole flow: make the alignment, make the tree, make the REL object, set the alignment, set the tree, run it. periodt. π₯
π¦ DESCRIPTION π¦
so this module? it's a wrapper around the REL analysis of HyPhy β that's ([Hy]pothesis Testing Using [Phy]logenies) β the package by Sergei Kosakowsky Pond, Spencer V. Muse, Simon D.W. Frost and Art Poon. go check out http://www.hyphy.org for more info, iykyk. π
and the way that this module does its job? it will generate the correct list of options for interfacing with TemplateBatchFiles/Ghostrides/Wrapper.bf. iconic behavior, no cap. β¨
π FEEDBACK π
π Mailing Lists
user feedback is an integral part of the evolution of this and other Bioperl modules β like, genuinely, your voice matters here. 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
okay so please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. bestie, there are so many experienced and responsive experts on there who will be able to 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. give them the full picture, they'll love you for it. π
π 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 _. (iykyk β if it starts with an underscore, it's private business. π)
π§ 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
so it hands you back an array of every possible parameter, and the default values are always the first one listed β remember that, it matters. and the descriptions? those are essentially lifted from the python wrapper or provided by the author. credit where credit's due. β
β¨ new
Title : new
Usage : my $obj = Bio::Tools::Run::Phylo::Hyphy::REL->new();
Function: Builds a new Bio::Tools::Run::Phylo::Hyphy::REL object
Returns : Bio::Tools::Run::Phylo::Hyphy::REL
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
the args, one by one, because we don't gatekeep:
-alignmentβ theBio::Align::AlignIobject. your alignment, your bestie.-save_tempfilesβ a boolean to save the generated tempfiles and NOT cleanup after onesself. default isFALSE, so heads up: by default the tempfiles get cleaned up. π§Ή-treeβ theBio::Tree::TreeIobject.-paramsβ a hashref of parameters, and all of them get passed toset_parameter.-executableβ where the hyphy executable resides. tell it where your hyphy lives. π
See also: Bio::Tree::TreeI, Bio::Align::AlignI
π₯ run
Title : run
Usage : my ($rc,$results) = $rel->run($aln);
Function: run the rel analysis using the default or updated parameters
the alignment parameter must have been set
Returns : Return code, Hash
Args : L<Bio::Align::AlignI> object,
L<Bio::Tree::TreeI> object [optional]
the alignment parameter must have been set. like, that's not optional, bestie. π
it runs the rel analysis using the default or updated parameters, and it returns a Return code and a Hash. the L<Bio::Align::AlignI> object is required, the L<Bio::Tree::TreeI> object is [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 :
it will create the wrapper file that interfaces with the analysis bf file. the example, returns and args are all empty in the original β so that's exactly what you get here too, no inventing, no cap. π
and that's the whole page, bestie! π«Ά this was perl v5.36.0, dated 2023-01-22, and it's the Bio::T...y::REL(3pm) page from the User Contributed Perl Documentation. go forth and run your REL analysis, you absolute main character. πβ¨π
π¦ 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