Class SimpleRestrictionSite

All Implemented Interfaces:
Serializable, Annotatable, RestrictionSite, Feature, FeatureHolder, RealizingFeatureHolder, StrandedFeature, Changeable

SimpleRestrictionSite represents the recognition site of a restriction enzyme.
Since:
1.3
Author:
Keith James
See Also:
  • Constructor Details

  • Method Details

    • getPosition

      public int getPosition()
      Description copied from interface: RestrictionSite
      getPosition returns the common, forward strand cut site. Note that some enzymes cut in more than one position. Such supplementary sites may be calculated by retrieving the RestrictionEnzyme instance and using its methods to calculate the position.
      Specified by:
      getPosition in interface RestrictionSite
      Returns:
      an int indicating the base immediately before the cleavage site on the forward strand.
    • getEnzyme

      Description copied from interface: RestrictionSite
      getEnzyme returns the enzyme which cuts at this site. A sequence which is the target for several different enzymes is expected to have a corresponding RestrictionSite feature for each.
      Specified by:
      getEnzyme in interface RestrictionSite
      Returns:
      a RestrictionEnzyme.
    • toString

      public String toString()
      Overrides:
      toString in class SimpleStrandedFeature