NAME

Bio::Polloc::TypingIO - I/O interface for genotyping methods (Bio::Polloc::TypingI)

AUTHOR - Luis M. Rodriguez-R

Email lmrodriguezr at gmail dot com

IMPLEMENTS OR EXTENDS

PUBLIC METHODS

Methods provided by the package

new

The basic initialization method

Arguments

The same arguments of Bio::Polloc::Polloc::IO, plus:

-format

The format of the file

format

Sets/gets the format.

read

typing

Sets/gets the Bio::Polloc::TypingI object

Arguments

A Bio::Polloc::TypingI object (optional).

Returns

A Bio::Polloc::TypingI object or undef.

Throws

Bio::Polloc::Polloc::Error if trying to set some value other than a Bio::Polloc::TypingI object.

safe_value

Sets/gets a parameter of arbitrary name and value. Serves to provide a safe interface for setting values from the parsed file.

Arguments

-param

The parameter's name (case insensitive)

-value

The value of the parameter (optional)

Returns

The value of the parameter or undef

INTERNAL METHODS

Methods intended to be used only within the scope of Bio::Polloc::*

_initialize

_qualify_format