get_chromosome_lengths function
docs for get_chromosome_lengths