The hub genes identified here constitute a whole blood gene signature shared by anaphylaxis and STEMI, and based on the logistic regression model, DUSP1 and CLEC4D are identified as blood diagnostic markers with high diagnostic efficacy, which hold a promise for diagnostic assessment of anaphylaxis complicated STEMI in clinical practice. The gene discussed is DUSP1; the disease is anaphylaxis.