Interval.parse in v0.2


#1

I’m porting some code and was wondering if Interval.parse had an equivalent in v0.2? https://github.com/hail-is/hail/blob/0.1/python/hail/representation/interval.py#L55

It looks like the Scala function is still there but not exposed to python? Should I manually parse this?

For reference, porting this: https://github.com/macarthur-lab/hail-elasticsearch-pipelines/blob/master/hail_scripts/v01/utils/vds_utils.py#L94


#2

Intervals in 0.1 were a special type for genomic intervals. Now intervals are generic, but interval<locus<GR>> functions much the same. there is a hl.parse_locus_interval function for this!


#3

Thanks Tim! I searched for ‘parse*’ but there were so many I didn’t go too far, glad I checked in before re-parsing.