def convertCoordinates(self):

        block_sizes = self.mBlockSize
        query_starts = self.mQueryBlockStarts
        sbjct_starts = self.mSbjctBlockStarts

        if self.mSbjctStrand == "-":
            self.mSbjctFrom, self.mSbjctTo = self.mSbjctLength - \
                self.mSbjctTo, self.mSbjctLength - self.mSbjctFrom
            query_starts = [
                self.mQueryLength - x - y for x, y in zip(query_starts, block_sizes)]
            sbjct_starts = [
                self.mSbjctLength - x - y for x, y in zip(sbjct_starts, block_sizes)]
            query_starts.reverse()
            sbjct_starts.reverse()

        self.mQueryStarts = map(lambda x: x - self.mQueryFrom, query_starts)
        self.mSbjctStarts = map(lambda x: x - self.mSbjctFrom, sbjct_starts)
convert coordinates.
dataset/ETHPy150Open CGATOxford/cgat/obsolete/BlatTest.py/Match.convertCoordinates