dsXNAbuilder builds double-stranded DNA, RNA and DNA:RNA hybrid duplexes in any of the regular helical forms of the 3DNA fiber library (A, B, C, D, Z, B′, S, B*, A-RNA, A′-RNA and hybrid forms), lets you put modXNA sugar, backbone and base modifications on either strand, and returns the structure as a PDB file ready for modeling and simulation; Amber users can also get the topology package with the modXNA parameters.
The High-throughput tab builds up to 50 duplexes at once from a FASTA-like list (format below).
Everything runs in your browser (Python compiled to WebAssembly). Nothing you enter is sent anywhere; there is no login and no cookie, and nothing is stored in your browser. On danslab.xyz, visits are counted with Umami, which sets no cookie and records anonymous page views only (page, referrer, browser, device and country); the page address is sent without the part that holds your strands.
Tutorial: the Dickerson dodecamer in one click
- Click the example Dickerson dodecamer (B-DNA). Strand 1 is
CGCGAATTCGCG(5′→3′) and strand 2, typed under it 3′→5′, isGCGCTTAAGCGC. - The Base pairs panel shows the twelve Watson–Crick pairs. Change one letter of strand 2: the column turns into a mismatch and a warning appears.
- Press Build duplex. The structure appears in the viewer as sticks with its hydrogens, coloured by base: A red, T blue, G green, C amber (U light blue), with the sugar-phosphate in grey. Watson–Crick pairs therefore read red–blue and green–amber, and a mismatch stands out. modified colours canonical, modified and abasic nucleotides instead, and element by atom. The summary gives 12 base pairs, 758 atoms (486 heavy atoms and 272 hydrogens), every O3′–P bond at 1.60 Å and no clashes.
- Download PDB: chain A is strand 1 and chain B strand 2, both 5′→3′, with standard residue and atom names, ready for any modeling or simulation program. Amber users can open Advanced to download a tleap package with the force field and the modXNA parameters of the modified nucleotides.
- Copy reproducible link gives a URL that rebuilds exactly the same duplex.
- Now try LNA gapmer : RNA: a 3-10-3 LNA/DNA gapmer with phosphorothioates (strand 2) annealed to its 16-nt RNA target (strand 1) on the DNA:RNA hybrid model #22. Modified nucleotides are highlighted in the base-pair grid, the summary counts the modXNA residues, and the package includes their libraries.
Writing the sequences
Type strand 1 from 5′ to 3′ and strand 2 from 3′ to 5′, so that the two lines are aligned
column by column: column i is base pair i. This lets you modify either strand
independently and build mismatches. A - at the ends of a line means “no nucleotide”
(the other strand overhangs there); a - between nucleotides is an abasic
site: the strand keeps its sugar-phosphate backbone but has no base (a 2′-deoxy abasic site
is the tetrahydrofuran-type analogue, PDB component 3DR). End labels
5′-/-3′ are optional.
| write | meaning |
|---|---|
ACGTU | bases; plain letters take the chemistry of the model strand (DNA on B-DNA, RNA on A-RNA) |
d(ACG), r(ACG) | DNA or RNA group |
m, f, e/moe | sugar prefixes: 2′-O-methyl (OME), 2′-fluoro (AF2), 2′-O-methoxyethyl (MOE) |
+ or l | LNA, locked nucleic acid: ribose with a 2′-O,4′-C-methylene bridge (e.g. +A, +T) |
- | at the ends of a line: no nucleotide (overhang); between nucleotides: abasic site |
*, *1, *2 | phosphorothioate linkage. modXNA PS1 retains OP2, PS2 retains OP1; their absolute Rp/Sp labels are not yet confirmed, so * alone uses PS1 and warns |
^5mC | base modification (alias or modXNA base code) |
{PS2/MOE/M5C} | explicit modXNA backbone/sugar/base triplet (from the residue library); add :C for bases whose pairing letter is not tabulated |
In modXNA the backbone fragment of a nucleotide is its 5′ phosphate, so a linkage symbol belongs to the nucleotide on its 3′ side. In strand 1 that is the residue to the right of the symbol; in strand 2 (typed 3′→5′) it is the residue to the left. The 5′-terminal nucleotide of each strand has a 5′-OH.
Modified nucleotides (modXNA)
Modified nucleotides come from a library of 244 residues prebuilt with modxna.sh (modXNA 1.9.3, current cpptraj and AmberTools 26), so no parametrization runs in your browser. Every combination of these pieces is prebuilt; the modXNA library tab composes them by clicking:
| part | available |
|---|---|
| sugar | 2′-deoxyribose (d), ribose (r), 2′-O-methyl (m, OME),
2′-fluoro-2′-deoxyribose (f, AF2), 2′-O-methoxyethyl (e, MOE), LNA (+) |
| base | A, C, G, T, U and 5-methylcytosine (C^5mC) on every sugar (e.g. LNA-T, MOE-5mC, dU, rT) |
| backbone | phosphodiester, phosphorothioate PS1 (*, *1) and PS2 (*2) |
| ends | 5′-OH and 3′-OH terminal versions of all of them |
Residue names. Each distinct modified residue is named X01, X02, … in the PDB (Y01 after X99); after a build, the Residue names table under the structure lets you choose other names (one to three letters or digits, not a standard residue name). The names are kept in the reproducible link, the PDB header and the Amber package.
How they are placed. Each modified nucleotide is first built as the unmodified one in the fiber model. The modXNA residue is then transplanted onto it: the atoms it shares with the scaffold keep their fiber coordinates, so the helix and the O3′–P bonds stay exact, and only its own atoms (2′-F, the 2′-O-methyl or MOE chain, the LNA bridge, the 5-methyl, the sulfur) are placed from the modXNA geometry by local superposition. The sugar therefore keeps the pucker of the model. 2′-substituted sugars on a model with C2′-endo sugars (B, C, D-DNA) get a forced pucker warning; LNA cannot take that pucker and is refused there (use an A-form or hybrid model).
Checks. After the transplant, every stereocentre of the residue must keep its configuration, every bond its length within 0.3 Å and no two atoms three or more bonds apart may come closer than 2 Å; otherwise the residue is refused rather than built wrong.
Phosphorothioates. modXNA PS1 keeps OP2 and PS2 keeps OP1; dsXNAbuilder puts the
sulfur on the position of the oxygen that is not kept (OP1 or OP2 in the Amber convention), so
the two give the two P diastereomers. Their absolute Rp/Sp labels have not been confirmed yet,
so *R/*S are accepted with a warning and * alone uses PS1.
Ends and charges. Amber and modXNA split the charge of terminal nucleotides
differently, so a strand whose 5′ or 3′ nucleotide is modified takes both terminal nucleotides
from modXNA; every strand keeps an integer charge. Each distinct residue gets a name X01, X02, …
and its library file goes into libs/ with frcmod.modxna; the
manifest maps names to modXNA triplets.
An explicit triplet such as {PS2/OME/M5C:C} (backbone/sugar/base, then the
letter it pairs as) writes the same residues; other modXNA backbones, sugars and bases are not
prebuilt yet. The command-line tools can build more with
tools/build_residue_library.py --only BB-SUGAR-BASE-int.
Helix models
The Helix models tab lists the 40 double-stranded 3DNA fiber models offered; those that accept any sequence are marked ★ generic there and in the model menu. Each is a repeating unit of one or more base pairs plus the screw operation that maps it onto the next unit. dsXNAbuilder places every nucleotide directly with that screw, so a built duplex reproduces the fiber model exactly and the sugar-phosphate backbone stays continuous (O3′–P ≈ 1.60 Å) without any relaxation.
- Generic models (A-DNA #1, #54; B-DNA #4, #46, #55; C-DNA #7, #47) come with all four bases and accept any sequence. So does C-DNA #8: it was derived for poly d(GGT), but its 3DNA file also provides all four bases. These eight are marked ★ generic.
- The other models were derived for a specific repeating sequence (e.g. Z-DNA #15 for poly d(GC)). Other bases are placed on the model’s own backbone by swapping the base in the standard reference frame (Olson et al. 2001), as 3DNA does. For multi-base-pair repeats the builder picks the repeat phase that best fits your purine/pyrimidine pattern and warns when the sequence breaks it (e.g. a pyrimidine in a syn position of Z-DNA).
- Hybrid models (#22–#25) have one DNA and one RNA strand; if your strand 1 is RNA and the model’s first strand is DNA, the duplex is built the other way round and turned so that strand 1 still runs 5′→3′ upwards.
- RNA on a DNA model (or the reverse) is allowed: O2′ is added or removed on the model’s sugar, which keeps the model’s pucker; a warning tells you when that pucker is unusual.
Fifteen of the 55 3DNA models are not offered: triplexes, the quadruplex and the single strand (#30–#36, #42), homo base pairs that cannot be written with A/C/G/T/U (#26–#29), and models that fail the geometric checks (#17, #48) or are deprecated in 3DNA (#53). The models tab gives the reason for each.
Output
The output is one PDB file with all the atoms of the duplex, hydrogens included: chain A is
strand 1 and chain B strand 2, both 5′→3′, with Amber-style residue and atom names (DA, DC,
DG, DT; A, C, G, U; OP1/OP2). Modified nucleotides get the residue names X01, X02, … and keep
the modXNA atom names; REMARK 999 records in the header list what each of them
is, the two strands as typed, the fiber model and the data versions, so the file documents
itself.
Hydrogens. Each nucleotide takes the hydrogens of the residue template that tleap matches it to: the Amber unit for canonical nucleotides (DNA.OL15, RNA.lib; with HO5′ or HO3′ at the chain ends) and the modXNA residue for modified ones. Each hydrogen is placed by superposing the template on the built heavy atoms around it, which do not move, so bond lengths and angles come from the template and the names are those tleap expects. The hydrogens of 2′-O-methyl and MOE chains turn with the chain when it is rotated out of contacts. Abasic sites carry two hydrogens on C1′, named as in the PDB component 3DR.
Advanced: Amber/modXNA topology package
For Amber users, the Advanced panel produces a zip that turns the PDB into an Amber topology with tleap, including the modXNA parameters of the modified nucleotides. dsXNAbuilder is a structure builder: minimization, equilibration and production are up to you.
structure.pdb | the same PDB as the default output |
leap.in | tleap input: force fields, modXNA libraries, optional water box and neutralizing ions |
libs/, frcmod.modxna | modXNA residues and parameters, when modifications are used |
run.sh | runs tleap → system.parm7 / system.rst7 |
manifest.json | inputs, model and data provenance, residue names, warnings and file hashes |
The command-line tool gives the same results (dsxnabuilder build --top … --bottom …
--model 4 -o duplex.pdb, with --amber package.zip for the package; see
below for many duplexes at once).
High-throughput: many duplexes at once
The High-throughput tab builds up to 50 duplexes in one go and downloads their PDB files in a zip. Paste them, or open a text file, in this FASTA-like format: one record per duplex, made of a header line and the two strands.
>name=sirna_1; model=20 mG*mA*fC*mU*fA*mG*fC*mU*mG*mAdGdG C*U*GAUCGAC*U-- >name=sirna_1_bdna; model=4 mG*mA*fC*mU*fA*mG*fC*mU*mG*mA C*U*GAUCGAC*U # a comment >dickerson CGCGAATTCGCG GCGCTTAAGCGC
| line | rule |
|---|---|
>name=…; model=… | starts a record. name names the PDB
file: letters, digits, ., _ and -, up to 64 characters,
each name once. model is the 3DNA fiber model number (see Helix models);
without it the duplex is built on B-DNA #4. A field without = is taken as the
name, so >dickerson and >dickerson; model=4 also work.
Without a name the duplex is called duplex_001, duplex_002, … |
| first line after it | strand 1, 5′→3′ |
| second line | strand 2, 3′→5′, aligned under strand 1: the same notation as
on the Build tab (modXNA prefixes, * linkages, - for overhangs
and abasic sites, d(…)/r(…) groups, explicit triplets) |
empty lines, lines starting with # | ignored |
The records are checked as you type. A mistake in the format (a header field other than
name and model, a record without exactly two strands, a repeated
name) must be fixed before building. A duplex that cannot be built (for example LNA on a
B-DNA model) is marked as failed and the others are still built.
Each duplex is built exactly as on the Build tab, so its PDB is the same file; the view button of a record opens it there. The zip holds:
pdb/<name>.pdb | one PDB per duplex built, with its strands, model and data versions in the header |
report.tsv | per duplex: model, size, O3′–P range, contacts, warning codes, and the errors of those that failed |
input.txt | the input, as given |
README.txt | what the files are and the command that rebuilds them |
Command line. The same input builds with the command-line tool, up to 500 duplexes at a time on your own computer:
dsxnabuilder build --high-throughput duplexes.txt -o structures.zip
With -o naming a directory instead of a .zip, the files are
written there; --model N sets the model of the records without
model=; - as the file name reads standard input. Progress and errors
go to standard error, and the exit status is 1 when any duplex failed.
Warnings
Warnings never block a build; errors do. Mismatches, wobble pairs, overhangs, base swaps on sequence-specific models, forced sugar puckers and short contacts are reported so that you can decide how to prepare the structure (e.g. a restrained minimization) before simulating it.
Cite
If you use dsXNAbuilder, please cite the 3DNA fiber models (Lu & Olson, Nucleic Acids Res 2003, 31:5108–5121; Nat Protoc 2008, 3:1213–1227) and, when modified nucleotides are used, modXNA (Love et al., J Chem Theory Comput 2024, 20:9354–9363).
License
dsXNAbuilder is free software (GPL-3.0). Fiber templates are derived from 3DNA data (CC BY-NC 4.0); modXNA residues are GPL-3.0. The structures you build are yours.