gene_segments function

Gene segments table