Bio::Polloc::Locus::repeat - A repetitive locus
A repeatitive locus. Implements Bio::Polloc::LocusI.
Email lmrodriguezr at gmail dot com
Methods provided by the package
Creates a Bio::Polloc::Locus::repeat object.
The period of the repeat (units length).
The exponent (No of units).
Mismatches percentage.
Repetitive sequences, repeats space-separated.
Repeats consensus.
A Bio::Polloc::Locus::repeat object.
Gets/sets the period of the repeat. I.e., the size of each repeat.
The period (int, optional).
The period (int or undef)
Gets/sets the exponent of the repeat. I.e., the number of times the repeat is repeated.
The exponent (int, optional).
The exponent (int or undef).
Sets/gets the repetitive sequence (each repeat separated by spaces).
The repetitive sequence (str, optional).
The repetitive sequence (str or undef).
Sets/gets the consensus repeat.
The consensus sequence (str, optional).
The consensus sequence (str or undef).
Gets/sets the error rate of the repeat. I.e., the percentage of mismatches.
The error (float).
The error (float or undef).
Gets/sets the score
The score (float, optional).
The score (float or undef).
Returns the difference in length with the given locus.
The locus to compare with.
The reference locus. If set, replaces the current loaded object.
If true, returns the difference in the number of repeat units, not in base pairs. This flag requires the loci to be Bio::Polloc::Locus::repeat objects.
Float, the difference in length.
Bio::Polloc::Polloc::Error if no locus or the loci are not of the proper type.
Methods intended to be used only within the scope of Bio::Polloc::*
To install Bio::Polloc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Polloc
CPAN shell
perl -MCPAN -e shell install Bio::Polloc
For more information on module installation, please visit the detailed CPAN module installation guide.