|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.lib.ScorePhiPsi
public class ScorePhiPsi
A scoring function that uses the 2ary prediction pseudopotential and phi/psi angles of the fold. The table is scaled so that a sampling of all calls to score() over a large set of sequences and folds will average 0.0 with a standard deviation of 1.0.
Version 1.4, 6/7/99 - moved to org.strbio.mol.lib Version 1.3, 8/3/98 - ref now an integer. Version 1.2, 7/9/98 - added separate, sigma Version 1.1, 4/3/98 - implements ScoreSetup, keeps track of potential object. Version 1.0, 4/1/98 - original version
Field Summary | |
---|---|
java.lang.String |
defaultFile
the default potential was parameterized using the 681 proteins from Chandonia & Karplus, 1999, with separate GPN residues. |
Constructor Summary | |
---|---|
ScorePhiPsi()
initialize scoring system with default BackbonePotential. |
|
ScorePhiPsi(BackbonePotential bb)
initialize scoring system from a pre-initialized BackbonePotential |
|
ScorePhiPsi(java.lang.String filename,
int ref,
boolean separate,
double sigma)
load potential in from a file. |
Method Summary | |
---|---|
void |
describe(Printf outfile)
This should print info about the object to an output file. |
void |
finished(Polymer p)
This function is called when you are done using the function on a polymer. |
BackbonePotential |
getPotential()
Return the current potential. |
double |
score(Monomer a,
Monomer b)
This function should return a score for aligning two monomers of a polymer, preferably with low = good, high = bad. |
double |
score(ProfResPSI a,
ProfResPSI b)
|
void |
setPotential(BackbonePotential bb)
Use a pre-initialized BackbonePotential. |
void |
setup(Polymer p)
This function is to set up the scoring function for use on a polymer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final java.lang.String defaultFile
Constructor Detail |
---|
public ScorePhiPsi(java.lang.String filename, int ref, boolean separate, double sigma)
filename
- file nameref
- which reference state to usepublic ScorePhiPsi(BackbonePotential bb)
public ScorePhiPsi()
Method Detail |
---|
public double score(ProfResPSI a, ProfResPSI b)
public double score(Monomer a, Monomer b)
ScoreFunction
score
in interface ScoreFunction
public void setPotential(BackbonePotential bb)
public BackbonePotential getPotential()
public void setup(Polymer p)
ScoreSetup
setup
in interface ScoreSetup
public void finished(Polymer p)
ScoreSetup
finished
in interface ScoreSetup
public void describe(Printf outfile)
Description
describe
in interface Description
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |