code: def _get_biallelic_variant(self, variant, info, _check_alleles=True):
          
          info = info.iloc[0, :]
          assert not info.multiallelic
  
          # Seeking and parsing the file
          self._impute2_file.seek(info.seek)
          genotypes = self._parse_impute2_line(self._impute2_file.readline())
  
          variant_alleles = variant._encode_alleles([
              genotypes.reference, genotypes.coded,
          ])
          if (_check_alleles and variant_alleles != variant.alleles):
              # Variant with requested alleles is unavailable.
              logging.variant_not_found(variant)
              return []
  
          return [genotypes]
docs: Creates a bi-allelic variant.