Class DisulphideBridge


  • public class DisulphideBridge
    extends java.lang.Object
    Class representing disulphide bridge.
    • Constructor Summary

      Constructors 
      Constructor Description
      DisulphideBridge​(AminoAcid firstInteractee, AminoAcid secondInteractee, double distanceBtwCAs, double distanceBtwCBs, double distanceBtwSS, double absDihAngleSS, double absDihAngle1, double absDihAngle2)
      Instantiates new disulphide bridge.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      double getAbsDihAngle1()
      Returns dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of first cysteine.
      double getAbsDihAngle2()
      Returns dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of second cysteine.
      double getAbsDihAngleSS()
      Returns dihedral angle between planes formed by CB1, S1, S2 and S1, S2, CB2 atoms (1 - first cysteine, 2 - second cysteine).
      double getDistanceBtwCAs()
      Returns distance between CA atoms of participating cysteines.
      double getDistanceBtwCBs()
      Returns distance between CB atoms of participating cysteines.
      double getDistanceBtwSS()
      Returns distance between sulphur atoms of participating cysteines.
      AminoAcid getFirstInteractee()
      Returns first cysteine.
      AminoAcid getSecondInteractee()
      Returns second cysteine.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DisulphideBridge

        public DisulphideBridge​(AminoAcid firstInteractee,
                                AminoAcid secondInteractee,
                                double distanceBtwCAs,
                                double distanceBtwCBs,
                                double distanceBtwSS,
                                double absDihAngleSS,
                                double absDihAngle1,
                                double absDihAngle2)
        Instantiates new disulphide bridge. For parameters' full description see here.
        Parameters:
        firstInteractee - First cysteine.
        secondInteractee - Second cysteine.
        distanceBtwCAs - Distance between CA atoms of participating cysteines.
        distanceBtwCBs - Distance between CB atoms of participating cysteines.
        distanceBtwSS - Distance between sulphur atoms of participating cysteines.
        absDihAngleSS - Dihedral angle between planes formed by CB1, S1, S2 and S1, S2, CB2 atoms (1 - first cysteine, 2 - second cysteine).
        absDihAngle1 - Dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of first cysteine.
        absDihAngle2 - Dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of second cysteine.
    • Method Detail

      • getFirstInteractee

        public AminoAcid getFirstInteractee()
        Returns first cysteine.
        Returns:
        First cysteine.
      • getSecondInteractee

        public AminoAcid getSecondInteractee()
        Returns second cysteine.
        Returns:
        Second cysteine
      • getDistanceBtwCAs

        public double getDistanceBtwCAs()
        Returns distance between CA atoms of participating cysteines.
        Returns:
        Distance between CA atoms of participating cysteines.
      • getDistanceBtwCBs

        public double getDistanceBtwCBs()
        Returns distance between CB atoms of participating cysteines.
        Returns:
        Distance between CB atoms of participating cysteines.
      • getDistanceBtwSS

        public double getDistanceBtwSS()
        Returns distance between sulphur atoms of participating cysteines.
        Returns:
        Distance between sulphur atoms of participating cysteines.
      • getAbsDihAngleSS

        public double getAbsDihAngleSS()
        Returns dihedral angle between planes formed by CB1, S1, S2 and S1, S2, CB2 atoms (1 - first cysteine, 2 - second cysteine).
        Returns:
        Dihedral angle between planes formed by CB1, S1, S2 and S1, S2, CB2 atoms (1 - first cysteine, 2 - second cysteine).
      • getAbsDihAngle1

        public double getAbsDihAngle1()
        Returns dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of first cysteine.
        Returns:
        Dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of first cysteine.
      • getAbsDihAngle2

        public double getAbsDihAngle2()
        Returns dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of second cysteine.
        Returns:
        Dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of second cysteine.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object