Our findings indicated a positive association between ANOS1 expression and infiltration of 20 immune cell types, as well as a negative correlation with two immune cell types in advanced GC. Here, ANOS1 is linked to gastric cancer.