By using density functional theory calculations, the structural, energetic, magnetic, and optical properties for a variety of transition metal (M = Mn, Fe, Co, Ni and Cu) ions incorporated modified-DNA (M-DNA) double helices has been investigated. The DNA is modified with either hydroxypyridone (H) or bis(salicylaldehyde)ethylenediamine (S-en) metalated bases. We find the formation of extended M-O network leading to the ferromagnetic interactions for the case of H-DNA for all the metal ions. More ordered stacking arrangement was found for S-en-DNA. We calculate the exchange coupling constant (J) considering Heisenberg Hamiltonian for quantitative description of magnetic interactions. The ferromagnetic and antiferromagnetic interactions are obtained by varying different transition metal ions. The extent of the magnetic interaction depends on the number of transition metal ions. Optical profiles show peaks below 2 eV, a clear signature of spin-spin coupling.