Esempio n. 1
0
    def variant_list(self):
        """
        Gets the list of variants. The (i, j) entry of the matrix encodes the Pearson correlation between the ith and jth variants.

        :return: List of variants.
        :rtype: list of Variant
        """
        jvars = self._jldm.variants()
        return list(map(lambda jrep: Variant._from_java(jrep), jvars))
Esempio n. 2
0
    def variant_list(self):
        """
        Gets the list of variants. The (i, j) entry of the matrix encodes the Pearson correlation between the ith and jth variants.

        :return: List of variants.
        :rtype: list of Variant
        """
        jvars = self._jldm.variants()
        return list(map(lambda jrep: Variant._from_java(jrep), jvars))
Esempio n. 3
0
 def _convert_to_py(self, annotation):
     if annotation:
         return Variant._from_java(annotation)
     else:
         return annotation
Esempio n. 4
0
File: expr.py Progetto: Fedja/hail
 def _convert_to_py(self, annotation):
     if annotation:
         return Variant._from_java(annotation)
     else:
         return annotation