In this example we will build the PDB 1NAO, which consists of a DNA-RNA hybrid where the DNA contains 2’-O-methyl ribose sugar nucleotides in the anti-sense strand. We download the PDB file and use a similar CPPTRAJ script to obtain a pruned ‘clean’ PDB prepareforleap.cpptraj:
parm 1nao.pdb
loadcrd 1nao.pdb name edit
prepareforleap crdset edit name FromPrepForLeap \
out FromPrepForLeap−tleap.in leapunitname x \
pdbout FromPrepForLeap.pdb nowat noh
go
Run the script with:
$ cpptraj -i prepareforleap.cpptraj
and we get several warnings:
Potential problem: OMG_10_B is an unrecognized name and may not have parameters. Potential problem: OMU_11_B is an unrecognized name and may not have parameters. Potential problem: OMC_12_B is an unrecognized name and may not have parameters. Potential problem: OMC_17_B is an unrecognized name and may not have parameters. Potential problem: OMC_18_B is an unrecognized name and may not have parameters.
These are the C2’-O-methyl modified residues that are not included in the AMBER force fields for standard nucleotides. We will use modXNA to create the following new residues, outlined below: 5MG, OMU, OMC, 3MC.
| Residue Name | Backbone fragment code | Sugar fragment code | Base fragment code | Notes |
|---|---|---|---|---|
| 5MG | 5PO | OME | DGG | 5′-terminal |
| OMU | DPO | OME | RUU | |
| OMC | DPO | OME | DCC | |
| 3MC | DPO | OME | DCC | 3′-terminal |
It is important to note that 5’ and 3’ terminal nucleotides are unique from the central nucleic acid fragments that are expected to have both a 5’ and 3’ bond. For this system, we require a 5’-terminal modified residue (guanine with C2’-Omethyl sugar) and a 3’-terminal modified residue (cytosine with C2’-O-methyl sugar). Terminal nucleotide parameterization is only possible with modXNA version 1.8 or later, and the only termini parameterized are hydroxyl capping groups. We will first focus on the central residues: a C2’-O-methyl uridine and a C2’-O-methyl cytosine are required to match the sequence from the experimental structure.
Create a new directory with the name OMU. Inside the directory, create the modXNA input file (OMU.in.modxna):
## C3'-OMe-uridine
DPO OME RUU
Then run modXNA.sh with
$ modXNA.sh -i OMU.in.modxna -m OMU
Create a new directory with the name OMC. Inside the directory, create the modXNA input file (OMC.in.modxna):
## C3'-OMe-cytosine
DPO OME DCC
Then, run the modXNA.sh script within the OMC directory:
$ modXNA.sh -i OMC.in.modxna -m OMC
We can open the files OMU/tmp.opt.pdb and OMC/tmp.opt.pdb and confirm that both nucleotides have been created correctly.

These residues are positions OMU11, OMC12 and OMC17 of the anti-sense strand (B chain) of the original 1NAO structure. To generate the 5’-terminal OMG residue, we can use the modXNA script with the option –5cap. We are also going to use the 5PO backbone module to specify the 5’ cap. We are going to name the 5’-terminal residue 5MG, to not confuse with a central fragment. Create a new folder with the name 5MG, as well as the modXNA input file (5MG.in.modxna):
## 5'-C2'-OMe-guanine
5PO OME DGG
Run the modXNA.sh script inside the 5MG directory:
$ modXNA.sh -i 5MG.in.modxna -m 5MG –5cap
Notice the extra flag –5cap and the 5PO backbone module are both specified to indicate to modXNA that we want a 5’-terminal residue. A 5’ residue must have a companion 3’ residue for the charge on the entire system to be an integer. For the 3’-terminal residue, create a new folder with the name 3MC and create the modXNA input file (3MC.in.modxna):
## 3'-C2-OMe-cytosine
DPO OME DCC
And run modXNA:
$ modXNA.sh -i 3MC.in.modxna -m 3MC --3cap
Notice the extra flag –3cap to indicate to modXNA that we want a 3’-terminal residue. The resulting 5’-terminal and 3’-terminal are shown in Figure 7. Note that a 5’terminal requires a 3’terminal counterpart, otherwise the charge on the molecule will not be an integer. We now have all the required library files (5MG.lib, OMU.lib, OMC.lib and 3MC.lib) to build the RNA-DNA hybrid that matches the structure.

To build the RNA-DNA hybrid 1NAO, we will first combine the different lib files into a single file. To do this, create the text file create-1nao-lib.tleap:
loadoff 3MC/3MC.lib
saveoff 3MC 1NAO.lib
loadoff 5MG/5MG.lib
saveoff 5MG 1NAO.lib
loadoff OMC/OMC.lib
saveoff OMC 1NAO.lib
loadoff OMU/OMU.lib
saveoff OMU 1NAO.lib
quit
Run the file with:
$ tleap -s -f create-1nao-lib.tleap
The second thing we must do is edit the FromPrepFor-Leap.pdb file to denote 5’ and 3’ terminal residues. Copy FromPrepForLeap.pdb to EditTerminiFromPrepForLeap.pdb and change the following residue names: OMG 10 to 5MG, OMC 18 to 3MC.
Once these two steps are completed, we can create input for tleap and build the parmtop and crd files, as shown below:
###########################
source leaprc.DNA.OL15
source leaprc.RNA.OL3
source leaprc.water.opc
###########################
loadoff 1NAO.lib
loadamberparams /home/user/modXNA/dat/frcmod.modxna
###########################
x = loadpdb EditTerminiFromPrepForLeap.pdb
solvateoct x OPCBOX 9.0
addionsrand x Na+ 0
saveamberparm x 1nao.parm7 1nao.rst7
quit