def geneCoor2transCoor(self, geneID, start, end): """ geneID -- Gene id start -- Gene-based start position end -- Gene-based end position Convert gene-based coordinates to transcript-based coordinates Return [chrID, chrStart, chrEnd, transID, transStart, transEnd], ... ] """ TransBin = self.getTransBin() return CoorFunc.geneCoor2transCoor(TransBin, self, geneID, start, end)
def geneCoor2transCoor(self, GeneID, Start, End): TransBin = self.getTransBin() return CoorFunc.geneCoor2transCoor(TransBin, self, GeneID, Start, End)