I have to phase (using shapeit software) 29 chromosomes, so it would be great if a could send a job that call another, the names of the files are the same, only change the chromosome number. Example phase.sh
#!/bin/bash
shapeit \
-P chr_1.ped chr_1.map \
--duohmm \
--rho 0.01 \
-O chr_1.phased
I would need something like another job calling it
#!/bin/bash
for chr 1...29
sbatch --phase.sh
done
Thank you very much