The results of this study showed that a gene-based clinical model consisting of NAPB, C5orf25 and ERICH1 showed high diagnostic ability for MG (AUC = 0.981), and this model developed can be used as a diagnostic indicator for MG, which is crucial for subsequent clinical treatment and improvement of disease prognosis. This evidence concerns the gene ERICH1 and myasthenia gravis.