IMDs leading to megaloblastic anemia through impaired folate metabolism are caused by enzyme deficits leading to DNA synthesis: Dihydrofolate reductase (DHFR) deficiency and formiminotransferase-cyclodeaminase deficiency. This evidence concerns the gene DHFR and megaloblastic anemia.