Rare disease gives insight into autism, epilepsy