We identified that NRAS and TERT mutations have a negative impact on the prognosis of patients with ALM and CMM, respectively. Here, TERT is linked to familial congenital mirror movements.