Genetics plays a role in autism. But doctors identify certain diseases in only 10 to 20 percent of patients. These factors include specific genetic disorders associated with ASD, such as fragile X syndrome, as well as rare mutations in the genetic code.