Partition handling functions for raxml and paml