Class MismatchedBasePairParameters
java.lang.Object
org.biojava.nbio.structure.basepairs.BasePairParameters
org.biojava.nbio.structure.basepairs.MismatchedBasePairParameters
- All Implemented Interfaces:
Serializable
This class allows for finding inter-strand base pairs that are not necessarily canonical Watson-Crick pairs.
The implementation of findPair is different than that of the base class. This class does not consider intra-strand
base pairing and for that, the TertiaryBasePairParameters class should be used.
- Since:
- 5.0.0
- Author:
- Luke Czapla
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
static final double
static final double
static final double
Fields inherited from class org.biojava.nbio.structure.basepairs.BasePairParameters
BASE_LIST_DNA, BASE_LIST_RNA, BASE_MAP, canonical, nonredundant, pairingNames, pairingParameters, pairParameters, pairSequence, referenceFrames, RING_MAP, STANDARD_BASES, stepParameters, structure, useRNA
-
Constructor Summary
ConstructorDescriptionMismatchedBasePairParameters
(Structure structure, boolean RNA, boolean removeDups, boolean canonical) This constructor is used to create the TertiaryBasePairParameters object. -
Method Summary
Modifier and TypeMethodDescriptionThis is an implementation for finding non-canonical base pairs when there may be missing or overhanging bases.double
This method returns the maximum propeller twist between bases used as criteria for the characterization of two bases as being paired.double
This method returns the maximum shear between bases used as criteria for the characterization of two bases as being paired.double
This method returns the maximum stagger between bases used as criteria for the characterization of two bases as being paired.double
This method returns the maximum stretch between bases used as criteria for the characterization of two bases as being paired.void
setMaxPropeller
(double maxPropeller) This method sets the maximum propeller allowed for a base pair, prior to analyze() callvoid
setMaxShear
(double maxShear) This method sets the maximum shear allowed for a base pair, prior to analyze() callvoid
setMaxStagger
(double maxStagger) This method sets the maximum stagger allowed for a base pair, prior to analyze() callvoid
setMaxStretch
(double maxStretch) This method sets the maximum stretch allowed for a base pair, prior to analyze() call.Methods inherited from class org.biojava.nbio.structure.basepairs.BasePairParameters
analyze, basePairReferenceFrame, calculateTp, complementBase, getBuckle, getLength, getNucleicChains, getOpening, getPairingNames, getPairingParameters, getPairSequence, getPropeller, getReferenceFrames, getRise, getRoll, getShear, getShift, getSlide, getStagger, getStepParameters, getStretch, getTilt, getTwist, match, toString
-
Field Details
-
DEFAULT_MAX_STAGGER
- See Also:
-
DEFAULT_MAX_PROPELLER
- See Also:
-
DEFAULT_MAX_SHEAR
- See Also:
-
DEFAULT_MAX_STRETCH
- See Also:
-
-
Constructor Details
-
MismatchedBasePairParameters
public MismatchedBasePairParameters(Structure structure, boolean RNA, boolean removeDups, boolean canonical) This constructor is used to create the TertiaryBasePairParameters object. The parent constructors are valid as well, but for this class, it makes the most sense to specify the exact parameters for the analysis.- Parameters:
structure
- The Structure to analyzeRNA
- Whether to analyze RNA (if false, it will analyze DNA)removeDups
- Whether to remove duplicate sequences (useful for RCSB data with redundant units).canonical
- Whether to only consider canonical Watson-Crick base pairs. If false, any pairing will be identified as long it falls below the maximum values of stagger, shear, and stretch.
-
-
Method Details
-
findPairs
This is an implementation for finding non-canonical base pairs when there may be missing or overhanging bases.- Overrides:
findPairs
in classBasePairParameters
- Parameters:
chains
- The list of chains already found to be nucleic acids.- Returns:
- The list of the atom groups (residues) that are pairs, as a Pair of nucleic acid Groups.
-
getMaxStagger
This method returns the maximum stagger between bases used as criteria for the characterization of two bases as being paired.- Returns:
- the maximum propeller ("propeller-twist", in degrees) allowed.
-
setMaxStagger
This method sets the maximum stagger allowed for a base pair, prior to analyze() call- Parameters:
maxStagger
- The maximum propeller (in Å) allowed to consider two bases paired
-
getMaxShear
This method returns the maximum shear between bases used as criteria for the characterization of two bases as being paired.- Returns:
- the maximum shear (in Å) allowed.
-
setMaxShear
This method sets the maximum shear allowed for a base pair, prior to analyze() call- Parameters:
maxShear
- The maximum shear (in Å) allowed to consider two bases paired
-
getMaxStretch
This method returns the maximum stretch between bases used as criteria for the characterization of two bases as being paired.- Returns:
- the maximum stretch (in Å) allowed.
-
setMaxStretch
This method sets the maximum stretch allowed for a base pair, prior to analyze() call.- Parameters:
maxStretch
- The maximum stretch (in Å) allowed to consider two bases paired
-
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
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
-