Bio::Polloc::Locus::crispr - A CRISPR locus
A CRISPR locus. Implements Bio::Polloc::LocusI.
Email lmrodriguezr at gmail dot com
Methods provided by the package
Creates a Bio::Polloc::Locus::repeat object.
Arguments
The number of spacers.
Direct repeat sequence.
Gets/sets the number of spacers.
The number of spacers (int, optional).
Returns
The number of spacers (int or undef).
Sets/gets the Direct Repeat sequence.
The direct repeat sequence (str, optional).
The direct repeat sequence (str or undef).
Gets/sets the score.
The score (float, optional).
The score (float or undef).
Adds information for an spacer.
Where the spacer starts. This is a coordinate on the whole genome (or defined global sequence), NOT with respect to the CRISPR.
Where the spacer ends. This is a coordinate on the whole genome (or defined global sequence). NOT with respect to the CRISPR.
Optional parameter to set the raw sequence of the spacer. If not provided, it is calculated based on the coordinates. If no global sequence is set, it remains undefined.
Gets the spacers as an arrayref or hashrefs with keys from, to and raw_seq.
from
to
raw_seq
Gets the repeats as an arrayref of hashrefs with keys from and to. The actual sequence of the repeats can be retrieved using dr. There is no way to directly set the coordinates of the repeats, instead, you must set the coordinates of the spacers.
Methods intended to be used only within the scope of Bio::Polloc::*
8 POD Errors
The following errors were encountered while parsing the POD:
Expected '=item *'
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.