def maskMatch(self, mask):
if len(mask) > len(self.sequenceData):<EOL><INDENT>return False<EOL><DEDENT>lim = len(mask)<EOL>for i in range(<NUM_LIT:0>, lim):<EOL><INDENT>if mask[i] == "<STR_LIT:N>" or mask[i] == "<STR_LIT:n>":<EOL><INDENT>continue<EOL><DEDENT>if mask[i] != self.sequenceData[i]:<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
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