compressing, sort and index genomes