Bio::Search::Hit Fasta
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvs
Summary
Bio::Search::Hit::Fasta - Hit object specific for Fasta-generated hits
Package variables
Privates (from "my" definitions)
@AUTOLOAD_OK = qw(_ID _DESC _SIZE _INITN _INIT1 _OPT _ZSC _E_VAL)
%AUTOLOAD_OK = ()
Inherit
Bio::Search::Hit::HitI
Synopsis
  # You wouldn't normally create these manually; 
# instead they would be produced by Bio::SearchIO::fasta
use Bio::Search::Hit::Fasta; my $hit = Bio::Search::Hit::Fasta->new(id=>'LBL_6321', desc=>'lipoprotein', e_val=>0.01);
Description
Bio::Search::Hit::HitI objects are data structures that contain information
about specific hits obtained during a library search. Some information will
be algorithm-specific, but others will be generally defined, such as the
ability to obtain alignment objects corresponding to each hit.
Methods
_initializeDescriptionCode
AUTOLOADDescriptionCode
Methods description
_initializecode    nextTop
 Function: where the heavy stuff will happen when new is called
AUTOLOADcodeprevnextTop
 Function: Provide getter/setters for ID,DESC,SIZE,INITN,INIT1,OPT,ZSC,E_VAL
Methods code
_initializedescriptionprevnextTop
sub _initialize {
    my($self, %args) = @_;

    my $make = $self->SUPER::_initialize(%args);

    while (my ($key, $val) = each %args) {
	$key = '_' . uc($key);
	$self->$key($val);
    }

    return $make; # success - we hope!
}
AUTOLOADdescriptionprevnextTop
sub AUTOLOAD {
    my ($self, $val) = @_;

    $AUTOLOAD =~ s/.*:://;

    if ( $AUTOLOAD_OK{$AUTOLOAD} ) {
        $self->{$AUTOLOAD} = $val if defined $val;
        return $self->{$AUTOLOAD};
    } else {
        $self->throw("Unallowed accessor: $AUTOLOAD !");
    }
}

1;
}
General documentation
SEE ALSOTop
Bio::Search::Hit::HitI,
Bio::Search::Hit::GenericHit,
Bio::SearchIO::fasta.
FEEDBACKTop
Mailing ListsTop
User feedback is an integral part of the evolution of this
and other Bioperl modules. Send your comments and suggestions preferably
to one of 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 Top
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
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 BugsTop
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:
  https://redmine.open-bio.org/projects/bioperl/
AUTHOR - Aaron MackeyTop
Email amackey-at-virginia.edu
APPENDIXTop
The rest of the documentation details each of the object
methods. Internal methods are usually preceded with a _