コード例 #1
0
ファイル: ParseTrans.py プロジェクト: zhangtong516/GAP
 def genomeCoor2geneCoor(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 gene-based coordinates
     Return [ [chrID, chrStart, chrEnd, geneID, geneStart, geneEnd], ... ]
     """
     GeneBin = self.getGeneBin()
     return CoorFunc.genomeCoor2geneCoor(GeneBin, self, chrID, start, end, strand)
コード例 #2
0
 def genomeCoor2geneCoor(self, Chr, Start, End, Strand):
     GeneBin = self.getGeneBin()
     return CoorFunc.genomeCoor2geneCoor(GeneBin, self, Chr, Start, End,
                                         Strand)
コード例 #3
0
ファイル: ParseTrans.py プロジェクト: Tsinghua-gongjing/test
 def genomeCoor2geneCoor(self, Chr, Start, End, Strand):
     GeneBin = self.getGeneBin()
     return CoorFunc.genomeCoor2geneCoor(GeneBin, self, Chr, Start, End, Strand)