1 #------------------------------------------------------------------
3 # BioPerl module Bio::Restriction::Enzyme::MultiCut
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::MultiCut - 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 defines a restriction endonuclease class where one object
30 represents one of the distinct recognition sites for that enzyme. The
31 method L<others|others> stores references to other objects with
34 In this schema each object within an EnzymeCollection can be checked
35 for matching a sequence.
38 REBASE report notation C<Bsp24I (8/13)GACNNNNNNTGG(12/7)> means:
42 5' ^NNNNNNNNGACNNNNNNTGGNNNNNNNNNNNN^ 3'
43 3' ^NNNNNNNNNNNNNCTGNNNNNNACCNNNNNNN^ 5'
52 User feedback is an integral part of the evolution of this and other
53 Bioperl modules. Send your comments and suggestions preferably to one
54 of the Bioperl mailing lists. Your participation is much appreciated.
56 bioperl-l@bioperl.org - General discussion
57 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
61 Please direct usage questions or support issues to the mailing list:
63 I<bioperl-l@bioperl.org>
65 rather than to the module maintainer directly. Many experienced and
66 reponsive experts will be able look at the problem and quickly
67 address it. Please include a thorough description of the problem
68 with code and data examples if at all possible.
72 Report bugs to the Bioperl bug tracking system to help us keep track
73 the bugs and their resolution. Bug reports can be submitted via the
76 https://github.com/bioperl/bioperl-live/issues
80 Heikki Lehvaslaiho, heikki-at-bioperl-dot-org
84 Rob Edwards, redwards@utmem.edu
88 Copyright (c) 2003 Rob Edwards.
90 Some of this work is Copyright (c) 1997-2002 Steve A. Chervitz. All
91 Rights Reserved. This module is free software; you can redistribute
92 it and/or modify it under the same terms as Perl itself.
96 L<Bio::Restriction::Enzyme>, L<Bio::Restriction::Analysis>,
97 L<Bio::Restriction::EnzymeCollection>
101 Methods beginning with a leading underscore are considered private and
102 are intended for internal use by this module. They are not considered
103 part of the public interface and are described here for documentation
108 package Bio
::Restriction
::Enzyme
::MultiCut
;
114 use base
qw(Bio::Restriction::Enzyme);
121 Function : Initializes the enzyme object
122 Returns : The Restriction::Enzyme::MultiCut object
128 my($class, @args) = @_;
129 my $self = $class->SUPER::new
(@args);
132 $self->_rearrange([qw(
136 $others && $self->others($others);
143 Usage : $re->others(@enz_obj_array);
144 Function : Stores auxiliary Enzyme::MultiCut objects for multicutting enzymes
145 Arguments : optional array of Enzyme::MultiCut objects
146 Returns : array of Enzyme objects
149 Added for compatibility to REBASE
155 push @
{$self->{_others
}}, @_ if @_;
156 return unless $self->{_others
};
157 return @
{$self->{'_others'}};
164 Usage : $re->purge_references();
165 Function : Purges the set of references for this enzyme
173 $self->{_others
} = [];