To optimize computation time, the Script 2 is made to launch a job array on the cluster. To do that, we cut the genome in blocks with a fixed SNPs number, and we launch CMS on each blocks in parallel.
The number of blocks should depend on the number of phenotypes and the number of individuals.
For example, with 6k individuals and 150 phenotypes, blocks of 100 SNPs are adapted.