Package edu.duke.cs.osprey.confspace
Class Sequence.Assignment
java.lang.Object
edu.duke.cs.osprey.confspace.Sequence.Assignment
- Enclosing class:
- Sequence
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the residue number to which this assignment refersGet the residue type of this assignment, or null if noneGet the residue type of the wild-type at the residue of this assignment.booleanReturn true if this residue is assignedbooleanReturn true if this residue is assigned and differs from the wild-type.booleanReturn true if this residue is assigned and matches the wild-type.voidsetResType(String resType) Set the residue type of this assignment.voidSet the residue type of this assignment to the wild-type.
-
Field Details
-
pos
-
-
Method Details
-
getResNum
Get the residue number to which this assignment refers -
getResType
Get the residue type of this assignment, or null if none -
setResType
Set the residue type of this assignment. -
getWildType
Get the residue type of the wild-type at the residue of this assignment. -
setWildType
public void setWildType()Set the residue type of this assignment to the wild-type. -
isAssigned
public boolean isAssigned()Return true if this residue is assigned -
isWildType
public boolean isWildType()Return true if this residue is assigned and matches the wild-type. -
isMutated
public boolean isMutated()Return true if this residue is assigned and differs from the wild-type.
-