Package ffx.potential.utils
Class GetProteinFeatures
java.lang.Object
ffx.potential.utils.GetProteinFeatures
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionddgunToNPChange
(List<String> ddgun) Use the ddgun output file to get the amino acid changesdouble
getConfidenceScore
(Residue currentRes) Get the alphafold confidence score or b-factor from an X-ray model.getDDGunValues
(List<String> ddgun) Get ddgun values from ddgun filevoid
Get the omega angle of a residuevoid
Get the phi angle of a residuegetPolarityAndAcidityChange
(List<String> npChanges, boolean includePolarity, boolean includeAcidity) Get the polarity and acidity changesvoid
Get the psi angle of a residueGet the secondary structure annotation from the ramachandran angle mapdouble
Get the total surface area for the proteinString[]
saveFeatures
(Residue residue, double surfaceArea, boolean includeAngles, boolean includeStructure) Make a string array of surface area and additional selected features (phi,psi,omega,and structure annotations)
-
Constructor Details
-
GetProteinFeatures
public GetProteinFeatures()
-
-
Method Details
-
saveFeatures
public String[] saveFeatures(Residue residue, double surfaceArea, boolean includeAngles, boolean includeStructure) Make a string array of surface area and additional selected features (phi,psi,omega,and structure annotations)- Parameters:
residue
- ResiduesurfaceArea
- residue surface areaincludeAngles
- select anglesincludeStructure
- select structure annotation- Returns:
- String array of features
-
getPhi
Get the phi angle of a residue- Parameters:
currentRes
- current residue
-
getPsi
Get the psi angle of a residue- Parameters:
currentRes
- current residue
-
getOmega
Get the omega angle of a residue- Parameters:
currentRes
- current residue
-
getSecondaryStructure
Get the secondary structure annotation from the ramachandran angle map- Returns:
- string of secondary structure
-
getTotalSurfaceArea
public double getTotalSurfaceArea()Get the total surface area for the protein- Returns:
- The total surface area.
-
getConfidenceScore
Get the alphafold confidence score or b-factor from an X-ray model.- Parameters:
currentRes
- current residue- Returns:
- confidence/b-factor value
-
ddgunToNPChange
Use the ddgun output file to get the amino acid changes- Parameters:
ddgun
- List of lines from ddGun output file- Returns:
- List of NP Changes
-
getDDGunValues
Get ddgun values from ddgun file- Parameters:
ddgun
- List of lines from ddGun output file- Returns:
- List of ddGun values (raw and abs value)
-
getPolarityAndAcidityChange
public List<String[]> getPolarityAndAcidityChange(List<String> npChanges, boolean includePolarity, boolean includeAcidity) Get the polarity and acidity changes- Parameters:
npChanges
- list of protein changesincludePolarity
- select polarityincludeAcidity
- select acidity- Returns:
- list of polarity and acidity changes
-