NAME
Bio::Translator::Validations - validation methods and objects
DEFAULTS
REGULAR EXPRESSIONS
VALIDATIONS
VALIDATION METHODS
validate_seq_params
my ( $seq_ref, @p ) = validate_seq_params(@_);
Do validations for methods expecting to be called as:
method( $sequence, \%params ); # or
method( \$sequence, \%params );
validate_lower_upper
my ( $lower, $upper ) = validate_lower_upper( $lower, $upper, $seq_ref );
my ( $lower, $upper ) = validate_lower_upper( delete( @p{qw/ lower upper /} ), $seq_ref );
Validate lower and upper bounds. Assumes that they have already passed $VAL_NON_NEG_INT.