def update(self, snp):
        '''update with snp.'''

        exons = list(self.mExons.get(snp.chromosome,
                                     snp.pos,
                                     snp.pos + 1))

        if exons:
            for start, end, gff in exons:
                self.mOTranscripts = "%i" % gff["ntranscripts"]
                self.mOUsed = gff["nused"] % "%i"
                self.mOPos = "%s" % gff["pos"]
        else:
            self.mOTranscripts = "na"
            self.mOUsed = "na"
            self.mOPos = "na"
dataset/ETHPy150Open CGATOxford/cgat/scripts/snp2table.py/BaseAnnotatorExons.update/swapped operands of `%`