Class Sequence.Assignment

java.lang.Object
edu.duke.cs.osprey.confspace.Sequence.Assignment
Enclosing class:
Sequence

public class Sequence.Assignment extends Object
  • Field Details

  • Method Details

    • getResNum

      public String getResNum()
      Get the residue number to which this assignment refers
    • getResType

      public SeqSpace.ResType getResType()
      Get the residue type of this assignment, or null if none
    • setResType

      public void setResType(String resType)
      Set the residue type of this assignment.
    • getWildType

      public SeqSpace.ResType 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.