示例#1
0
    def end(self):
        """
        Locus object referring to the end of the interval (exclusive).

        :rtype: :class:`.Locus`
        """
        return Locus._from_java(self._jrep.end())
示例#2
0
    def start(self):
        """
        Locus object referring to the start of the interval (inclusive).

        :rtype: :class:`.Locus`
        """
        return Locus._from_java(self._jrep.start())
示例#3
0
 def _convert_to_py(self, annotation):
     if annotation:
         return Locus._from_java(annotation)
     else:
         return annotation
示例#4
0
 def _init_from_java(self, jrep):
     self._jrep = jrep
     self._start = Locus._from_java(self._jrep.start())
示例#5
0
文件: expr.py 项目: Fedja/hail
 def _convert_to_py(self, annotation):
     if annotation:
         return Locus._from_java(annotation)
     else:
         return annotation