Representation and manipulation of genomic tuples