NAME
Bio::Tools::Run::EMBOSSacd - class for EMBOSS Application qualifiers
SYNOPSIS
# Get an EMBOSS factoryuse 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 alignmentuse 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}
DESCRIPTION
The EMBOSSacd represents all the possible command line arguments that can be given to an EMBOSS application.
Do not create this object directly. It will be created and attached to its corresponding Bio::Tools::Run::EMBOSSApplication if you set
$application->verbose > 0
Call
$application->acd
to retrive the Bio::Tools::Run::EMBOSSApplication::EMBOSSacd object.
See also Bio::Tools::Run::EMBOSSApplication and Bio::Factory::EMBOSS.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing lists Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able 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.
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 InstituteWellcome Trust Genome Campus, HinxtonCambs. CB10 1SD, United Kingdom
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : $emboss_prog->acd($prog_name);Function: Constructor for the class.Calls EMBOSS program 'acdc', converts theHTML output into XML and uses XML::Twig XMLparser to write out a hash of qualifiers which isthen blessed.Throws : without program nameReturns : new objectArgs : EMBOSS program name
name
Title : nameUsage : $embossacd->nameFunction: sets/gets the name of the EMBOSS programSetting is done by the EMBOSSApplication object,you should only get it.Throws :Returns : name stringArgs : None
Title : printUsage : $embossacd->print; $embossacd->print('-word');Function: Print out the qualifiers.Uses Data::Dumper to print the qualifiers into STDOUT.A valid qualifier name given as an argment limits the output.Throws :Returns : print stringArgs : optional qualifier name
mandatory
Title : mandatoryUsage : $acd->mandatoryFunction: gets a mandatory subset of qualifiersThrows :Returns : Bio::Tools::Run::EMBOSSacd objectArgs : none
Qualifier queries
These methods can be used test qualifier names and read values.
qualifier
Title : qualifierUsage : $acd->qualifier($string)Function: tests for the existence of the qualifierThrows :Returns : booleanArgs : string, name of the qualifier
category
Title : categoryUsage : $acd->category($qual_name)Function: Return the category of the qualifierThrows :Returns : 'mandatory' or 'optional' or 'advanced' or'associated' or 'general'Args : string, name of the qualifier
values
Title : valuesUsage : $acd->values($qual_name)Function: Return the possible values for the qualifierThrows :Returns : stringArgs : string, name of the qualifier
descr
Title : descrUsage : $acd->descr($qual_name)Function: Return the description of the qualifierThrows :Returns : booleanArgs : string, name of the qualifier
unnamed
Title : unnamedUsage : $acd->unnamed($qual_name)Function: Find if the qualifier can be left unnamedThrows :Returns : 0 if needs to be named, order number otherwiseArgs : string, name of the qualifier
default
Title : defaultUsage : $acd->default($qual_name)Function: Return the default value for the qualifierThrows :Returns : scalarArgs : string, name of the qualifier