Bio::T...OSSacd(3pm)
πΈ NAME πΈ
Bio::Tools::Run::EMBOSSacd β the class that holds all the EMBOSS application qualifiers, aka the lil' keeper of every possible command-line argument an EMBOSS program could ever want. π
β¨ SYNOPSIS β¨
okay bestie, watch closely, this is the whole vibe:
# Get an EMBOSS factory
use Bio::Factory::EMBOSS;
$f = Bio::Factory::EMBOSS -> new();
# Get an EMBOSS application object from the factory
$water = $f->program('water') || die "Program not found!\n";
# Here is an example of running the application - water can
# compare 1 sequence against 1 or more sequences using Smith-Waterman.
# Pass a Sequence object and a reference to an array of objects.
my $wateroutfile = 'out.water';
$water->run({-asequence => $seq_object,
-bsequence => \@seq_objects,
-gapopen => '10.0',
-gapextend => '0.5',
-outfile => $wateroutfile});
# Now you might want to get the alignment
use Bio::AlignIO;
my $alnin = Bio::AlignIO->new(-format => 'emboss',
-file => $wateroutfile);
while ( my $aln = $alnin->next_aln ) {
# process the alignment -- these will be Bio::SimpleAlign objects
}
it's giving factory pattern and honestly? we love that for us. π¦
π DESCRIPTION π
So basically the EMBOSSacd object is the main character that represents all the possible command line arguments you can hand to an EMBOSS application. every single one. no cap. π
Do not create this object directly. π It gets created and attached to its corresponding Bio::Tools::Run::EMBOSSApplication for you β but only if you set this:
$application->verbose > 0
Then to go get it, you call:
$application->acd
and boom, you've retrieved the Bio::Tools::Run::EMBOSSApplication::EMBOSSacd object. π«Ά
Also go peek at Bio::Tools::Run::EMBOSSApplication and Bio::Factory::EMBOSS β they're the supporting cast, iykyk.
π FEEDBACK π
π Mailing Lists π
User feedback is literally an integral part of the evolution of this and other Bioperl modules β like, we need it. Send your comments and suggestions preferably to the Bioperl mailing lists, your participation is much appreciated. β¨
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
πΈ Support πΈ
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
rather than to the module maintainer directly. Why? Because so many experienced and responsive experts will be able look at the problem and quickly address it β the way that works is honestly iconic. π
If at all possible, please include a thorough description of the problem with code and data examples. fr fr, the more detail the better. π
π¦ Reporting Bugs π¦
report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:
http://redmine.open-bio.org/projects/bioperl/
π AUTHOR - Heikki Lehvaslaiho π
Email: heikki-at-bioperl-dot-org
Address:
EMBL Outstation, European Bioinformatics Institute
Wellcome Trust Genome Campus, Hinxton
Cambs. CB10 1SD, United Kingdom
π APPENDIX π
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ (you know, the little secret ones π).
π§ new
- Title:
new - Usage:
$emboss_prog->acd($prog_name); - Function: Constructor for the class. Calls EMBOSS program
acdc, converts the HTML output into XML and usesXML::TwigXML parser to write out a hash of qualifiers which is then blessed. π - Throws: without program name
- Returns: new object
- Args: EMBOSS program name
π§ name
- Title:
name - Usage:
$embossacd->name - Function: sets/gets the name of the EMBOSS program. Setting is done by the EMBOSSApplication object, you should only get it. π ββοΈ
- Throws:
- Returns: name string
- Args: None
π§ print
- Title:
print - Usage:
$embossacd->print; $embossacd->print('-word'); - Function: Print out the qualifiers. Uses
Data::Dumperto print the qualifiers intoSTDOUT. A valid qualifier name given as an argment limits the output. - Throws:
- Returns: print string
- Args: optional qualifier name
π§ mandatory
- Title:
mandatory - Usage:
$acd->mandatory - Function: gets a mandatory subset of qualifiers
- Throws:
- Returns:
Bio::Tools::Run::EMBOSSacdobject - Args: none
π Qualifier queries π
These methods can be used test qualifier names and read values.
π§ qualifier
- Title:
qualifier - Usage:
$acd->qualifier($string) - Function: tests for the existence of the qualifier
- Throws:
- Returns: boolean
- Args: string, name of the qualifier
π§ category
- Title:
category - Usage:
$acd->category($qual_name) - Function: Return the category of the qualifier
- Throws:
- Returns:
'mandatory'or'optional'or'advanced'or'associated'or'general' - Args: string, name of the qualifier
π§ values
- Title:
values - Usage:
$acd->values($qual_name) - Function: Return the possible values for the qualifier
- Throws:
- Returns: string
- Args: string, name of the qualifier
π§ descr
- Title:
descr - Usage:
$acd->descr($qual_name) - Function: Return the description of the qualifier
- Throws:
- Returns: boolean
- Args: string, name of the qualifier
π§ unnamed
- Title:
unnamed - Usage:
$acd->unnamed($qual_name) - Function: Find if the qualifier can be left unnamed
- Throws:
- Returns:
0if needs to be named, order number otherwise - Args: string, name of the qualifier
π§ default
- Title:
default - Usage:
$acd->default($qual_name) - Function: Return the default value for the qualifier
- Throws:
- Returns: scalar
- Args: string, name of the qualifier
and that's the whole page bestie, we ate and left no crumbs π½οΈβ¨
perl v5.36.0, dated 2023-01-22, from the User Contributed Perl Documentation β mwah, thanks for reading, ily, go run some EMBOSS ππ¦π
π¦ 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