The overexpression of Shh, Ptch1 and Gli1 was significantly associated with a low histological grade and a deeper invasion depth of GC (P<0.05). Here, GLI1 is linked to gastric cancer.