public class Serra05DoubleDanglingEnd extends SecondDanglingEndMethod 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 second dangling end
|
collector, fileName
Constructor and Description |
---|
Serra05DoubleDanglingEnd() |
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 |
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.
|
correctPositions, isApplicable, loadData
getCollector, getData, getDataFileName, loadFile
public static java.lang.String defaultFileName
public ThermoResult computeThermodynamics(NucleotidSequences sequences, int pos1, int pos2, ThermoResult result)
computeThermodynamics
in interface PatternComputationMethod
computeThermodynamics
in class SecondDanglingEndMethod
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 SecondDanglingEndMethod
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