Undifilum oxytropis is a fungal endophyte of locoweeds. It produces swainsonine, which is the principal toxic ingredient of locoweeds. However, the genes, pathways and mechanisms of swainsonine biosynthesis are not known. In this study, the genome of U. oxytropis was firstly sequenced and assembled