def saveSeq(self, seq, nsID= -1, offset=0, nlmsaID=None):
        'save mapping of seq to specified (nlmsaID,ns,offset)'
        if nsID is not 0: # let the union figure it out
            self.nlmsa.currentUnion.__iadd__(seq)
            return # the union added it for us, no need to do anything
        if isinstance(seq, types.StringType):
            id = seq # treat this as fully qualified identifier
        else: # get the identfier from the seq / database
            id = self.getSeqID(seq)
        if nlmsaID is None: # allocate a new unique id
            nlmsaID = self.nlmsa.nextID()
        self.seqIDdict[id] = nlmsaID, nsID, offset
        self.IDdict[str(nlmsaID)] = id, nsID
dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py/NLMSASeqDict.saveSeq/operator `<` -> `is not`