Class TertiaryBasePairParameters

java.lang.Object
org.biojava.nbio.structure.basepairs.BasePairParameters
org.biojava.nbio.structure.basepairs.TertiaryBasePairParameters
All Implemented Interfaces:
Serializable

This class also finds the base pairing and base-pair step parameters but has a broader definition of a base pair so that non-canonical-WC base pairs will be detected and reported. This is useful for RNA that has folded into different regions, and for higher-order DNA structures. Intra-strand pairings are considered in this class (but in not the base class or MismatchedBasePairParameters class)
Since:
5.0.0
Author:
Luke Czapla
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • findPairs

      public List<Pair<Group>> findPairs(List<Chain> chains)
      This is an alternative implementation of findPair() that looks for anything that would fit the criteria for a base-pair, useful for the context of tertiary structure of RNA. Intra-strand base pairs are found with this algorithm.
      Overrides:
      findPairs in class BasePairParameters
      Parameters:
      chains - The list of chains already found to be nucleic acids
      Returns:
      A list of the Pair of groups that match the base pair criteria, including intra-strand groups.
    • getMaxStagger

      public double getMaxStagger()
      This method returns the maximum stagger between bases used as criteria for the characterization of two bases as being paired.
      Returns:
      the maximum stagger (in Å) allowed.
    • setMaxStagger

      public void setMaxStagger(double maxStagger)
      This method sets the maximum stagger allowed for a base pair, prior to analyze() call
      Parameters:
      maxStagger - The maximum stagger (in Å) allowed to consider two bases paired
    • getMaxPropeller

      public double getMaxPropeller()
      This method returns the maximum propeller twist between bases used as criteria for the characterization of two bases as being paired.
      Returns:
      the maximum propeller ("propeller-twist", in degrees) allowed.
    • setMaxPropeller

      public void setMaxPropeller(double maxPropeller)
      This method sets the maximum propeller allowed for a base pair, prior to analyze() call
      Parameters:
      maxPropeller - The maximum propeller ("propeller-twist", in degrees) allowed to consider two bases paired