Combine locus and alleles into a row annotation

Hi all,

I am trying to combine mt.locus and mt.alleles into a single row annotation, like this "chr1:12345-[“A”, “T”]. I did not get much success playing with the data types as it is quite different from Python, can I get some advice on how to do it?

How about this function?

https://hail.is/docs/0.2/functions/genetics.html#hail.expr.functions.variant_str

If you want literally the string you wrote, I think hl.str(mt.locus) + '-' + hl.str(mt.alleles) will give you chr1:12345-["A", "T"]