Bio-Palantir

 view release on metacpan or  search on metacpan

lib/Bio/Palantir/Refiner/DomainPlus.pm  view on Meta::CPAN

package Bio::Palantir::Refiner::DomainPlus;
# ABSTRACT: Refiner internal class for handling DomainPlus objects
$Bio::Palantir::Refiner::DomainPlus::VERSION = '0.211420';
use Moose;
use namespace::autoclean;

use Data::UUID;


# public attributes

has 'uui' => (
    is       => 'ro',
    isa      => 'Str',
    init_arg => undef,
    default  => sub {
        my $self = shift;
        my $ug = Data::UUID->new;
        my $uui = $ug->create_str();    
        return $uui;
    }
);

has '_domain' => (
    is      => 'ro',
    isa     => 'Bio::Palantir::Parser::Domain',
);

has 'coordinates' => (
    is      => 'ro',
    isa     => 'Maybe[ArrayRef]',
	default => undef,
	writer  => '_set_coordinates',
);

has $_ => (
    is      => 'ro',
    isa     => 'Maybe[Str]',
	default => undef,
	writer  => '_set_'. $_,
) for qw(function chemistry phmm_name subtype protein_sequence 
    target_name query_name subtype_evalue subtype_score base_uui monomer);

has $_ => (
    is       => 'ro',
    isa      => 'Maybe[Num]',
	default => undef,
	writer  => '_set_'. $_,
) for qw(rank begin end size tlen qlen evalue score ali_from ali_to hmm_from
    hmm_to);

with 'Bio::Palantir::Roles::Domainable';

# public methods


__PACKAGE__->meta->make_immutable;
1;

__END__

=pod

=head1 NAME



( run in 0.730 second using v1.01-cache-2.11-cpan-98e64b0badf )