Bio-MUST-Apps-HmmCleaner
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Bio/MUST/Apps/HmmCleaner.pm view on Meta::CPAN
my %matrix;
for my $cleaner ($self->all_cleaners) {
my $seqid = $cleaner->seq->full_id;
$matrix{$seqid} = $cleaner->get_seqmask;
}
return \%matrix;
}
sub update_cleaners {
my $self = shift;
my $threshold = shift;
$self->_set_threshold($threshold);
my $costs = shift // $self->_get_default_cost;
for my $cleaner ($self->all_cleaners) {
$cleaner->update($threshold,$costs);
}
return;
lib/Bio/MUST/Apps/HmmCleaner/Cleaner.pm view on Meta::CPAN
sub _build_shifts {
return shift->_get_shifts;
}
## use critic
# METHOD
sub update {
my $self = shift;
my $threshold = shift;
my $costs = shift;
$self->_set_costs($costs);
$self->_set_threshold($threshold);
# watch out, the order is important here
$self->_set_nogap_shifts($self->_get_nogap_shifts);
$self->_set_shifts($self->_get_shifts);
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.447 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )