A gradient of Shh establishes mutually repressing somitic cell fates induced by Nkx3.2 and Pax3.