Combine locus and alleles into a row annotation

Hi all,

I am trying to combine 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?

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