Apart from the absence of certain genes for specific proteins, the absence of which can lead to certain illnesses, it is relatively rare for there to be a 1:1 correspondence between a gene and a an individual trait. The dependencies are usually multifactorial; environmental influences also play a role. For example, the increase in autism and even food intolerances can be attributed more to a massive disruption of the immune system caused by completely excessive vaccination regimes in childhood than to genetic causes.
According to the Human Genome Report, there are 30,000 genes in humans. The report provides the functionality of every gene, and accordingly, the disease can be found. CRISPR CAS 9 also works for the modifications in the genes and the fast genome sequencing analysis like in the Corona period could have helped even find the traits very easily by AI.