Copy reference genome script adapted to pools