Whole genome comparative analysis of transposable elements provides new insight into mechanisms of their inactivation in fungal genomes