Bio::Search::Hit
Fasta
Toolbar
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
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
Methods description
Function: where the heavy stuff will happen when new is called |
Function: Provide getter/setters for ID,DESC,SIZE,INITN,INIT1,OPT,ZSC,E_VAL |
Methods code
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;
} |
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
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
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.
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/
Email amackey-at-virginia.edu
The rest of the documentation details each of the object
methods. Internal methods are usually preceded with a _