SHANK3 and Phelan-McDermid syndrome: One possible genetic culprit for sleep difficulties in ASD is a gene called SHANK3. Patients with an ASD-associated condition called Phelan-McDermid syndrome are often missing the SHANK3 gene.