script for 6 and 10 individaals analyses