Representation and manipulation of genomic intervals