public class Turner06mm extends PatternComputation implements NamedMethod
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
defaultFileName
String defaultFileName : default name for the xml file containing the thermodynamic parameters for single mismatch
|
collector, fileName
Constructor and Description |
---|
Turner06mm() |
Modifier and Type | Method and Description |
---|---|
ThermoResult |
computeThermodynamics(NucleotidSequences sequences,
int pos1,
int pos2,
ThermoResult result) |
java.lang.String |
getName()
Gets the full name of the method.
|
void |
initialiseFileName(java.lang.String methodName)
If a file name is entered by the user, the file name of the model becomes the file name entered by the user,
otherwise the default file name of the model is used.
|
boolean |
isApplicable(Environment environment,
int pos1,
int pos2) |
boolean |
isMissingParameters(NucleotidSequences sequences,
int pos1,
int pos2)
Check if one thermodynamic parameter is missing to compute the enthalpy and entropy of the pattern
at the positions pos1 and pos2.
|
getCollector, getData, getDataFileName, loadData, loadFile
public static java.lang.String defaultFileName
public boolean isApplicable(Environment environment, int pos1, int pos2)
isApplicable
in interface PatternComputationMethod
isApplicable
in class PatternComputation
public ThermoResult computeThermodynamics(NucleotidSequences sequences, int pos1, int pos2, ThermoResult result)
computeThermodynamics
in interface PatternComputationMethod
computeThermodynamics
in class PatternComputation
sequences
- which contains the sequences entered by the user.result
- which contains the computed enthalpy, entropy and melting temperature.public boolean isMissingParameters(NucleotidSequences sequences, int pos1, int pos2)
PatternComputationMethod
isMissingParameters
in interface PatternComputationMethod
isMissingParameters
in class PatternComputation
sequences
- which contains the sequences entered by the user.public void initialiseFileName(java.lang.String methodName)
PatternComputationMethod
initialiseFileName
in interface PatternComputationMethod
initialiseFileName
in class PatternComputation
methodName
- : method or model name entered by the user.public java.lang.String getName()
getName
in interface NamedMethod