The invention provides a recombinant polynucleotide comprising a truncated glyceraldehyde-3-phosphate dehydrogenase (gpd) promoter and a modified HBV S protein gene and a transgenic Flammulina velutipes carrying the recombinant polynucleotide. The invention surprisingly found that after administering the transgenic Flammulina velutipes to a subject, the subject can successfully generate an antibody against HBV. Therefore, the transgenic Flammulina velutipes can be used as a vaccine against HBV.本發明提供一重組聚核苷酸,其包含一截短之甘油醛-3-磷酸去氫酶(gpd)啟動子與一經修飾B型肝炎病毒表面(HBV S)蛋白質基因,本發明亦提供一帶有該重組聚核苷酸之基因轉殖金針菇。本發明驚訝地發現投與該基因轉殖金針菇至一個體,該個體可成功產生對抗B型肝炎病毒(HBV)之抗體。因此,該基因轉殖金針菇可作為對抗HBV之疫苗。