Bio-FastParsers

 view release on metacpan or  search on metacpan

lib/Bio/FastParsers/Blast/Xml/Hsp.pm  view on Meta::CPAN

package Bio::FastParsers::Blast::Xml::Hsp;
# ABSTRACT: NCBI BLAST DTD-derived internal class
$Bio::FastParsers::Blast::Xml::Hsp::VERSION = '0.221230';
use Moose;
use namespace::autoclean;

# AUTOGENERATED CODE! DO NOT MODIFY THIS FILE!

use XML::Bare qw(forcearray);



# private attributes

has '_root' => (
    is       => 'ro',
    isa      => 'HashRef',
    required => 1,
);

has '_parent' => (
    is       => 'ro',
    isa      => 'Maybe[Object]',
    required => 1,
    weak_ref => 1,
);


# public array(s) of composed objects


# public composed object(s)


# public methods


sub align_len {
    return shift->_root->{'Hsp_align-len'}->{'value'}
}


sub bit_score {
    return shift->_root->{'Hsp_bit-score'}->{'value'}
}


sub density {
    return shift->_root->{'Hsp_density'}->{'value'}
}


sub evalue {
    return shift->_root->{'Hsp_evalue'}->{'value'}
}


sub gaps {
    return shift->_root->{'Hsp_gaps'}->{'value'}
}


sub hit_frame {
    return shift->_root->{'Hsp_hit-frame'}->{'value'}
}



( run in 0.759 second using v1.01-cache-2.11-cpan-140bd7fdf52 )