NAME

Bio::Polloc::Locus::composition - A composition feature

DESCRIPTION

This feature is intended to save the content of a group of residues in a certain sequence. This feature was first created to reflect the G+C content.

AUTHOR - Luis M. Rodriguez-R

Email lmrodriguezr at gmail dot com

APPENDIX

Methods provided by the package

new

Initialization method.

Arguments

-letters str

The residues

-composition float

The percentage of the sequence covered by the residues (letters).

letters

Gets/sets the analysed residues.

Arguments

The residues (str, optional).

Returns

The residues (str or undef).

composition

Gets/sets the percentage of the sequence covered by the residues (letters).

Arguments

The percentage (float, optional).

Returns

The percentage (float or undef).

score

Dummy function, required by the Bio::Polloc::LocusI interface. Returns undef because any score is associated

INTERNAL METHODS

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

_initialize