Conversion of PDB to amber ff suitable format

GROMACS version:
GROMACS modification: Yes/No
Here post your question
Dear All,
I am having a DNA molecule with ADE, THY, GUA, CYT nucleobase. I wanted to simulate these with AMBER99SB-ILDN forcefield.
Anyone can tell me how to convert this PDB file to that read the amber ff representation of nucleobases.

AMBER nomenclature is DX5, DX, or DX3, where X = A, C, T, G. 5 and 3 correspond to the 5’- and 3’-terminal nucleotides.

Thank you, Justin, I was also looking for the same.