Class DisulphideBridge
- java.lang.Object
-
- io.github.WeronikaJargielo.protein_interaction_finder.DisulphideBridge
-
public class DisulphideBridge extends java.lang.ObjectClass 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 booleanequals(java.lang.Object o)doublegetAbsDihAngle1()Returns dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of first cysteine.doublegetAbsDihAngle2()Returns dihedral angle between planes formed by N, CA, CB and CA, CB, S atoms of second cysteine.doublegetAbsDihAngleSS()Returns dihedral angle between planes formed by CB1, S1, S2 and S1, S2, CB2 atoms (1 - first cysteine, 2 - second cysteine).doublegetDistanceBtwCAs()Returns distance between CA atoms of participating cysteines.doublegetDistanceBtwCBs()Returns distance between CB atoms of participating cysteines.doublegetDistanceBtwSS()Returns distance between sulphur atoms of participating cysteines.AminoAcidgetFirstInteractee()Returns first cysteine.AminoAcidgetSecondInteractee()Returns second cysteine.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-