Abstract
Sex determination in vertebrates exhibits remarkable evolutionary plasticity, with diverse mechanisms and master sex-determining (MSD) genes arising independently across lineages. Among these, dmrt1, a dosage-sensitive gene, has repeatedly been recruited as an MSD gene through gene duplication or allelic diversification. However, the biochemical basis of such evolutionary transitions, particularly those driven by allelic diversification, remains largely unexplored. Here, we generated haplotype-resolved genome assemblies for both XX and XY black carp (Mylopharyngodon piceus) and identified a ∼40-kb region on chromosome 4, containing only dmrt1, as the candidate sex-determining locus. We discovered two Y-specific insertions in the dmrt1 promoter: a 13.4-kb highly repetitive element and an 11-bp motif. Functional assays revealed that these insertions act as enhancer and a promoter element, respectively, driving early, allele-specific upregulation of dmrt1 prior to gonadal differentiation. Notably, the 13.4-kb insertion contains transposable elements (TEs) functioning as cis-regulatory modules with transcription factor binding sites that mediate Y-specific activation. Our findings reveal a TE-mediated regulatory innovation that promoted dmrt1's evolution as a male-determining gene via allelic diversification, providing new insights into how mobile genetic elements drive the origin and diversification of sex-determining systems in vertebrates.