1 #------------------------------------------------------------------
3 # BioPerl module Bio::Restriction::Enzyme::MultiSite
5 # Please direct questions and support issues to <bioperl-l@bioperl.org>
7 # Cared for by Heikki Lehvaslaiho, heikki-at-bioperl-dot-org
9 # You may distribute this module under the same terms as perl itself
10 #------------------------------------------------------------------
16 Bio::Restriction::Enzyme::MultiSite - A single restriction endonuclease
20 # set up a single restriction enzyme. This contains lots of
21 # information about the enzyme that is generally parsed from a
22 # rebase file and can then be read back
24 use Bio::Restriction::Enzyme;
29 This module is used for restriction enzymes that recogonize more than
30 one site. There are some enzymes that recognize sites that cannot be
31 represented by the ambiguous genetic code. For example, M.PhiBssHII
32 recognizes the sites: ACGCGT,CCGCGG,RGCGCY,RCCGGY, and GCGCGC
34 Each site gets its own object that Bio::Restriction::Enzyme will
35 refer to. Each also correlates with the other sites using the
36 method L<others|others> which stores references to other objects
37 with alternative sites.
39 In this schema each object within an EnzymeCollection can be checked
40 for matching a sequence.
46 User feedback is an integral part of the evolution of this and other
47 Bioperl modules. Send your comments and suggestions preferably to one
48 of the Bioperl mailing lists. Your participation is much appreciated.
50 bioperl-l@bioperl.org - General discussion
51 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
55 Please direct usage questions or support issues to the mailing list:
57 I<bioperl-l@bioperl.org>
59 rather than to the module maintainer directly. Many experienced and
60 reponsive experts will be able look at the problem and quickly
61 address it. Please include a thorough description of the problem
62 with code and data examples if at all possible.
66 Report bugs to the Bioperl bug tracking system to help us keep track
67 the bugs and their resolution. Bug reports can be submitted via the
70 https://github.com/bioperl/bioperl-live/issues
74 Heikki Lehvaslaiho, heikki-at-bioperl-dot-org
78 Rob Edwards, redwards@utmem.edu
82 Copyright (c) 2003 Rob Edwards.
84 Some of this work is Copyright (c) 1997-2002 Steve A. Chervitz. All
85 Rights Reserved. This module is free software; you can redistribute
86 it and/or modify it under the same terms as Perl itself.
90 L<Bio::Restriction::Enzyme>, L<Bio::Restriction::Analysis>,
91 L<Bio::Restriction::EnzymeCollection>
95 Methods beginning with a leading underscore are considered private and
96 are intended for internal use by this module. They are not considered
97 part of the public interface and are described here for documentation
102 package Bio
::Restriction
::Enzyme
::MultiSite
;
108 use base
qw(Bio::Restriction::Enzyme);
114 Function : Initializes the enzyme object
115 Returns : The Restriction::Enzyme::MultiSite object
121 my($class, @args) = @_;
122 my $self = $class->SUPER::new
(@args);
125 $self->_rearrange([qw(
129 $others && $self->others($others);
136 Usage : $re->others(@others);
137 Function : Gets/Sets the a list of other sites that this enzyme recoginizes
138 Arguments : An array containing the other Bio::Restriction::Enzyme::MultiSite
140 Returns : An array containing the other Bio::Restriction::Enzyme::MultiSite
147 push @
{$self->{_others
}}, @_ if @_;
148 return unless $self->{_others
};
149 return @
{$self->{'_others'}};
156 Usage : $re->purge_references();
157 Function : Purges the set of references for this enzyme
165 $self->{_others
} = [];