def genomeCoor2transCoor(self, chrID, start, end, strand): """ chrID -- Chromosome id start -- Chromosome-based start position end -- Chromosome-based end position strand -- Chromosome strand Convert genome-based coordinates to transcript-based coordinates Return [ [chrID, chrStart, chrEnd, transID, transStart, transEnd], ... ] """ TransBin = self.getTransBin() return CoorFunc.genomeCoor2transCoor(TransBin, self, chrID, start, end, strand)
def genomeCoor2transCoor(self, Chr, Start, End, Strand): TransBin = self.getTransBin() return CoorFunc.genomeCoor2transCoor(TransBin, self, Chr, Start, End, Strand)