LGI1 and viral encephalitis: At the phylum level, anti-LGI1 encephalitis patients exhibited a higher abundance of Proteobacteria and a lower abundance of Firmicutes. The alterations in the phylum level were associated with autoimmune and inflammatory disorders.