Get fasta sequence for a given interval

Hi Hail team,

I would like to know if hail has any method to extract reference nucleotides given an Interval obtained from import_bed.

Best,
Pedro

yes, see here:

https://hail.is/docs/0.2/hail.expr.LocusExpression.html#hail.expr.LocusExpression.sequence_context

We should expose a function that lets you look up a contig, start, end. You can make this using the above function, it’ll just look a bit hacky.

Perfect!! Thank you @tpoterba