Bio::T...y::SLAC(3pm)
π Bio::Tools::Run::Phylo::Hyphy::SLAC(3pm) β ok bestie, sit down, we're learning this π
This is the manual page for Bio::Tools::Run::Phylo::Hyphy::SLAC(3pm), straight out of the User Contributed Perl Documentation. It's a whole wrapper module and it's lowkey iconic. Let's get into it. β¨
πΈ NAME πΈ
Bio::Tools::Run::Phylo::Hyphy::SLAC β it's a wrapper around the Hyphy SLAC analysis. That's the whole name. Short, sweet, slays. π
β¨ SYNOPSIS β¨
Here's the vibe, verbatim, no cap β copy this exactly:
use Bio::Tools::Run::Phylo::Hyphy::SLAC;
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 $slac = Bio::Tools::Run::Phylo::Hyphy::SLAC->new();
$slac->alignment($aln);
$slac->tree($tree);
my ($rc,$results) = $slac->run();
That's it. That's the flow. Read your alignment, read your tree, build the object, hand it the alignment and the tree, run it, get back $rc and $results. π¦
π DESCRIPTION π
So what even is this? It's a wrapper around the SLAC analysis of HyPhy β and for the girlies keeping score, that's [Hy]pothesis Testing Using [Phy]logenies. The package is by Sergei Kosakowsky Pond, Spencer V. Muse, Simon D.W. Frost and Art Poon. π«Ά
Want more info? Go look at http://www.hyphy.org β it's right there. π
π FEEDBACK π
π¬ Mailing Lists π¬
User feedback is an integral part of the evolution of this and other Bioperl modules. Fr fr β your comments and suggestions are wanted, preferably sent 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 this part matters: please direct your usage questions and support issues to the mailing list:
bioperl-l@bioperl.org
β¦rather than sliding into the module maintainer's DMs directly. π There are so many experienced experts (the original says "reponsive" and honestly we keep the love, typos and all π) who can look at your problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible β receipts, bestie, receipts. π
π Reporting Bugs π
Found a bug? Not the vibe, but okay, report it. Report bugs to the Bioperl bug tracking system so everyone 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 β literally, that's what it says. The placeholder is serving π and it's staying.
π APPENDIX π
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ β iykyk, if you see the underscore, that's your sign. π
π§Ύ Default Values π§Ύ
Valid and default values for SLAC 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.
INCOMPLETE DOCUMENTATION OF ALL METHODS β yes, that's a direct quote, the docs are giving mysterious main character energy. We report, we don't fix. π
π 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::SLAC->new(); - Function: Builds a new
Bio::Tools::Run::Phylo::Hyphy::SLACobject - Returns:
Bio::Tools::Run::Phylo::Hyphy::SLAC - 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) = $slac->run($aln); - Function: run the slac analysis using the default or updated parameters β the alignment parameter must have been set
- Returns: Return code, hash
- 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:
And that's the whole page, bestie. You ate. π
This was perl v5.36.0, dated 2023-01-22 β thanks for reading, go run your analysis, and remember: no cap, the alignment parameter must have been set. πβ¨ππ¦πΈπ
π«Άππβπ§π
π¦ 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