def get_variant_dict(variant_line, header_line):
    # logger.debug("Building variant dict from {0}".format(variant_line))
    
    return dict(zip(header_line, variant_line.rstrip().split('\t')))
Query the kd-tree for nearest neighbors
dataset/ETHPy150Open moonso/genmod/genmod/vcf_tools/parse_variant.py/get_variant_dict--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/spatial/kdtree.py/KDTree.query