def maskMatch(self, mask):
    """
      Determine whether this sequence matches the given mask.

      :param mask: string to match against. Ns in the mask are considered to
                   match anything in the sequence -- all other chars must
                   match exactly.
      :return: True if the mask matches at all places, otherwise false
    """
    if len(mask) > len(self.sequenceData):
      return False
    lim = len(mask)
    for i in range(0, lim):
      if mask[i] == "N" or mask[i] == "n":
        continue
      if mask[i] != self.sequenceData[i]:
        return False
    return True