We identified the core genes in four immune response pathways in W. magnifica, including the immune deficiency (Imd) pathway, responsible for Gram-negative bacteria infection; the Toll pathway, involved in fungus and Gram-positive bacterium infection; the c-Jun N-terminal kinase (JNK) pathway; and the Janus Kinase/Signal Transducer and Activator of Transcription (JAK/STAT) pathway. The gene discussed is SOAT1; the disease is Immunodeficiency.