meshi.applications.corpus
Class CorrectRottenRamachandrans
java.lang.Object
meshi.applications.corpus.CorrectRottenRamachandrans
public class CorrectRottenRamachandrans
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CUTOFF_NON_GLY
private final double CUTOFF_NON_GLY
- See Also:
- Constant Field Values
CUTOFF_GLY
private final double CUTOFF_GLY
- See Also:
- Constant Field Values
MAX_LIB_SIZE_FOR_EACH_ROTTEN
private final int MAX_LIB_SIZE_FOR_EACH_ROTTEN
- See Also:
- Constant Field Values
DIVERSITY_RMS_IN_LIB
private final double DIVERSITY_RMS_IN_LIB
- See Also:
- Constant Field Values
RMS_CUTOFF_IN_OVERLAP
private final double RMS_CUTOFF_IN_OVERLAP
- See Also:
- Constant Field Values
FACTOR_LARGE_CONTIG_RMS_CUTOFF_IN_OVERLAP
private final double FACTOR_LARGE_CONTIG_RMS_CUTOFF_IN_OVERLAP
- See Also:
- Constant Field Values
corpus
private Corpus corpus
creators
private EnergyCreator[] creators
dunbrack
private DunbrackLib dunbrack
commands
private CommandList commands
CorrectRottenRamachandrans
public CorrectRottenRamachandrans(CommandList commands,
Corpus corpus)
CorrectRottenRamachandrans
public CorrectRottenRamachandrans(CommandList commands,
Corpus corpus,
DunbrackLib lib)
- The Dunbrack lib is needed for Rot1 only.
detectRottenResidues
public int[] detectRottenResidues(Protein prot)
- This method returns an array with the residue numbers of the rotten-ramach residues.
NO changes to the coordinates are made.
detectAndCorrectRottenResidues
public int[] detectAndCorrectRottenResidues(Protein prot)
- This correct the rotten-ramach residues as mentioned on top.
It returns an array with the residue numbers of the rotten-ramach residues.
correctFrag
private void correctFrag(Protein prot,
java.util.Vector<java.lang.Integer> contig)
calcRMS
private double calcRMS(Protein prot,
int start,
int end,
double[][] refCoors)
saveCaCbCoordinates
private double[][] saveCaCbCoordinates(Protein prot,
int resStart,
int resEnd)