<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dna.physics.ox.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Romano</id>
	<title>OxDNA - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://dna.physics.ox.ac.uk/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Romano"/>
	<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Special:Contributions/Romano"/>
	<updated>2026-04-24T17:29:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Thermostat&amp;diff=609</id>
		<title>Thermostat</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Thermostat&amp;diff=609"/>
		<updated>2013-03-19T16:06:36Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The best thermostat implemented in the simulation code (&#039;&#039;john&#039;&#039; thermostat) is a simple thermostat&lt;br /&gt;
that emulates Brownian dynamics. The system is evolved integrating Newton&#039;s&lt;br /&gt;
equations of motion (&#039;NVE&#039; ensemble) for a given (small) number of steps.&lt;br /&gt;
Then the velocity and momentum of each particle are refreshed, with a given&lt;br /&gt;
fixed probability. The new velocities and momenta are chosen according to&lt;br /&gt;
the Maxwell distribution of the temperature at which the simulation is run.&lt;br /&gt;
This approximates a Brownian dynamics on time scales much longer than the&lt;br /&gt;
refresh interval.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;dt&#039;&#039;&#039; time steps of the integration&lt;br /&gt;
* &#039;&#039;&#039;newtonian steps&#039;&#039;&#039; number of steps between refresh attempts&lt;br /&gt;
* &#039;&#039;&#039;pt&#039;&#039;&#039; the probability with which each particle gets its velocity and momentum refreshed at each attempt.&lt;br /&gt;
* &#039;&#039;&#039;diff_coeff&#039;&#039;&#039; the overall monomer diffusion coefficient resulting from the thermostat. The code internally sets &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; to get this value. Specifying &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; will override this, regardless which comes first in the input file.&lt;br /&gt;
&lt;br /&gt;
The algorithm works as follows: the system is evolved for a number of steps equal to &amp;lt;tt&amp;gt;newtonian_steps&amp;lt;/tt&amp;gt; according to Newton&#039;s equations of motion. Then for each particle a random number is extracted; if it is larger than the value for &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; (either set explicitly or derived &lt;br /&gt;
from &amp;lt;tt&amp;gt;diff_coeff&amp;lt;/tt&amp;gt;) the particle is left untouched. If the random number extracted is lower than the value of &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt;, each of the components of the the velocity and angular momentum of the particle are refreshed according to &lt;br /&gt;
the Maxwell distribution dictated by the value of the temperature.&lt;br /&gt;
&lt;br /&gt;
A completely Brownian dynamics (on the time scale set by &amp;lt;tt&amp;gt;dt&amp;lt;/tt&amp;gt;) can be obtained setting &amp;lt;tt&amp;gt;pt = 1&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;newtonian_steps = 0&amp;lt;/tt&amp;gt;. Of course, this makes little sense.&lt;br /&gt;
&lt;br /&gt;
Increasing the value of &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; makes the dynamics more dumped, so that overall diffusion is slower but local motion is somewhat better explored. We found that a good thermostat setting to study diffusion-limited events is to set &amp;lt;tt&amp;gt;diff_coeff = 2.5&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;newtonian_steps = 103&amp;lt;/tt&amp;gt;. If one is not limited by diffusion, internal relaxation can be speeded up by lowering the value of &amp;lt;tt&amp;gt;diff_coeff&amp;lt;/tt&amp;gt; by a factor 2 or 4.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=606</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=606"/>
		<updated>2013-02-25T12:00:28Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388 (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Phys. Chem. B&#039;&#039; (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;137&#039;&#039;&#039;, 135101 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v137/i13/p135101_s1 Sequence-dependent thermodynamics of a coarse-grained DNA model] ([http://arxiv.org/abs/1207.3391 arxiv]) &lt;br /&gt;
#F. Romano, D. Chakraborty, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;138&#039;&#039;&#039;, 085101 (2013)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v138/i8/p085101_s1 Coarse-grained simulations of DNA overstretching] ([http://arxiv.org/abs/1209.5892 arXiv])&lt;br /&gt;
#P. Šulc, T. E. Ouldridge, F. Romano, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012) &lt;br /&gt;
#:[http://arxiv.org/abs/1212.4536 Simulating a burnt-bridges DNA motor with a coarse-grained DNA model]&lt;br /&gt;
#T. E. Ouldridge, R. L. Hoare, A. A. Louis, J. P. K. Doye, J. Bath, A. J. Turberfield, &#039;&#039;ACS Nano&#039;&#039; (2013) &lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/nn3058483 Optimizing DNA nanotechnology through coarse-grained modelling: a two-footed DNA walker]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=605</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=605"/>
		<updated>2013-02-25T11:55:42Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388 (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Phys. Chem. B&#039;&#039; (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;137&#039;&#039;&#039;, 135101 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v137/i13/p135101_s1 Sequence-dependent thermodynamics of a coarse-grained DNA model] ([http://arxiv.org/abs/1207.3391 arxiv]) &lt;br /&gt;
#F. Romano, D. Chakraborty, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;138&#039;&#039;&#039;, 085101 (2013)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v138/i8/p085101_s1 Coarse-grained simulations of DNA overstretching] ([http://arxiv.org/abs/1209.5892 arXiv])&lt;br /&gt;
#P. Šulc, T. E. Ouldridge, F. Romano, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012) &lt;br /&gt;
#:[http://arxiv.org/abs/1212.4536 Simulating a burnt-bridges DNA motor with a coarse-grained DNA model]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Model_introduction&amp;diff=600</id>
		<title>Model introduction</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Model_introduction&amp;diff=600"/>
		<updated>2012-12-12T11:35:55Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Simulation units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model treats DNA as a string of rigid nucleotides, which interact through potentials which depend on the position and orientation of the nucleotides. The interactions are:&lt;br /&gt;
#Sugar-phosphate backbone connectivity,&lt;br /&gt;
#Excluded volume,&lt;br /&gt;
#Hydrogen bonding,&lt;br /&gt;
#Nearest-neighbour stacking,&lt;br /&gt;
#Cross-stacking between base-pair steps in a duplex,&lt;br /&gt;
#Coaxial stacking.&lt;br /&gt;
&lt;br /&gt;
This interactions are illustrated below. Orientational modulations of the stacking potential encourage the bases to form coplanar stacks, the twist arising from the different length scales of the backbone separation and the optimum stacking separation. The possibility of unstacking allows single strands to be very flexible. Hydrogen bonding  can occur between complementary bases when they are anti-aligned, leading to the formation of double helical structures.&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/ThomasOuldridge/Site/The_model.png&lt;br /&gt;
&lt;br /&gt;
(a) Model interaction sites with their interaction ranges (the typical range of an interaction is twice the radius of the sphere shown).&lt;br /&gt;
&lt;br /&gt;
(b) Representation of these interaction site in a visualisation that makes the planarity of the base clear.&lt;br /&gt;
&lt;br /&gt;
(c) A duplex in this representation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/ThomasOuldridge/Site/interactions.png&lt;br /&gt;
&lt;br /&gt;
Indication of the interactions which hold together a typical duplex. V(b.b.) indicates the phosphate-sugar backbone connectivity.&lt;br /&gt;
&lt;br /&gt;
In the original model, all complementary base pairs and stacking partners interact with the same strength (there is no attractive interaction between non-complementary bases). A sequence-dependent parameterisation of the hydrogen-bonding and stacking interactions is included as an option in the code release.&lt;br /&gt;
The melting temperatures of a set of short DNA oligomers in the sequence-dependent coarse-grained model, compared to the melting temperatures as predicted by SantaLucia&#039;s nearest-neighbor model ([http://www.pnas.org/content/95/4/1460.full]), are available here: [http://www-thphys.physics.ox.ac.uk/people/PetrSulc/data/CG_model_Tm.txt]&lt;br /&gt;
&lt;br /&gt;
The model does not incorporate the differentiation between the major and minor grooves of DNA double helices, and incorporates electrostatics only through the short-ranged excluded volume. For this reason, it is only appropriate for the study of systems at high salt concentration, when electrostatic interactions are strongly screened.&lt;br /&gt;
&lt;br /&gt;
===Simulation units===&lt;br /&gt;
The code uses dimensionless energy, mass, length and timescales for convenience. The relationship between simulation units (SU) and SI units is given below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Simulation unit &lt;br /&gt;
! Physical unit&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of length&lt;br /&gt;
| 8.518x10&amp;lt;math&amp;gt;^{-10}&amp;lt;/math&amp;gt; m&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of energy&lt;br /&gt;
| 4.142x10&amp;lt;math&amp;gt;^{-20}&amp;lt;/math&amp;gt; J&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of temperature      &lt;br /&gt;
| 3000 K&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of force&lt;br /&gt;
| 4.863x10&amp;lt;math&amp;gt;^{-11}&amp;lt;/math&amp;gt; N&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of mass&lt;br /&gt;
| 1.66x10&amp;lt;math&amp;gt;^{-25}&amp;lt;/math&amp;gt; kg&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of time&lt;br /&gt;
| 1.71x10&amp;lt;math&amp;gt;^{-12}&amp;lt;/math&amp;gt; s&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model and its performance is discussed in detail in the following references (the thesis provides the most complete analysis):&lt;br /&gt;
&lt;br /&gt;
T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
&lt;br /&gt;
T. E. Ouldridge, A. A. Louis and J. P. K. Doye, J. Chem. Phys, 134, 085101 (2011)&lt;br /&gt;
[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
&lt;br /&gt;
P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;137&#039;&#039;&#039;, 135101 (2012)&lt;br /&gt;
[http://jcp.aip.org/resource/1/jcpsa6/v137/i13/p135101_s1 Sequence-dependent thermodynamics of a coarse-grained DNA model] ([http://arxiv.org/abs/1207.3391 arxiv])&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Model_introduction&amp;diff=599</id>
		<title>Model introduction</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Model_introduction&amp;diff=599"/>
		<updated>2012-12-12T11:35:29Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Simulation units */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model treats DNA as a string of rigid nucleotides, which interact through potentials which depend on the position and orientation of the nucleotides. The interactions are:&lt;br /&gt;
#Sugar-phosphate backbone connectivity,&lt;br /&gt;
#Excluded volume,&lt;br /&gt;
#Hydrogen bonding,&lt;br /&gt;
#Nearest-neighbour stacking,&lt;br /&gt;
#Cross-stacking between base-pair steps in a duplex,&lt;br /&gt;
#Coaxial stacking.&lt;br /&gt;
&lt;br /&gt;
This interactions are illustrated below. Orientational modulations of the stacking potential encourage the bases to form coplanar stacks, the twist arising from the different length scales of the backbone separation and the optimum stacking separation. The possibility of unstacking allows single strands to be very flexible. Hydrogen bonding  can occur between complementary bases when they are anti-aligned, leading to the formation of double helical structures.&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/ThomasOuldridge/Site/The_model.png&lt;br /&gt;
&lt;br /&gt;
(a) Model interaction sites with their interaction ranges (the typical range of an interaction is twice the radius of the sphere shown).&lt;br /&gt;
&lt;br /&gt;
(b) Representation of these interaction site in a visualisation that makes the planarity of the base clear.&lt;br /&gt;
&lt;br /&gt;
(c) A duplex in this representation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/ThomasOuldridge/Site/interactions.png&lt;br /&gt;
&lt;br /&gt;
Indication of the interactions which hold together a typical duplex. V(b.b.) indicates the phosphate-sugar backbone connectivity.&lt;br /&gt;
&lt;br /&gt;
In the original model, all complementary base pairs and stacking partners interact with the same strength (there is no attractive interaction between non-complementary bases). A sequence-dependent parameterisation of the hydrogen-bonding and stacking interactions is included as an option in the code release.&lt;br /&gt;
The melting temperatures of a set of short DNA oligomers in the sequence-dependent coarse-grained model, compared to the melting temperatures as predicted by SantaLucia&#039;s nearest-neighbor model ([http://www.pnas.org/content/95/4/1460.full]), are available here: [http://www-thphys.physics.ox.ac.uk/people/PetrSulc/data/CG_model_Tm.txt]&lt;br /&gt;
&lt;br /&gt;
The model does not incorporate the differentiation between the major and minor grooves of DNA double helices, and incorporates electrostatics only through the short-ranged excluded volume. For this reason, it is only appropriate for the study of systems at high salt concentration, when electrostatic interactions are strongly screened.&lt;br /&gt;
&lt;br /&gt;
===Simulation units===&lt;br /&gt;
The code uses dimensionless energy, mass, length and timescales for convenience. The relationship between simulation units (SU) and SI units is given below.&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Simulation unit &lt;br /&gt;
! Physical unit&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of length&lt;br /&gt;
| 8.518x10&amp;lt;math&amp;gt;^{-10}&amp;lt;/math&amp;gt; m&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of energy&lt;br /&gt;
| 4.142x10&amp;lt;math&amp;gt;^{-20}&amp;lt;/math&amp;gt; J&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of Temperature      &lt;br /&gt;
| 3000 K&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of Force&lt;br /&gt;
| 4.863x10&amp;lt;math&amp;gt;^{-11}&amp;lt;/math&amp;gt; N&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of Mass&lt;br /&gt;
| 1.66x10&amp;lt;math&amp;gt;^{-25}&amp;lt;/math&amp;gt; kg&lt;br /&gt;
|-&lt;br /&gt;
| 1 unit of Time&lt;br /&gt;
| 1.71x10&amp;lt;math&amp;gt;^{-12}&amp;lt;/math&amp;gt; s&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model and its performance is discussed in detail in the following references (the thesis provides the most complete analysis):&lt;br /&gt;
&lt;br /&gt;
T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
&lt;br /&gt;
T. E. Ouldridge, A. A. Louis and J. P. K. Doye, J. Chem. Phys, 134, 085101 (2011)&lt;br /&gt;
[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
&lt;br /&gt;
P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;137&#039;&#039;&#039;, 135101 (2012)&lt;br /&gt;
[http://jcp.aip.org/resource/1/jcpsa6/v137/i13/p135101_s1 Sequence-dependent thermodynamics of a coarse-grained DNA model] ([http://arxiv.org/abs/1207.3391 arxiv])&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Screenshots_and_movies&amp;diff=598</id>
		<title>Screenshots and movies</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Screenshots_and_movies&amp;diff=598"/>
		<updated>2012-11-08T16:59:49Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== single-stranded DNA ===&lt;br /&gt;
[[Image:image_ssdna.png]]&lt;br /&gt;
&lt;br /&gt;
=== double-stranded DNA ===&lt;br /&gt;
[[Image:image_dsdna.png]]&lt;br /&gt;
&lt;br /&gt;
=== DNA tetrahedron ===&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/image.png&lt;br /&gt;
&lt;br /&gt;
=== Strand displacement ===&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/stateB.png&lt;br /&gt;
Invading strand attached by toehold&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/stateC.png&lt;br /&gt;
Invading and victim strands that are not coaxially stacked&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/stateX.png&lt;br /&gt;
Invading and victim strands that are coaxially stacked&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/movie2.mp4 A movie of part of the strand displacement process. It shows the invading strand attached by toehold and then displacing several base pairs of the victim strand&lt;br /&gt;
&lt;br /&gt;
=== DX tile ===&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
=== Kissing hairpin ===&lt;br /&gt;
[[Image:hairpin_kiss2.png]]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=File:Image_dsdna.png&amp;diff=597</id>
		<title>File:Image dsdna.png</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=File:Image_dsdna.png&amp;diff=597"/>
		<updated>2012-11-08T16:58:02Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=File:Image_ssdna.png&amp;diff=596</id>
		<title>File:Image ssdna.png</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=File:Image_ssdna.png&amp;diff=596"/>
		<updated>2012-11-08T16:57:46Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=License_and_Copyright&amp;diff=593</id>
		<title>License and Copyright</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=License_and_Copyright&amp;diff=593"/>
		<updated>2012-10-01T22:22:51Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Referencing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;oxDNA is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.&lt;br /&gt;
&lt;br /&gt;
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&lt;br /&gt;
&lt;br /&gt;
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. You can also find it on the GNU web site:&lt;br /&gt;
&lt;br /&gt;
[http://www.gnu.org/copyleft/gpl.html http://www.gnu.org/copyleft/gpl.html]&lt;br /&gt;
&lt;br /&gt;
A copy of the GNU General Public License version 3 can be found in the [[Download_and_Installation#Download|source]] tarball.&lt;br /&gt;
&lt;br /&gt;
==Referencing==&lt;br /&gt;
We kindly ask you to reference oxDNA and its authors in any publication for which oxDNA was used. Since you are not legally required to do so, it is up to your common sense to decide whether you want to comply with this request or not.&lt;br /&gt;
&lt;br /&gt;
You can cite us in this way:&lt;br /&gt;
&lt;br /&gt;
*P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;137&#039;&#039;&#039;, 135101 (2012)&lt;br /&gt;
&lt;br /&gt;
or, if you use [http://en.wikipedia.org/wiki/BibTeX BibTeX], &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@Article{oxDNA,&lt;br /&gt;
  author = {Petr \v{S}ulc, Flavio Romano, Thomas E. Ouldridge, Lorenzo Rovigatti, Jonathan P. K. Doye, and Ard A. Louis},&lt;br /&gt;
  title = {Sequence-dependent thermodynamics of a coarse-grained DNA model},&lt;br /&gt;
  publisher = {AIP},&lt;br /&gt;
  year = {2012},&lt;br /&gt;
  journal = {The Journal of Chemical Physics},&lt;br /&gt;
  volume = {137},&lt;br /&gt;
  number = {13},&lt;br /&gt;
  eid = {135101},&lt;br /&gt;
  numpages = {14},&lt;br /&gt;
  pages = {135101},&lt;br /&gt;
  keywords = {biology computing; DNA; melting point; molecular biophysics; molecular configurations; thermodynamics},&lt;br /&gt;
  url = {http://link.aip.org/link/?JCP/137/135101/1},&lt;br /&gt;
  doi = {10.1063/1.4754132}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=License_and_Copyright&amp;diff=592</id>
		<title>License and Copyright</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=License_and_Copyright&amp;diff=592"/>
		<updated>2012-10-01T22:21:41Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Referencing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;oxDNA is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.&lt;br /&gt;
&lt;br /&gt;
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.&lt;br /&gt;
&lt;br /&gt;
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. You can also find it on the GNU web site:&lt;br /&gt;
&lt;br /&gt;
[http://www.gnu.org/copyleft/gpl.html http://www.gnu.org/copyleft/gpl.html]&lt;br /&gt;
&lt;br /&gt;
A copy of the GNU General Public License version 3 can be found in the [[Download_and_Installation#Download|source]] tarball.&lt;br /&gt;
&lt;br /&gt;
==Referencing==&lt;br /&gt;
We kindly ask you to reference oxDNA and its authors in any publication for which oxDNA was used. Since you are not legally required to do so, it is up to your common sense to decide whether you want to comply with this request or not.&lt;br /&gt;
&lt;br /&gt;
The article in which we will present oxDNA and the new sequence-dependence model is still in preparation, therefore you can cite us in this way:&lt;br /&gt;
&lt;br /&gt;
*Petr Šulc, Flavio Romano, Thomas E. Ouldridge, Lorenzo Rovigatti, Jonathan P. K. Doye and Ard A. Louis, &amp;quot;Sequence-dependent thermodynamics of a coarse-grained DNA model&amp;quot;, &#039;&#039;arXiv:1207.3391&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
or, if you use [http://en.wikipedia.org/wiki/BibTeX BibTeX], &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
@Article{oxDNA,&lt;br /&gt;
  author = {Petr \v{S}ulc, Flavio Romano, Thomas E. Ouldridge, Lorenzo Rovigatti, Jonathan P. K. Doye, and Ard A. Louis},&lt;br /&gt;
  title = {Sequence-dependent thermodynamics of a coarse-grained DNA model},&lt;br /&gt;
  publisher = {AIP},&lt;br /&gt;
  year = {2012},&lt;br /&gt;
  journal = {The Journal of Chemical Physics},&lt;br /&gt;
  volume = {137},&lt;br /&gt;
  number = {13},&lt;br /&gt;
  eid = {135101},&lt;br /&gt;
  numpages = {14},&lt;br /&gt;
  pages = {135101},&lt;br /&gt;
  keywords = {biology computing; DNA; melting point; molecular biophysics; molecular configurations; thermodynamics},&lt;br /&gt;
  url = {http://link.aip.org/link/?JCP/137/135101/1},&lt;br /&gt;
  doi = {10.1063/1.4754132}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=591</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=591"/>
		<updated>2012-10-01T15:45:34Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388 (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Phys. Chem. B&#039;&#039; (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;137&#039;&#039;&#039;, 135101 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v137/i13/p135101_s1 Sequence-dependent thermodynamics of a coarse-grained DNA model] ([http://arxiv.org/abs/1207.3391 arxiv])&lt;br /&gt;
#F. Romano, D. Chakraborty, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1209.5892 Coarse-grained simulations of DNA overstretching]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=590</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=590"/>
		<updated>2012-09-27T08:54:39Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388 (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &#039;&#039;J. Phys. Chem. B&#039;&#039; (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1207.3391 Sequence-dependent thermodynamics of a coarse-grained DNA model]&lt;br /&gt;
#F. Romano, D. Chakraborty, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1209.5892 Coarse-grained simulations of DNA overstretching]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Documentation&amp;diff=589</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Documentation&amp;diff=589"/>
		<updated>2012-09-24T14:02:25Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Compile options==&lt;br /&gt;
&lt;br /&gt;
Compiling oxDNA requires that you change the first rows in the makefile to match your machine configuration. The following parameters can be passed to make:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;dbg=1&#039;&#039;&#039; oxDNA will be compiled with debug flags (both for nvcc and gcc). The resulting executable will be put in the Debug directory.&lt;br /&gt;
*&#039;&#039;&#039;g=1&#039;&#039;&#039; oxDNA will be compiled with both debug and optimization flags. The resulting executable will be put in the Release directory.&lt;br /&gt;
*&#039;&#039;&#039;intel=1&#039;&#039;&#039; oxDNA will be compiled using the Intel icpc compiler. The resulting executable will be named oxDNA_intel.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oxDNA input_file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The input file contains all the relevant information for the program to run, such as what initial configuration to use, the topology of the system, how often to print the energies to a file, etc. Please make sure you read the [[Thermostat|thermostat]] page if you use molecular dynamics.&lt;br /&gt;
&lt;br /&gt;
==Input file==&lt;br /&gt;
&lt;br /&gt;
As always in UNIX environments, everything is case sensitive.&lt;br /&gt;
The options are in the form key = value. There can be arbitrary spaces before and after both key and value. Line with a leading # will be treated as comments.&lt;br /&gt;
In this part | (pipe) is the separator between the different values that can be used to specify a value for the key.&lt;br /&gt;
Keys between [ and ] are optional, the value after the equal sign is the default value.&lt;br /&gt;
&lt;br /&gt;
===Generic options===&lt;br /&gt;
The options listed here define the generic behavior of the entire program.&lt;br /&gt;
;[sim_type=MD]: MD|MC&lt;br /&gt;
:MD = Molecular Dynamics, MC = Monte Carlo&lt;br /&gt;
;backend: CPU&lt;br /&gt;
;backend_precision: float|double&lt;br /&gt;
;[debug=0]: 0|1&lt;br /&gt;
: 1 if you want verbose logs, 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
===Simulation options===&lt;br /&gt;
	The options listed here specify the behaviour of the simulation.&lt;br /&gt;
&lt;br /&gt;
;steps: number of steps to be performed.&lt;br /&gt;
		&lt;br /&gt;
;[restart_step_counter=0]: 0|1&lt;br /&gt;
:0 means that the step counter will start from the value read in the configuration file; if 1, the step counter will be reset to 0. The total duration of the simulation is unchanged.&lt;br /&gt;
			&lt;br /&gt;
;[seed=time(NULL)]: seed for the random number generator. On Unix systems, it will use by default a number from /dev/urandom + time(NULL)&lt;br /&gt;
		&lt;br /&gt;
;T: temperature of the simulation. It can be expressed in simulation units or kelvin (append a k or K after the value) or celsius (append a c or C after the value).&lt;br /&gt;
:Examples:&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Value&lt;br /&gt;
! Simulation Units&lt;br /&gt;
|-&lt;br /&gt;
| 0.1&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300k&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85c&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85 C &lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
		&lt;br /&gt;
;verlet_skin: if a particle moves more than verlet_skin then the lists will be updated. Its name is somewhat misleading: the actual verlet skin is 2*verlet_skin.&lt;br /&gt;
	&lt;br /&gt;
;[use_average_seq=1]: 0|1&lt;br /&gt;
: specifies whether to use the default hard-coded average parameters for base-pairing and stacking interaction strengths or not. If sequence dependence is to be used, set this to 0 and specify seq_dep_file.&lt;br /&gt;
	&lt;br /&gt;
;[seq_dep_file]: specifies the file from which the sequence dependent parameters should be read. Mandatory if use_average_seq=no, ignored otherwise. A sample file is provided (sequence_dependent_parameters.txt).&lt;br /&gt;
&lt;br /&gt;
;[external_forces=0]: 0|1&lt;br /&gt;
: specifies whether there are external forces acting on the nucleotides or not. If it is set to 1, then a file which specifies the external forces&#039; configuration has to be provided (see external_forces_file).&lt;br /&gt;
&lt;br /&gt;
;[external_forces_file]: specifies the file containing all the external forces&#039; configurations. Currently there are six supported force types (see EXAMPLES/TRAPS for some examples):&lt;br /&gt;
:*string&lt;br /&gt;
:*twist&lt;br /&gt;
:*trap&lt;br /&gt;
:*repulsion_plane&lt;br /&gt;
:*repulsion_plane_moving&lt;br /&gt;
:*mutual_trap&lt;br /&gt;
	&lt;br /&gt;
====Molecular dynamics simulations options====&lt;br /&gt;
&lt;br /&gt;
;dt: time step of the integration.&lt;br /&gt;
&lt;br /&gt;
;thermostat: no|refresh|john &lt;br /&gt;
:no means no thermostat will be used. refresh will refresh all the particle&#039;s velocities from a maxwellian every newtonian_steps steps. john is an Anderson-like thermostat (see pt). Make sure you read [[Thermostat|thermostat]].&lt;br /&gt;
&lt;br /&gt;
;newtonian_steps: required if thermostat != no&lt;br /&gt;
:number of steps after which a procedure of thermalization will be performed.&lt;br /&gt;
			&lt;br /&gt;
;pt: used if thermostat == john. It&#039;s the probability that a particle&#039;s velocity will be refreshed during a thermalization procedure.&lt;br /&gt;
		&lt;br /&gt;
;diff_coeff: required if pt is not specified&lt;br /&gt;
:used internally to automatically compute the pt that would be needed if we wanted such a self diffusion coefficient. Not used if pt is set.&lt;br /&gt;
&lt;br /&gt;
====Monte Carlo simulations options====&lt;br /&gt;
	&lt;br /&gt;
;[check_energy_every=10]: this number times print_energy_every gives the number of steps after which the energy will be computed from scratch and checked against the actual value computed adding energy differences.&lt;br /&gt;
		&lt;br /&gt;
;[check_energy_threshold=1e-4]:	if abs((old_energy - new_energy)/old_energy) &amp;gt; check_energy_threshold then the program will die and warn the user.&lt;br /&gt;
	&lt;br /&gt;
;ensemble: NVT&lt;br /&gt;
:ensemble of the simulation. More ensembles could be added in future versions.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement (per dimension) for translational moves in simulation units.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement for rotational moves in simulation units.&lt;br /&gt;
&lt;br /&gt;
===Input/output===&lt;br /&gt;
The options listed here are used to manage the I/O (read and write configurations, energies and so on)&lt;br /&gt;
	&lt;br /&gt;
;conf_file: initial configuration file. &lt;br /&gt;
		&lt;br /&gt;
;topology: file containing the system&#039;s topology.&lt;br /&gt;
		&lt;br /&gt;
;trajectory_file: the main output of the program. All the configurations will be appended to this file as they are printed.&lt;br /&gt;
		&lt;br /&gt;
;[confs_to_skip=0]: valid only if conf_file is a trajectory. Skip the first confs_to_skip configurations and then load in memory the (confs_to_skip+1)th.&lt;br /&gt;
		&lt;br /&gt;
;[lastconf_file=last_conf.dat]: this is the file where the last configuration is saved (when the program finishes or is killed). Set to last_conf.dat by default&lt;br /&gt;
&lt;br /&gt;
;[refresh_vel=0]: 0|1&lt;br /&gt;
:if 1 the initial velocities will be refreshed from a maxwellian.&lt;br /&gt;
	&lt;br /&gt;
;energy_file: energy output file.&lt;br /&gt;
		&lt;br /&gt;
;[print_energy_every=1000]: this will make the program print the energies every print_energy_every steps.&lt;br /&gt;
		&lt;br /&gt;
;[no_stdout_energy=0]: 0|1&lt;br /&gt;
:if 1 the energy will be printed just to the energy_file.&lt;br /&gt;
		&lt;br /&gt;
;[time_scale=linear]: linear|log_lin&lt;br /&gt;
:using linear configurations will be saved every print_conf_interval.&lt;br /&gt;
:using log_lin configurations will be saved logarithmically for print_conf_ppc times. After that the logarithmic sequence will restart.&lt;br /&gt;
	&lt;br /&gt;
;print_conf_interval: linear interval if time_scale == linear. First step of the logarithmic scale if time_scale == log_lin.&lt;br /&gt;
		&lt;br /&gt;
;print_conf_ppc: used if time_scale == log_lin&lt;br /&gt;
:points per logarithmic cycle.&lt;br /&gt;
		&lt;br /&gt;
;[print_reduced_conf_every=0]: every print_reduced_conf_every steps the program will print out the reduced configurations (i.e. confs containing only the centers of mass of strands).&lt;br /&gt;
&lt;br /&gt;
;reduced_conf_output_dir: used if print_reduced_conf_every &amp;gt; 0&lt;br /&gt;
:output directory for reduced_conf files.&lt;br /&gt;
		&lt;br /&gt;
;[log_file=stderr]: file where generic and debug informations will be logged. If not specified then stderr will be used.&lt;br /&gt;
	&lt;br /&gt;
;[print_timings=0]: 0|1&lt;br /&gt;
:if 1 the MD step timing have be printed to a file.&lt;br /&gt;
			&lt;br /&gt;
;timings_filename: used if print_timings == 1&lt;br /&gt;
:output file where the MD step timing will be appended to.&lt;br /&gt;
&lt;br /&gt;
==Output files==&lt;br /&gt;
*The log file contains all relevant informations about the simulation (specified options, activated external forces, warnings about misconfiguratios, critical errors, etc.). If the log file is omitted, all these informations will be displayed on the standard output.&lt;br /&gt;
&lt;br /&gt;
*The energy file layout for MD simulations is&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
| time&lt;br /&gt;
| potential energy&lt;br /&gt;
| kinetic energy&lt;br /&gt;
| total energy&lt;br /&gt;
| hydrogen bonding energy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:while for MC simulations is&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
| time&lt;br /&gt;
| potential energy&lt;br /&gt;
| hydrogen bonding energy&lt;br /&gt;
| acceptance ratio for translational moves&lt;br /&gt;
| acceptance ratio for rotational moves&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:Mind that potential, kinetic and total energies are divided by the number of particles whereas the hydrogen bonding energy is not.&lt;br /&gt;
&lt;br /&gt;
*Configurations are saved in the trajectory file.&lt;br /&gt;
&lt;br /&gt;
==Configuration and topology files==&lt;br /&gt;
The current state of a system, as by oxDNA, is described by two files: a configuration file and a topology file. The configuration file contains all the general informations (timestep, energy and box size) and orientations and positions of each nucleotide. The topology file, on the other hand, keeps track of the backbone-backbone bonds between nucleotides in the same strand. Working configuration and topology files can be found in the &amp;lt;tt&amp;gt;[[Examples|EXAMPLES]]&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
The first three rows of a configuration file contain the timestep &amp;lt;tt&amp;gt;T&amp;lt;/tt&amp;gt; at which the configuration has been printed, the length of the box sides &amp;lt;tt&amp;gt;Lx&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;Ly&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Lz&amp;lt;/tt&amp;gt; and the total, potential and kinetic energies, &amp;lt;tt&amp;gt;Etot&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;U&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;K&amp;lt;/tt&amp;gt;, respectively:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t = T&lt;br /&gt;
b = Lz Ly Lz&lt;br /&gt;
E = Etot U K&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
after this header, each row contains position of the centre of mass, orientation, velocity and angular velocity of a single nucleotide in the following order:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overbrace{r_x r_y r_z}^{\rm Position} \overbrace{b_x b_y b_z}^{\rm Backbone-base versor} \overbrace{n_x n_y n_z}^{\rm Normal versor} \overbrace{v_x v_y v_z}^{\rm Velocity} \overbrace{L_x L_y L_z}^{\rm Angular velocity}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Topology file===&lt;br /&gt;
The topology file stores the intra-strand, fixed bonding topology (i.e. which nucleotides share backbone links). The first row contains the total number of nucleotides &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; and the number of strands &amp;lt;tt&amp;gt;Ns&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
N Ns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this header, the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th row specifies strand, base and 3&#039; and 5&#039; neighbors of the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th nucleotide in this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
S B 3&#039; 5&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where S is the number of the strand (starting from 1) which the nucleotide belongs to, B is the base and 3&#039; and 5&#039; specify the index of the nucleotides with which the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th nucleotide is bonded in the 3&#039; and 5&#039; direction, respectively. A &amp;lt;tt&amp;gt;-1&amp;lt;/tt&amp;gt; signals that the nucleotide terminates the strand in either 3&#039; or 5&#039; direction. The topology file of a strand of sequence &amp;lt;tt&amp;gt;GCGTTG&amp;lt;/tt&amp;gt; would be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
6 1&lt;br /&gt;
1 G -1 1&lt;br /&gt;
1 C 0 2&lt;br /&gt;
1 G 1 3&lt;br /&gt;
1 T 2 4&lt;br /&gt;
1 T 3 5&lt;br /&gt;
1 G 4 -1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Specifying the topology in this way can simplify the process of simulating, for example, circular DNA.&lt;br /&gt;
&lt;br /&gt;
===Generation of initial configurations===&lt;br /&gt;
In order to generate initial configuration and topology files, we provide the &amp;lt;tt&amp;gt;${oxDNA}/UTILS/generate-sa.py&amp;lt;/tt&amp;gt; script. The usage of the script is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;generate-sa.py &amp;lt;box side&amp;gt; &amp;lt;file with sequence&amp;gt;&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;&amp;lt;box side&amp;gt;&amp;lt;/tt&amp;gt; specifies the length of the box side in simulation units and &amp;lt;tt&amp;gt;&amp;lt;file with sequence&amp;gt;&amp;lt;/tt&amp;gt; contains the sequence of the strands to be generated, one row per strand. If double strands are needed, each sequence must be preceded by &amp;lt;tt&amp;gt;DOUBLE&amp;lt;/tt&amp;gt;. For example, a file containing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DOUBLE AGGGCT&lt;br /&gt;
CCTGTA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would generate a double strand with a sequence &amp;lt;tt&amp;gt;AGGGCT&amp;lt;/tt&amp;gt; and a single strand with a sequence &amp;lt;tt&amp;gt;CCTGTA&amp;lt;/tt&amp;gt;. The sequences are given in 3&#039;-5&#039; order.&lt;br /&gt;
&lt;br /&gt;
Positions and orientations of the strands are all chosen at random in such a way that the resulting initial configuration does not contain significant excluded volume interactions between nucleotides belonging to different strands. Generated single- and double-strands have helical conformations (i.e. they are in the minimum of the intra-strand interaction energy).&lt;br /&gt;
&lt;br /&gt;
The output configuration and topology are stored in &amp;lt;tt&amp;gt;generated.dat&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;generated.top&amp;lt;/tt&amp;gt;, respectively. &lt;br /&gt;
Since this script will initialize nucleotides&#039; velocities and angular velocities to 0, when performing molecular (or Brownian) dynamics simulation remember to put &amp;lt;tt&amp;gt;refresh_vel = 1&amp;lt;/tt&amp;gt; in the [[Documentation#Input_file|input]] file.&lt;br /&gt;
&lt;br /&gt;
==Analysis of configurations==&lt;br /&gt;
The configurations produced by oxDNA can be analysed with the &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; program in &amp;lt;tt&amp;gt;${oxDNA}/UTILS/process_data/&amp;lt;/tt&amp;gt; directory. This program takes an input the input file (to recover the temperature and topology file), a configuration/trajectory file and an optional number. Since &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; reads analyses a single configuration, the optional number selects the configuration which it needs to analyse in the trajectory. Analysing a whole trajectory can be done by looping over a counter.&lt;br /&gt;
&lt;br /&gt;
Please note that &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; is not compiled automatically. If you never compiled it, do so as described in the [[Download_and_Installation#Installation|installation instructions]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; can be used as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
${oxDNA}/UTILS/process_data/output_bonds &amp;lt;input_file&amp;gt; &amp;lt;trajectory_file&amp;gt; [counter]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program outputs some debugging information to the standard error and information regarding the interaction energies to the standard output. The contributions arising from each of the terms in the potential (see the appendix of [[Publications|Ref. 2]]) are reported for each pair of nucleotides that have non-zero total interactions.&lt;br /&gt;
&lt;br /&gt;
This output can be easily parsed to analyse the configurations.&lt;br /&gt;
&lt;br /&gt;
For each pair of nucleotides that do interact in the configuration, the program prints out a line containing:&lt;br /&gt;
* The id of the two particles (starting from 0)&lt;br /&gt;
* The total interaction energy&lt;br /&gt;
* The hydrogen bonding (base pairing) energy&lt;br /&gt;
* The stacking energy&lt;br /&gt;
* The cross stacking energy&lt;br /&gt;
* The excluded volume energy&lt;br /&gt;
* The FENE interaction energy&lt;br /&gt;
* A letter indicating a status code. This will be &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; for pairs that interact through bonded interactions (i.e. they are neighbors along a strand) and it will be &amp;lt;tt&amp;gt;H&amp;lt;/tt&amp;gt; when a base pair is present. Our definition of base pair is when two nucleotides have a hydrogen bonding energy less than 0.1 in simulation units (see [[Publications|Ref. 2]]).&lt;br /&gt;
&lt;br /&gt;
===Geometry of the Model===&lt;br /&gt;
In the configuration/trajectory files only the positions and orientations of the nucleotides are stored. If one wants to recover the positions of the individual interaction sites in the model, some maths need to be done.&lt;br /&gt;
&lt;br /&gt;
The position of the base, stacking and backbone sites can be recovered as follows:&lt;br /&gt;
&lt;br /&gt;
base site:     (center) + 0.40 * (axis vector)&lt;br /&gt;
&lt;br /&gt;
stacking site: (center) + 0.34 * (axis vector)&lt;br /&gt;
&lt;br /&gt;
backbone site: (center) - 0.40 * (axis_vector)&lt;br /&gt;
&lt;br /&gt;
The picture in the [[Model_introduction|introduction]] might help understanding where the sites are.&lt;br /&gt;
&lt;br /&gt;
==External Forces==&lt;br /&gt;
The code implements several types of external forces that can be imposed on the system that can be used either to simulate tension exerted on DNA or simply to accelerate the formation of secondary or tertiary structure. External forces can be tricky to treat, especially in a dynamics simulation, since they are an external source of work. Care should be taken in adjusting the time step, thermostat parameters and such.&lt;br /&gt;
&lt;br /&gt;
To enable external forces, one needs to specify &amp;lt;tt&amp;gt;external_forces = 1&amp;lt;/tt&amp;gt; in the input file and also supply an external force file to read from with the key &amp;lt;tt&amp;gt;external_forces_file = &amp;lt;file&amp;gt;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The syntax of the external forces file is quite simple. Examples of such files can be found in the [[Hairpin_formation|hairpin formation]] and [[Pseudoknot|Pseudoknot formation]] examples. Each force is specified within a block contained in curly brackets. Empty lines and lines beginning with an hash symbol (&amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt;) are ignored. Different forces require different keys to be present. If the file has the wrong syntax, oxDNA should spit out a sensible error message while parsing the file.&lt;br /&gt;
&lt;br /&gt;
The different types of forces implemented at the moment are:&lt;br /&gt;
* harmonic trap&lt;br /&gt;
* string &lt;br /&gt;
* repulsion plane&lt;br /&gt;
* mutual trap&lt;br /&gt;
&lt;br /&gt;
All forces act on the centre of the particle.&lt;br /&gt;
&lt;br /&gt;
Forces of different kinds can be combined in the same simulation. There is a maximum number of 10 external forces per particle for memory reasons. This can be manually overridden recompiling the code with a different value of the macro &amp;lt;tt&amp;gt;MAX_EXT_FORCES&amp;lt;/tt&amp;gt; (currently 10) in &amp;lt;tt&amp;gt;defs.h&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===String===&lt;br /&gt;
A string is implemented as a force that does not depend on the particle position. Its value can be constant or can change linearly with time. It is useful as it does not fluctuate with time.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = string&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force&lt;br /&gt;
* &#039;&#039;&#039;F0&#039;&#039;&#039; (float) the value of the force at time = 0 in simulation units (please note that the value of the time may or may not be reset when starting a simulation, depending on the input file)&lt;br /&gt;
* &#039;&#039;&#039;rate&#039;&#039;&#039; (float) growing rate of the force (simulation units/time steps). Typical values are very small (&amp;lt; 10^(-5))&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) direction of the force (automatically normalised by the code)&lt;br /&gt;
&lt;br /&gt;
The following bit of code will create an external force on the first nucleotide in the system starting at 1 simulation units (48.15 pN) and growing linearly with time at the rate of 48.15pN every million time steps. The force will pull the nucleotide along the &amp;lt;tt&amp;gt;z&amp;lt;/tt&amp;gt; direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = string&lt;br /&gt;
particle = 0&lt;br /&gt;
F0 = 1.&lt;br /&gt;
rate = 1e-6&lt;br /&gt;
dir = 0., 0., 1.&lt;br /&gt;
} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Harmonic trap===&lt;br /&gt;
This type of force implements an harmonic trap, of arbitrary stiffness, that can move linearly with time. It can be useful to fix the position of the nucleotides to simulate attachment to something or to implement (quasi) constant extension simulations.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = trap&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force&lt;br /&gt;
* &#039;&#039;&#039;pos0&#039;&#039;&#039; (3 floats separated by commas) rest position of the trap&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap (the force is stiff * dx)&lt;br /&gt;
* &#039;&#039;&#039;rate&#039;&#039;&#039; (float) speed of the trap (length simulation units/time steps)&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) direction of movement of the trap&lt;br /&gt;
&lt;br /&gt;
Here is an example input for a harmonic trap acting on the third nucleotide constraining it to stay close to the origin. In this example the trap does not move (&amp;lt;tt&amp;gt;rate=0&amp;lt;/tt&amp;gt;), but one could have it move at a constant speed along the direction specified by &amp;lt;tt&amp;gt;dir&amp;lt;/tt&amp;gt;, in this case the &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = trap&lt;br /&gt;
particle = 2&lt;br /&gt;
pos0 = 0., 0., 0.&lt;br /&gt;
stiff = 1.0&lt;br /&gt;
rate = 0.&lt;br /&gt;
dir = 1.,0.,0.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the trap does not comply with periodic boundary conditions. This is most likely what you want.&lt;br /&gt;
&lt;br /&gt;
===Repulsion plane===&lt;br /&gt;
This kind of external force implements a repulsion plane that constrains a particle (or the whole system) to stay on one side of it. It is implemented as a harmonic repulsion, but the stiffness can be made arbitrarily high to mimic a hard repulsion.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = repulsion_plane&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force. If set to the special value -1, the force will be exerted on all particles.&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap (the force is stiff * D, where D is distance from the plane. The force is exerted only if the nucleotide is below the plane)&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) a direction normal to the plane&lt;br /&gt;
* &#039;&#039;&#039;position&#039;&#039;&#039; (1 float number) specifies the position of the plane&lt;br /&gt;
&lt;br /&gt;
If direction is &amp;lt;tt&amp;gt; direction =  u,v,w &amp;lt;/tt&amp;gt; , then the plane contains all the points (x,y,z) that satisfy the equation: u*x + v*y + w*z + position = 0.&lt;br /&gt;
Only nucleotides  with coordinates (x,y,z) that satisfy u*x + v*y + w*z + position &amp;lt; 0 will feel the force.&lt;br /&gt;
The force exerted on a nucleotide is equal to stiff * D, where D is the distance of the nucleotide from the plane, where &amp;lt;math&amp;gt; D = | ux + vy + wz + \mbox{position}| / \sqrt{v^2 + u^2 + z^2 }.&amp;lt;/math&amp;gt;&lt;br /&gt;
For nucleotides for which u*x + v*y + w*z + position &amp;gt;= 0, no force will be exerted.&lt;br /&gt;
&lt;br /&gt;
Here is an example. This plane acts on the whole system and will not exert any force on nucleotides with a positive &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; coordinate. A force proportional to 96.3pN * (&amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; coordinate) will be exerted on all particles . &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = repulsion_plane&lt;br /&gt;
#whole system&lt;br /&gt;
particle = -1&lt;br /&gt;
stiff = 1. #96.3 pN in simulation units&lt;br /&gt;
dir = 1, 0, 0&lt;br /&gt;
position = 0&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If in the above example you would specify position = 3, then the force would be exerted on all nucleotides with coordinate x &amp;gt; -3.&lt;br /&gt;
&lt;br /&gt;
===Mutual trap===&lt;br /&gt;
This force is useful to form initial configurations. It is a harmonic force that at every moment pulls a particle towards a reference particle. It is possible to specify the separation at which the force will be 0.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = mutual_trap&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force.&lt;br /&gt;
* &#039;&#039;&#039;ref_particle&#039;&#039;&#039; (int) particle to pull towards. Please note that this particle will not feel any force (the name mutual trap is thus misleading).&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap&lt;br /&gt;
* &#039;&#039;&#039;r0&#039;&#039;&#039; (float) equilibrium distance of the trap.&lt;br /&gt;
&lt;br /&gt;
Here is an example, extracted from the [[Pseudoknot|pseudoknot formation example]]. This will pull particle 14 towards particle 39, favouring an equilibrium distance of 1.4 (which corresponds roughly to the minimum of the hydrogen bonding potential, not a coincidence). The same force with opposite sign is exerted on particle 39 through a separate force. It is not necessary to have both particles feel the force, but it is usually works much better.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = mutual_trap&lt;br /&gt;
particle = 14&lt;br /&gt;
ref_particle = 39&lt;br /&gt;
stiff = 1.&lt;br /&gt;
r0 = 1.2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
type = mutual_trap&lt;br /&gt;
particle = 39&lt;br /&gt;
ref_particle = 14&lt;br /&gt;
stiff = 1.&lt;br /&gt;
r0 = 1.2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Visualisation of structures==&lt;br /&gt;
oxDNA produces a trajectory file where all the relevant information is&lt;br /&gt;
stored. A converter is provided (&amp;lt;tt&amp;gt;traj2vis.py&amp;lt;/tt&amp;gt;) in the&lt;br /&gt;
&amp;lt;tt&amp;gt;UTILS&amp;lt;/tt&amp;gt; directory that is able to produce files in the &amp;lt;tt&amp;gt;xyz&amp;lt;/tt&amp;gt;&lt;br /&gt;
and &amp;lt;tt&amp;gt;pdb&amp;lt;/tt&amp;gt; formats. The same program can be used on a configuration&lt;br /&gt;
file and it will produce a snapshot.&lt;br /&gt;
&lt;br /&gt;
Since the model is coarse-grained, we have to &amp;quot;trick&amp;quot; the visualisers into&lt;br /&gt;
thinking that the interaction sites in the model are actually atoms.&lt;br /&gt;
Advanced nucleic acids representations such as ribbons will not work on the&lt;br /&gt;
outputs.&lt;br /&gt;
&lt;br /&gt;
All the images in the [[Screenshots]] page were produced with the pdb representation using UCSF chimera (see later on).&lt;br /&gt;
&lt;br /&gt;
===xyz format===&lt;br /&gt;
&lt;br /&gt;
just run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$oxDNA/UTILS/traj2vis.py xyz &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;tt&amp;gt;$oxDNA&amp;lt;/tt&amp;gt; is the oxDNA source directory) to get the xyz representation in a file called the same as the trajectory&lt;br /&gt;
file with &amp;lt;tt&amp;gt;.xyz&amp;lt;/tt&amp;gt; appended. Please note that boundary conditions are&lt;br /&gt;
implemented strand-wise, so strands that are bound might appear at two&lt;br /&gt;
different sizes of the box. Also, the center of mass of the system (where&lt;br /&gt;
each strand is weighted the same regardless of the length) is set to 0 at&lt;br /&gt;
each frame. Carbons represent the backbone sites and oxygens the base sites.&lt;br /&gt;
&lt;br /&gt;
The resulting file can be read with a variety of programs. Here we will&lt;br /&gt;
explain how to visualise it sensibly in [http://www.ks.uiuc.edu/Research/vmd/ VMD].&lt;br /&gt;
&lt;br /&gt;
* Run VMD and load the xyz file.&lt;br /&gt;
* In the graphics menu, go to Representations.&lt;br /&gt;
* In the Selected Atoms line, input &amp;lt;tt&amp;gt;name C&amp;lt;/tt&amp;gt;. Also select Drawing method CPK, sphere scale 0.8 and Bond Radius 0.&lt;br /&gt;
* In the Selected Atoms line, input &amp;lt;tt&amp;gt;name O&amp;lt;/tt&amp;gt;. Also select Drawing method CPK, sphere scale 0.6 and Bond Radius 0.&lt;br /&gt;
&lt;br /&gt;
This should produce a ball representation of our model DNA. Bonds&lt;br /&gt;
automatically produced by VMD are NOT meaningful in our context.&lt;br /&gt;
&lt;br /&gt;
===pdb format===&lt;br /&gt;
Run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$oxDNA/UTILS/traj2vis.py xyz &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to produce a trajectory/configuration in the pdb format. A further file&lt;br /&gt;
called &amp;lt;tt&amp;gt;chimera.com&amp;lt;/tt&amp;gt; will be produced (more on this later). All&lt;br /&gt;
comments above about periodic boundaries and centre of mass apply here as&lt;br /&gt;
well.&lt;br /&gt;
&lt;br /&gt;
The pdb file can be visualised in VMD just like the xyz format, but a nicer&lt;br /&gt;
output can be produced with [http://www.cgl.ucsf.edu/chimera/ UCSF Chimera] (although only for snapshots at&lt;br /&gt;
the moment) as follows:&lt;br /&gt;
&lt;br /&gt;
Run chimera and load the pdb file. An ugly output will be displayed.&lt;br /&gt;
&lt;br /&gt;
Bring up the command line under the &amp;lt;tt&amp;gt;Tools → General Controls&amp;lt;/tt&amp;gt; menu.&lt;br /&gt;
Input &amp;lt;tt&amp;gt;read chimera.com&amp;lt;/tt&amp;gt; in the command line and press enter. You&lt;br /&gt;
should get a nicer visualisation with different bases in different colors,&lt;br /&gt;
all the covalent bonds in the right place, etc.&lt;br /&gt;
&lt;br /&gt;
On large configurations, the production of ellipsoids will be extremely&lt;br /&gt;
slow. You can remove it by removing the line&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;aniso scale 0.75 smoothing 4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the commands file. Loading the resulting file should be much faster.&lt;br /&gt;
&lt;br /&gt;
UCSF chimera can in turn export the scene in a variety of formats.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Documentation&amp;diff=588</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Documentation&amp;diff=588"/>
		<updated>2012-09-24T14:00:13Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Compile options==&lt;br /&gt;
&lt;br /&gt;
Compiling oxDNA requires that you change the first rows in the makefile to match your machine configuration. The following parameters can be passed to make:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;dbg=1&#039;&#039;&#039; oxDNA will be compiled with debug flags (both for nvcc and gcc). The resulting executable will be put in the Debug directory.&lt;br /&gt;
*&#039;&#039;&#039;g=1&#039;&#039;&#039; oxDNA will be compiled with both debug and optimization flags. The resulting executable will be put in the Release directory.&lt;br /&gt;
*&#039;&#039;&#039;intel=1&#039;&#039;&#039; oxDNA will be compiled using the Intel icpc compiler. The resulting executable will be named oxDNA_intel.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oxDNA input_file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The input file contains all the relevant information for the program to run, such as what initial configuration to use, the topology of the system, how often to print the energies to a file, etc. Please make sure you read the [[Thermostat|thermostat]] page if you use molecular dynamics.&lt;br /&gt;
&lt;br /&gt;
==Input file==&lt;br /&gt;
&lt;br /&gt;
As always in UNIX environments, everything is case sensitive.&lt;br /&gt;
The options are in the form key = value. There can be arbitrary spaces before and after both key and value. Line with a leading # will be treated as comments.&lt;br /&gt;
In this part | (pipe) is the separator between the different values that can be used to specify a value for the key.&lt;br /&gt;
Keys between [ and ] are optional, the value after the equal sign is the default value.&lt;br /&gt;
&lt;br /&gt;
===Generic options===&lt;br /&gt;
The options listed here define the generic behavior of the entire program.&lt;br /&gt;
;[sim_type=MD]: MD|MC&lt;br /&gt;
:MD = Molecular Dynamics, MC = Monte Carlo&lt;br /&gt;
;backend: CPU&lt;br /&gt;
;backend_precision: float|double&lt;br /&gt;
;[debug=0]: 0|1&lt;br /&gt;
: 1 if you want verbose logs, 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
===Simulation options===&lt;br /&gt;
	The options listed here specify the behaviour of the simulation.&lt;br /&gt;
&lt;br /&gt;
;steps: number of steps to be performed.&lt;br /&gt;
		&lt;br /&gt;
;[restart_step_counter=0]: 0|1&lt;br /&gt;
:0 means that the step counter will start from the value read in the configuration file; if 1, the step counter will be reset to 0. The total duration of the simulation is unchanged.&lt;br /&gt;
			&lt;br /&gt;
;[seed=time(NULL)]: seed for the random number generator. On Unix systems, it will use by default a number from /dev/urandom + time(NULL)&lt;br /&gt;
		&lt;br /&gt;
;T: temperature of the simulation. It can be expressed in simulation units or kelvin (append a k or K after the value) or celsius (append a c or C after the value).&lt;br /&gt;
:Examples:&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Value&lt;br /&gt;
! Simulation Units&lt;br /&gt;
|-&lt;br /&gt;
| 0.1&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300k&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85c&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85 C &lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
		&lt;br /&gt;
;verlet_skin: if a particle moves more than verlet_skin then the lists will be updated. Its name is somewhat misleading: the actual verlet skin is 2*verlet_skin.&lt;br /&gt;
	&lt;br /&gt;
;[use_average_seq=1]: 0|1&lt;br /&gt;
: specifies whether to use the default hard-coded average parameters for base-pairing and stacking interaction strengths or not. If sequence dependence is to be used, set this to 0 and specify seq_dep_file.&lt;br /&gt;
	&lt;br /&gt;
;[seq_dep_file]: specifies the file from which the sequence dependent parameters should be read. Mandatory if use_average_seq=no, ignored otherwise. A sample file is provided (sequence_dependent_parameters.txt).&lt;br /&gt;
&lt;br /&gt;
;[external_forces=0]: 0|1&lt;br /&gt;
: specifies whether there are external forces acting on the nucleotides or not. If it is set to 1, then a file which specifies the external forces&#039; configuration has to be provided (see external_forces_file).&lt;br /&gt;
&lt;br /&gt;
;[external_forces_file]: specifies the file containing all the external forces&#039; configurations. Currently there are six supported force types (see EXAMPLES/TRAPS for some examples):&lt;br /&gt;
:*string&lt;br /&gt;
:*twist&lt;br /&gt;
:*trap&lt;br /&gt;
:*repulsion_plane&lt;br /&gt;
:*repulsion_plane_moving&lt;br /&gt;
:*mutual_trap&lt;br /&gt;
	&lt;br /&gt;
====Molecular dynamics simulations options====&lt;br /&gt;
&lt;br /&gt;
;dt: time step of the integration.&lt;br /&gt;
&lt;br /&gt;
;thermostat: no|refresh|john &lt;br /&gt;
:no means no thermostat will be used. refresh will refresh all the particle&#039;s velocities from a maxwellian every newtonian_steps steps. john is an Anderson-like thermostat (see pt). Make sure you read [[Thermostat|thermostat]].&lt;br /&gt;
&lt;br /&gt;
;newtonian_steps: required if thermostat != no&lt;br /&gt;
:number of steps after which a procedure of thermalization will be performed.&lt;br /&gt;
			&lt;br /&gt;
;pt: used if thermostat == john. It&#039;s the probability that a particle&#039;s velocity will be refreshed during a thermalization procedure.&lt;br /&gt;
		&lt;br /&gt;
;diff_coeff: required if pt is not specified&lt;br /&gt;
:used internally to automatically compute the pt that would be needed if we wanted such a self diffusion coefficient. Not used if pt is set.&lt;br /&gt;
&lt;br /&gt;
====Monte Carlo simulations options====&lt;br /&gt;
	&lt;br /&gt;
;[check_energy_every=10]: this number times print_energy_every gives the number of steps after which the energy will be computed from scratch and checked against the actual value computed adding energy differences.&lt;br /&gt;
		&lt;br /&gt;
;[check_energy_threshold=1e-4]:	if abs((old_energy - new_energy)/old_energy) &amp;gt; check_energy_threshold then the program will die and warn the user.&lt;br /&gt;
	&lt;br /&gt;
;ensemble: NVT&lt;br /&gt;
:ensemble of the simulation. More ensembles could be added in future versions.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement (per dimension) for translational moves in simulation units.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement for rotational moves in simulation units.&lt;br /&gt;
&lt;br /&gt;
===Input/output===&lt;br /&gt;
The options listed here are used to manage the I/O (read and write configurations, energies and so on)&lt;br /&gt;
	&lt;br /&gt;
;conf_file: initial configuration file. &lt;br /&gt;
		&lt;br /&gt;
;topology: file containing the system&#039;s topology.&lt;br /&gt;
		&lt;br /&gt;
;trajectory_file: the main output of the program. All the configurations will be appended to this file as they are printed.&lt;br /&gt;
		&lt;br /&gt;
;[confs_to_skip=0]: valid only if conf_file is a trajectory. Skip the first confs_to_skip configurations and then load in memory the (confs_to_skip+1)th.&lt;br /&gt;
		&lt;br /&gt;
;[lastconf_file=last_conf.dat]: this is the file where the last configuration is saved (when the program finishes or is killed). Set to last_conf.dat by default&lt;br /&gt;
&lt;br /&gt;
;[refresh_vel=0]: 0|1&lt;br /&gt;
:if 1 the initial velocities will be refreshed from a maxwellian.&lt;br /&gt;
	&lt;br /&gt;
;energy_file: energy output file.&lt;br /&gt;
		&lt;br /&gt;
;[print_energy_every=1000]: this will make the program print the energies every print_energy_every steps.&lt;br /&gt;
		&lt;br /&gt;
;[no_stdout_energy=0]: 0|1&lt;br /&gt;
:if 1 the energy will be printed just to the energy_file.&lt;br /&gt;
		&lt;br /&gt;
;[time_scale=linear]: linear|log_lin&lt;br /&gt;
:using linear configurations will be saved every print_conf_interval.&lt;br /&gt;
:using log_lin configurations will be saved logarithmically for print_conf_ppc times. After that the logarithmic sequence will restart.&lt;br /&gt;
	&lt;br /&gt;
;print_conf_interval: linear interval if time_scale == linear. First step of the logarithmic scale if time_scale == log_lin.&lt;br /&gt;
		&lt;br /&gt;
;print_conf_ppc: used if time_scale == log_lin&lt;br /&gt;
:points per logarithmic cycle.&lt;br /&gt;
		&lt;br /&gt;
;[print_reduced_conf_every=0]: every print_reduced_conf_every steps the program will print out the reduced configurations (i.e. confs containing only the centers of mass of strands).&lt;br /&gt;
&lt;br /&gt;
;reduced_conf_output_dir: used if print_reduced_conf_every &amp;gt; 0&lt;br /&gt;
:output directory for reduced_conf files.&lt;br /&gt;
		&lt;br /&gt;
;[log_file=stderr]: file where generic and debug informations will be logged. If not specified then stderr will be used.&lt;br /&gt;
	&lt;br /&gt;
;[print_timings=0]: 0|1&lt;br /&gt;
:if 1 the MD step timing have be printed to a file.&lt;br /&gt;
			&lt;br /&gt;
;timings_filename: used if print_timings == 1&lt;br /&gt;
:output file where the MD step timing will be appended to.&lt;br /&gt;
&lt;br /&gt;
==Output files==&lt;br /&gt;
*The log file contains all relevant informations about the simulation (specified options, activated external forces, warnings about misconfiguratios, critical errors, etc.). If the log file is omitted, all these informations will be displayed on the standard output.&lt;br /&gt;
&lt;br /&gt;
*The energy file layout for MD simulations is&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
| time&lt;br /&gt;
| potential energy&lt;br /&gt;
| kinetic energy&lt;br /&gt;
| total energy&lt;br /&gt;
| hydrogen bonding energy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:while for MC simulations is&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
| time&lt;br /&gt;
| potential energy&lt;br /&gt;
| hydrogen bonding energy&lt;br /&gt;
| acceptance ratio for translational moves&lt;br /&gt;
| acceptance ratio for rotational moves&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:Mind that potential, kinetic and total energies are divided by the number of particles whereas the hydrogen bonding energy is not.&lt;br /&gt;
&lt;br /&gt;
*Configurations are saved in the trajectory file.&lt;br /&gt;
&lt;br /&gt;
==Configuration and topology files==&lt;br /&gt;
The current state of a system, as by oxDNA, is described by two files: a configuration file and a topology file. The configuration file contains all the general informations (timestep, energy and box size) and orientations and positions of each nucleotide. The topology file, on the other hand, keeps track of the backbone-backbone bonds between nucleotides in the same strand. Working configuration and topology files can be found in the &amp;lt;tt&amp;gt;[[Examples|EXAMPLES]]&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
The first three rows of a configuration file contain the timestep &amp;lt;tt&amp;gt;T&amp;lt;/tt&amp;gt; at which the configuration has been printed, the length of the box sides &amp;lt;tt&amp;gt;Lx&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;Ly&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Lz&amp;lt;/tt&amp;gt; and the total, potential and kinetic energies, &amp;lt;tt&amp;gt;Etot&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;U&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;K&amp;lt;/tt&amp;gt;, respectively:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t = T&lt;br /&gt;
b = Lz Ly Lz&lt;br /&gt;
E = Etot U K&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
after this header, each row contains position of the centre of mass, orientation, velocity and angular velocity of a single nucleotide in the following order:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overbrace{r_x r_y r_z}^{\rm Position} \overbrace{b_x b_y b_z}^{\rm Backbone-base versor} \overbrace{n_x n_y n_z}^{\rm Normal versor} \overbrace{v_x v_y v_z}^{\rm Velocity} \overbrace{L_x L_y L_z}^{\rm Angular velocity}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Topology file===&lt;br /&gt;
The topology file stores the intra-strand, fixed bonding topology (i.e. which nucleotides share backbone links). The first row contains the total number of nucleotides &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; and the number of strands &amp;lt;tt&amp;gt;Ns&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
N Ns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this header, the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th row specifies strand, base and 3&#039; and 5&#039; neighbors of the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th nucleotide in this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
S B 3&#039; 5&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where S is the number of the strand (starting from 1) which the nucleotide belongs to, B is the base and 3&#039; and 5&#039; specify the index of the nucleotides with which the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th nucleotide is bonded in the 3&#039; and 5&#039; direction, respectively. A &amp;lt;tt&amp;gt;-1&amp;lt;/tt&amp;gt; signals that the nucleotide terminates the strand in either 3&#039; or 5&#039; direction. The topology file of a strand of sequence &amp;lt;tt&amp;gt;GCGTTG&amp;lt;/tt&amp;gt; would be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
6 1&lt;br /&gt;
1 G -1 1&lt;br /&gt;
1 C 0 2&lt;br /&gt;
1 G 1 3&lt;br /&gt;
1 T 2 4&lt;br /&gt;
1 T 3 5&lt;br /&gt;
1 G 4 -1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Specifying the topology in this way can simplify the process of simulating, for example, circular DNA.&lt;br /&gt;
&lt;br /&gt;
===Generation of initial configurations===&lt;br /&gt;
In order to generate initial configuration and topology files, we provide the &amp;lt;tt&amp;gt;${oxDNA}/UTILS/generate-sa.py&amp;lt;/tt&amp;gt; script. The usage of the script is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;generate-sa.py &amp;lt;box side&amp;gt; &amp;lt;file with sequence&amp;gt;&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;&amp;lt;box side&amp;gt;&amp;lt;/tt&amp;gt; specifies the length of the box side in simulation units and &amp;lt;tt&amp;gt;&amp;lt;file with sequence&amp;gt;&amp;lt;/tt&amp;gt; contains the sequence of the strands to be generated, one row per strand. If double strands are needed, each sequence must be preceded by &amp;lt;tt&amp;gt;DOUBLE&amp;lt;/tt&amp;gt;. For example, a file containing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DOUBLE AGGGCT&lt;br /&gt;
CCTGTA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would generate a double strand with a sequence &amp;lt;tt&amp;gt;AGGGCT&amp;lt;/tt&amp;gt; and a single strand with a sequence &amp;lt;tt&amp;gt;CCTGTA&amp;lt;/tt&amp;gt;. The sequences are given in 3&#039;-5&#039; order.&lt;br /&gt;
&lt;br /&gt;
Positions and orientations of the strands are all chosen at random in such a way that the resulting initial configuration does not contain significant excluded volume interactions between nucleotides belonging to different strands. Generated single- and double-strands have helical conformations (i.e. they are in the minimum of the intra-strand interaction energy).&lt;br /&gt;
&lt;br /&gt;
The output configuration and topology are stored in &amp;lt;tt&amp;gt;generated.dat&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;generated.top&amp;lt;/tt&amp;gt;, respectively. &lt;br /&gt;
Since this script will initialize nucleotides&#039; velocities and angular velocities to 0, when performing molecular (or Brownian) dynamics simulation remember to put &amp;lt;tt&amp;gt;refresh_vel = 1&amp;lt;/tt&amp;gt; in the [[Documentation#Input_file|input]] file.&lt;br /&gt;
&lt;br /&gt;
==Analysis of configurations==&lt;br /&gt;
The configurations produced by oxDNA can be analysed with the &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; program in &amp;lt;tt&amp;gt;${oxDNA}/UTILS/process_data/&amp;lt;/tt&amp;gt; directory. This program takes an input the input file (to recover the temperature and topology file), a configuration/trajectory file and an optional number. Since &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; reads analyses a single configuration, the optional number selects the configuration which it needs to analyse in the trajectory. Analysing a whole trajectory can be done by looping over a counter.&lt;br /&gt;
&lt;br /&gt;
Please note that &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; is not compiled automatically. If you never compiled it, do so as described in the [[Download_and_Installation#Installation|installation instructions]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; can be used as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
${oxDNA}/UTILS/process_data/output_bonds &amp;lt;input_file&amp;gt; &amp;lt;trajectory_file&amp;gt; [counter]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program outputs some debugging information to the standard error and information regarding the interaction energies to the standard output. The contributions arising from each of the terms in the potential (see the appendix of [[Publications|Ref. 2]]) are reported for each pair of nucleotides that have non-zero total interactions.&lt;br /&gt;
&lt;br /&gt;
This output can be easily parsed to analyse the configurations.&lt;br /&gt;
&lt;br /&gt;
For each pair of nucleotides that do interact in the configuration, the program prints out a line containing:&lt;br /&gt;
* The id of the two particles (starting from 0)&lt;br /&gt;
* The total interaction energy&lt;br /&gt;
* The hydrogen bonding (base pairing) energy&lt;br /&gt;
* The stacking energy&lt;br /&gt;
* The cross stacking energy&lt;br /&gt;
* The excluded volume energy&lt;br /&gt;
* The FENE interaction energy&lt;br /&gt;
* A letter indicating a status code. This will be &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; for pairs that interact through bonded interactions (i.e. they are neighbors along a strand) and it will be &amp;lt;tt&amp;gt;H&amp;lt;/tt&amp;gt; when a base pair is present. Our definition of base pair is when two nucleotides have a hydrogen bonding energy less than 0.1 in simulation units (see [[Publications|Ref. 2]]).&lt;br /&gt;
&lt;br /&gt;
===Geometry of the Model===&lt;br /&gt;
In the configuration/trajectory files only the positions and orientations of the nucleotides are stored. If one wants to recover the positions of the individual interaction sites in the model, some maths need to be done.&lt;br /&gt;
&lt;br /&gt;
The position of the base, stacking and backbone sites can be recovered as follows:&lt;br /&gt;
&lt;br /&gt;
base site:     (center) + 0.40 * (axis vector)&lt;br /&gt;
&lt;br /&gt;
stacking site: (center) + 0.34 * (axis vector)&lt;br /&gt;
&lt;br /&gt;
backbone site: (center) - 0.40 * (axis_vector)&lt;br /&gt;
&lt;br /&gt;
The picture in the [[Model_introduction|introduction]] might help understanding where the sites are.&lt;br /&gt;
&lt;br /&gt;
==External Forces==&lt;br /&gt;
The code implements several types of external forces that can be imposed on the system that can be used either to simulate tension exerted on DNA or simply to accelerate the formation of secondary or tertiary structure. External forces can be tricky to treat, especially in a dynamics simulation, since they are an external source of work. Care should be taken in adjusting the time step, thermostat parameters and such.&lt;br /&gt;
&lt;br /&gt;
To enable external forces, one needs to specify &amp;lt;tt&amp;gt;external_forces = 1&amp;lt;/tt&amp;gt; in the input file and also supply an external force file to read from with the key &amp;lt;tt&amp;gt;external_forces_file = &amp;lt;file&amp;gt;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The syntax of the external forces file is quite simple. Examples of such files can be found in the [[Hairpin_formation|hairpin formation]] and [[Pseudoknot|Pseudoknot formation]] examples. Each force is specified within a block contained in curly brackets. Empty lines and lines beginning with an hash symbol (&amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt;) are ignored. Different forces require different keys to be present. If the file has the wrong syntax, oxDNA should spit out a sensible error message while parsing the file.&lt;br /&gt;
&lt;br /&gt;
The different types of forces implemented at the moment are:&lt;br /&gt;
* harmonic trap&lt;br /&gt;
* string &lt;br /&gt;
* repulsion plane&lt;br /&gt;
* mutual trap&lt;br /&gt;
&lt;br /&gt;
All forces act on the centre of the particle.&lt;br /&gt;
&lt;br /&gt;
Forces of different kinds can be combined in the same simulation. There is a maximum number of 10 external forces per particle for memory reasons. This can be manually overridden recompiling the code with a different value of the macro &amp;lt;tt&amp;gt;MAX_EXT_FORCES&amp;lt;/tt&amp;gt; (currently 10) in &amp;lt;tt&amp;gt;defs.h&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===String===&lt;br /&gt;
A string is implemented as a force that does not depend on the particle position. Its value can be constant or can change linearly with time. It is useful as it does not fluctuate with time.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = string&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force&lt;br /&gt;
* &#039;&#039;&#039;F0&#039;&#039;&#039; (float) the value of the force at time = 0 in simulation units (please note that the value of the time may or may not be reset when starting a simulation, depending on the input file)&lt;br /&gt;
* &#039;&#039;&#039;rate&#039;&#039;&#039; (float) growing rate of the force (simulation units/time steps). Typical values are very small (&amp;lt; 10^(-5))&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) direction of the force (automatically normalised by the code)&lt;br /&gt;
&lt;br /&gt;
The following bit of code will create an external force on the first nucleotide in the system starting at 1 simulation units (48.15 pN) and growing linearly with time at the rate of 48.15pN every million time steps. The force will pull the nucleotide along the &amp;lt;tt&amp;gt;z&amp;lt;/tt&amp;gt; direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = string&lt;br /&gt;
particle = 0&lt;br /&gt;
F0 = 1.&lt;br /&gt;
rate = 1e-6&lt;br /&gt;
dir = 0., 0., 1.&lt;br /&gt;
} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Harmonic trap===&lt;br /&gt;
This type of force implements an harmonic trap, of arbitrary stiffness, that can move linearly with time. It can be useful to fix the position of the nucleotides to simulate attachment to something or to implement (quasi) constant extension simulations.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = trap&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force&lt;br /&gt;
* &#039;&#039;&#039;pos0&#039;&#039;&#039; (3 floats separated by commas) rest position of the trap&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap (the force is stiff * dx)&lt;br /&gt;
* &#039;&#039;&#039;rate&#039;&#039;&#039; (float) speed of the trap (length simulation units/time steps)&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) direction of movement of the trap&lt;br /&gt;
&lt;br /&gt;
Here is an example input for a harmonic trap acting on the third nucleotide constraining it to stay close to the origin. In this example the trap does not move (&amp;lt;tt&amp;gt;rate=0&amp;lt;/tt&amp;gt;), but one could have it move at a constant speed along the direction specified by &amp;lt;tt&amp;gt;dir&amp;lt;/tt&amp;gt;, in this case the &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = trap&lt;br /&gt;
particle = 2&lt;br /&gt;
pos0 = 0., 0., 0.&lt;br /&gt;
stiff = 1.0&lt;br /&gt;
rate = 0.&lt;br /&gt;
dir = 1.,0.,0.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the trap does not comply with periodic boundary conditions. This is most likely what you want.&lt;br /&gt;
&lt;br /&gt;
===Repulsion plane===&lt;br /&gt;
This kind of external force implements a repulsion plane that constrains a particle (or the whole system) to stay on one side of it. It is implemented as a harmonic repulsion, but the stiffness can be made arbitrarily high to mimic a hard repulsion.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = repulsion_plane&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force. If set to the special value -1, the force will be exerted on all particles.&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap (the force is stiff * D, where D is distance from the plane. The force is exerted only if the nucleotide is below the plane)&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) a direction normal to the plane&lt;br /&gt;
* &#039;&#039;&#039;position&#039;&#039;&#039; (1 float number) specifies the position of the plane&lt;br /&gt;
&lt;br /&gt;
If direction is &amp;lt;tt&amp;gt; direction =  u,v,w &amp;lt;/tt&amp;gt; , then the plane contains all the points (x,y,z) that satisfy the equation: u*x + v*y + w*z + position = 0.&lt;br /&gt;
Only nucleotides  with coordinates (x,y,z) that satisfy u*x + v*y + w*z + position &amp;lt; 0 will feel the force.&lt;br /&gt;
The force exerted on a nucleotide is equal to stiff * D, where D is the distance of the nucleotide from the plane, where &amp;lt;math&amp;gt; D = | ux + vy + wz + \mbox{position}| / \sqrt{v^2 + u^2 + z^2 }.&amp;lt;/math&amp;gt;&lt;br /&gt;
For nucleotides for which u*x + v*y + w*z + position &amp;gt;= 0, no force will be exerted.&lt;br /&gt;
&lt;br /&gt;
Here is an example. This plane acts on the whole system and will not exert any force on nucleotides with a positive &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; coordinate. A force proportional to 96.3pN * (&amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; coordinate) will be exerted on all particles . &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = repulsion_plane&lt;br /&gt;
#whole system&lt;br /&gt;
particle = -1&lt;br /&gt;
stiff = 1. #96.3 pN in simulation units&lt;br /&gt;
dir = 1, 0, 0&lt;br /&gt;
position = 0&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If in the above example you would specify position = 3, then the force would be exerted on all nucleotides with coordinate x &amp;gt; -3.&lt;br /&gt;
&lt;br /&gt;
===Mutual trap===&lt;br /&gt;
This force is useful to form initial configurations. It is a harmonic force that at every moment pulls a particle towards a reference particle. It is possible to specify the separation at which the force will be 0.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = mutual_trap&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force.&lt;br /&gt;
* &#039;&#039;&#039;ref_particle&#039;&#039;&#039; (int) particle to pull towards. Please note that this particle will not feel any force (the name mutual trap is thus misleading).&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap&lt;br /&gt;
* &#039;&#039;&#039;r0&#039;&#039;&#039; (float) equilibrium distance of the trap.&lt;br /&gt;
&lt;br /&gt;
Here is an example, extracted from the [[Pseudoknot|pseudoknot formation example]]. This will pull particle 14 towards particle 39, favouring an equilibrium distance of 1.4 (which corresponds roughly to the minimum of the hydrogen bonding potential, not a coincidence). The same force with opposite sign is exerted on particle 39 through a separate force. It is not necessary to have both particles feel the force, but it is usually works much better.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = mutual_trap&lt;br /&gt;
particle = 14&lt;br /&gt;
ref_particle = 39&lt;br /&gt;
stiff = 1.&lt;br /&gt;
r0 = 1.2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
type = mutual_trap&lt;br /&gt;
particle = 39&lt;br /&gt;
ref_particle = 14&lt;br /&gt;
stiff = 1.&lt;br /&gt;
r0 = 1.2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Visualisation of structures==&lt;br /&gt;
oxDNA produces a trajectory file where all the relevant information is&lt;br /&gt;
stored. A converter is provided (&amp;lt;tt&amp;gt;traj2vis.py&amp;lt;/tt&amp;gt;) in the&lt;br /&gt;
&amp;lt;tt&amp;gt;UTILS&amp;lt;/tt&amp;gt; directory that is able to produce files in the &amp;lt;tt&amp;gt;xyz&amp;lt;/tt&amp;gt;&lt;br /&gt;
and &amp;lt;tt&amp;gt;pdb&amp;lt;/tt&amp;gt; formats. The same program can be used on a configuration&lt;br /&gt;
file and it will produce a snapshot.&lt;br /&gt;
&lt;br /&gt;
Since the model is coearse-grained, we have to &amp;quot;trick&amp;quot; the visualisers into&lt;br /&gt;
thinking that the interaction sites in the model are actually atoms.&lt;br /&gt;
Advanced nucleic acids representations such as ribbons will not work on the&lt;br /&gt;
outputs.&lt;br /&gt;
&lt;br /&gt;
All the images in the [[Screenshots]] page were produced with the pdb representation using UCSF chimera (see later on).&lt;br /&gt;
&lt;br /&gt;
===xyz format===&lt;br /&gt;
&lt;br /&gt;
just run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$oxDNA/UTILS/traj2vis.py xyz &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;tt&amp;gt;$oxDNA&amp;lt;/tt&amp;gt; is the oxDNA source directory) to get the xyz representation in a file called the same as the trajectory&lt;br /&gt;
file with &amp;lt;tt&amp;gt;.xyz&amp;lt;/tt&amp;gt; appended. Please note that boundary conditions are&lt;br /&gt;
implemented strand-wise, so strands that are bound might appear at two&lt;br /&gt;
different sizes of the box. Also, the center of mass of the system (where&lt;br /&gt;
each strand is weighted the same regardless of the length) is set to 0 at&lt;br /&gt;
each frame. Carbons represent the backbone sites and oxygens the base sites.&lt;br /&gt;
&lt;br /&gt;
The resulting file can be read with a variety of programs. Here we will&lt;br /&gt;
explain how to visualise it sensibly in [http://www.ks.uiuc.edu/Research/vmd/ VMD].&lt;br /&gt;
&lt;br /&gt;
* Run VMD and load the xyz file.&lt;br /&gt;
* In the graphics menu, go to Representations.&lt;br /&gt;
* In the Selected Atoms line, input &amp;lt;tt&amp;gt;name C&amp;lt;/tt&amp;gt;. Also select Drawing method CPK, sphere scale 0.8 and Bond Radius 0.&lt;br /&gt;
* In the Selected Atoms line, input &amp;lt;tt&amp;gt;name O&amp;lt;/tt&amp;gt;. Also select Drawing method CPK, sphere scale 0.6 and Bond Radius 0.&lt;br /&gt;
&lt;br /&gt;
This should produce a ball representation of our model DNA. Bonds&lt;br /&gt;
automatically produced by VMD are NOT meaningful in our context.&lt;br /&gt;
&lt;br /&gt;
===pdb format===&lt;br /&gt;
Run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$oxDNA/UTILS/traj2vis.py xyz &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to produce a trajectory/configuration in the pdb format. A further file&lt;br /&gt;
called &amp;lt;tt&amp;gt;chimera.com&amp;lt;/tt&amp;gt; will be produced (more on this later). All&lt;br /&gt;
comments above about periodic boundaries and centre of mass apply here as&lt;br /&gt;
well.&lt;br /&gt;
&lt;br /&gt;
The pdb file can be visualised in VMD just like the xyz format, but a nicer&lt;br /&gt;
output can be produced with [http://www.cgl.ucsf.edu/chimera/ UCSF Chimera] (although only for snapshots at&lt;br /&gt;
the moment) as follows:&lt;br /&gt;
&lt;br /&gt;
Run chimera and load the pdb file. An ugly output will be displayed.&lt;br /&gt;
&lt;br /&gt;
Bring up the command line under the &amp;lt;tt&amp;gt;Tools → General Controls&amp;lt;/tt&amp;gt; menu.&lt;br /&gt;
Input &amp;lt;tt&amp;gt;read chimera.com&amp;lt;/tt&amp;gt; in the command line and press enter. You&lt;br /&gt;
should get a nicer visualisation with different bases in different colors,&lt;br /&gt;
all the covalent bonds in the right place, etc.&lt;br /&gt;
&lt;br /&gt;
On large configurations, the production of ellipsoids will be extremely&lt;br /&gt;
slow. You can remove it by removing the line&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;aniso scale 0.75 smoothing 4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the commands file. Loading the resulting file should be much faster.&lt;br /&gt;
&lt;br /&gt;
UCSF chimera can in turn export the scene in a variety of formats.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=587</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=587"/>
		<updated>2012-09-19T17:50:36Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388 (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &#039;&#039;J. Phys. Chem. B&#039;&#039; (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1207.3391 Sequence-dependent thermodynamics of a coarse-grained DNA model]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=586</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=586"/>
		<updated>2012-09-19T17:50:28Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388 (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &#039;&#039;&#039;J. Phys. Chem. B&#039;&#039;&#039; (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1207.3391 Sequence-dependent thermodynamics of a coarse-grained DNA model]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=585</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=585"/>
		<updated>2012-09-19T17:50:06Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388 (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &#039;J. Phys. Chem. B (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1207.3391 Sequence-dependent thermodynamics of a coarse-grained DNA model]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=584</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=584"/>
		<updated>2012-09-19T17:49:44Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; &#039;&#039;&#039;8&#039;&#039;&#039;, 8388(2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &#039;J. Phys. Chem. B (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1207.3391 Sequence-dependent thermodynamics of a coarse-grained DNA model]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Thermostat&amp;diff=583</id>
		<title>Thermostat</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Thermostat&amp;diff=583"/>
		<updated>2012-09-18T11:35:56Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The best thermostat implemented in the simulation code (&#039;&#039;john&#039;&#039; thermostat) is a simple thermostat&lt;br /&gt;
that emulates Brownian dynamics. The system is evolved integrating Newton&#039;s&lt;br /&gt;
equations of motion (&#039;NVE&#039; ensemble) for a given (small) number of steps.&lt;br /&gt;
Then the velocity and momentum of each particle are refreshed, with a given&lt;br /&gt;
fixed probability. The new velocities and momenta are chosen according to&lt;br /&gt;
the Maxwell distribution of the temperature at which the simulation is run.&lt;br /&gt;
This approximates a Brownian dynamics on time scales much longer than the&lt;br /&gt;
refresh interval.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;dt&#039;&#039;&#039; time steps of the integration&lt;br /&gt;
* &#039;&#039;&#039;newtonian steps&#039;&#039;&#039; number of steps between refresh attempts&lt;br /&gt;
* &#039;&#039;&#039;pt&#039;&#039;&#039; the probability with which each particle gets its velocity and momentum refreshed at each attempt.&lt;br /&gt;
* &#039;&#039;&#039;diff_coeff&#039;&#039;&#039; the overall monomer diffusion coefficient resulting from the thermostat. The code internally sets &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; to get this value. Specifying &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; will override this, regardless which comes first in the input file.&lt;br /&gt;
&lt;br /&gt;
The algorithm works as follows: the system is evolved for a number of steps equal to &amp;lt;tt&amp;gt;newtonian_steps&amp;lt;/tt&amp;gt; according to Newton&#039;s equations of motion. Than for each particle a random number is extracted; if it is larger than the value for &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; (either set explicitly or derived &lt;br /&gt;
from &amp;lt;tt&amp;gt;diff_coeff&amp;lt;/tt&amp;gt;) the particle is left untouched. If the random number extracted is lower than the value of &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt;, each of the components of the the velocity and angular momentum of the particle are refreshed according to &lt;br /&gt;
the Maxwell distribution dictated by the value of the temperature.&lt;br /&gt;
&lt;br /&gt;
A completely Brownian dynamics (on the time scale set by &amp;lt;tt&amp;gt;dt&amp;lt;/tt&amp;gt;) can be obtained setting &amp;lt;tt&amp;gt;pt = 1&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;newtonian_steps = 0&amp;lt;/tt&amp;gt;. Of course, this makes little sense.&lt;br /&gt;
&lt;br /&gt;
Increasing the value of &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; makes the dynamics more dumped, so that overall diffusion is slower but local motion is somewhat better explored. We found that a good thermostat setting to study diffusion-limited events is to set &amp;lt;tt&amp;gt;diff_coeff = 2.5&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;newtonian_steps = 103&amp;lt;/tt&amp;gt;. If one is not limited by diffusion, internal relaxation can be speeded up by lowering the value of &amp;lt;tt&amp;gt;diff_coeff&amp;lt;/tt&amp;gt; by a factor 2 or 4.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Thermostat&amp;diff=582</id>
		<title>Thermostat</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Thermostat&amp;diff=582"/>
		<updated>2012-09-18T11:31:28Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The best thermostat implemented in the simulation code (&#039;&#039;john&#039;&#039; thermostat) is a simple thermostat&lt;br /&gt;
that emulates Brownian dynamics. The system is evolved integrating Newton&#039;s&lt;br /&gt;
equations of motion (&#039;NVE&#039; ensemble) for a given (small) number of steps.&lt;br /&gt;
Then the velocity and momentum of each particle are refreshed, with a given&lt;br /&gt;
fixed probability. The new velocities and momenta are chosen according to&lt;br /&gt;
the Maxwell distribution of the temperature at which the simulation is ran.&lt;br /&gt;
This approximates a Brownian dynamics on time scales much longer than the&lt;br /&gt;
refresh interval.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;dt&#039;&#039;&#039; time steps of the integration&lt;br /&gt;
* &#039;&#039;&#039;newtonian steps&#039;&#039;&#039; number of steps between refresh attempts&lt;br /&gt;
* &#039;&#039;&#039;pt&#039;&#039;&#039; the probability with which each particle gets its velocity and momentum refreshed at each attempt.&lt;br /&gt;
* &#039;&#039;&#039;diff_coeff&#039;&#039;&#039; the overall monomer diffusion coefficient resulting from the thermostat. The code internally sets &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; to get this value. Specifying &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; will override this, regardless which comes first in the input file.&lt;br /&gt;
&lt;br /&gt;
The algorithm works as follows: the system is evolved for a number of steps equal to &amp;lt;tt&amp;gt;newtonian_steps&amp;lt;/tt&amp;gt; according to Newton&#039;s equations of motion. Than for each particle a random number is extracted; if it is larger than the value for &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; (either set explicitly or derived &lt;br /&gt;
from &amp;lt;tt&amp;gt;diff_coeff&amp;lt;/tt&amp;gt;) the particle is left untouched. If the random number extracted is lower than the value of &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt;, each of the components of the the velocity and angular momentum of the particle are refreshed according to &lt;br /&gt;
the Maxwell distribution dictated by the value of the temperature.&lt;br /&gt;
&lt;br /&gt;
A completely Brownian dynamics (on the time scale set by &amp;lt;tt&amp;gt;dt&amp;lt;/tt&amp;gt;) can be obtained setting &amp;lt;tt&amp;gt;pt = 1&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;newtonian_steps = 0&amp;lt;/tt&amp;gt;. Of course, this makes little sense.&lt;br /&gt;
&lt;br /&gt;
Increasing the value of &amp;lt;tt&amp;gt;pt&amp;lt;/tt&amp;gt; makes the dynamics more dumped, so that overall diffusion is slower but local motion is somewhat better explored. We found that a good thermostat setting to study diffusion-limited events is to set &amp;lt;tt&amp;gt;diff_coeff = 2.5&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;newtonian_steps = 103&amp;lt;/tt&amp;gt;. If one is not limited by diffusion, internal relaxation can be speeded up by lowering the value of &amp;lt;tt&amp;gt;diff_coeff&amp;lt;/tt&amp;gt; by a factor 2 or 4.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=581</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=581"/>
		<updated>2012-09-12T17:26:03Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; Advance Article, (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &#039;J. Phys. Chem. B (2012)&lt;br /&gt;
#:[http://pubs.acs.org/doi/abs/10.1021/jp3080755 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism] ([http://arxiv.org/abs/1206.2636 arXiv])&lt;br /&gt;
#P. Šulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1207.3391 Sequence-dependent thermodynamics of a coarse-grained DNA model]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=577</id>
		<title>Download and Installation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=577"/>
		<updated>2012-08-14T21:12:26Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this section, we outline the procedure for compiling oxDNA. Before starting, we recall that the only supported features of oxDNA are &lt;br /&gt;
&lt;br /&gt;
*Molecular and Brownian dynamics&lt;br /&gt;
*Regular Monte Carlo&lt;br /&gt;
*External forces&lt;br /&gt;
*A stand-alone single- and double-strand generator (&amp;lt;tt&amp;gt;UTILS/generate-sa.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*An output-converter from oxDNA configuration files to .pdb and VMD-supported .xyz files (&amp;lt;tt&amp;gt;UTILS/traj2vis.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
[[Features|This]] page contains a more detailed list.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
===Compiler===&lt;br /&gt;
The recommended compiler is gcc 4.6.x. oxDNA compilation has been thoroughly tested with gcc &amp;gt;= 4.1.x and icpc &amp;gt;= 10. Note that compiling with gcc 4.6.x rather than with gcc 4.1.x results in a significant increase in performances. Since oxDNA is writtern in standard c++, it &#039;&#039;&#039;should&#039;&#039;&#039; be also compatible with other compilers.&lt;br /&gt;
&lt;br /&gt;
===Operating system===&lt;br /&gt;
oxDNA has been tested on Linux (kernel &amp;gt;= 2.6.x) and Mac OS X. Since it is written in ANSI c++, it &#039;&#039;&#039;should&#039;&#039;&#039; also work on other OSes, provided that the makefile is changed accordingly.&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
oxDNA does not depend on any external library apart from the standard c++ library and therefore is completely self-contained.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
The source package can be downloaded &amp;lt;!--[http://kratos.phys.uniroma1.it/download_oxdna_code.php here]--&amp;gt;[http://pacci.phys.uniroma1.it/sites/default/files/oxdna/index.php here]. There are currently no available binary packages.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To install the program, untar &amp;lt;tt&amp;gt;oxDNA.tar&amp;lt;/tt&amp;gt; and enter the oxDNA directory. Compile the code with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Documentation]] for &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; options. If you want to compile oxDNA with the Intel C++ compiler (icpc) use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make intel=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The compilation process will generate an &amp;lt;tt&amp;gt;oxDNA&amp;lt;/tt&amp;gt; executable in the &amp;lt;tt&amp;gt;Release&amp;lt;/tt&amp;gt; directory. The usage of oxDNA is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
oxDNA &amp;lt;input&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The complete list of supported input options can be found [[Documentation#Input_file|here]]. If you want some hands-on examples, there are some in the [[Examples|EXAMPLES]] directory.&lt;br /&gt;
&lt;br /&gt;
A useful analysis tool that prints out all the interactions for a configuration is in the &amp;lt;tt&amp;gt;UTILS/process_data/&amp;lt;/tt&amp;gt; directory. To compile it, one needs to go into that directory and type &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;. The program will be called &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; and its usage is described in the [[Documentation#Analysis_of_configurations|Documentation]].&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=576</id>
		<title>Download and Installation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=576"/>
		<updated>2012-08-14T21:11:59Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this section, we outline the procedure for compiling oxDNA. Before starting, we recall that the only supported features of oxDNA are &lt;br /&gt;
&lt;br /&gt;
*Molecular and Brownian dynamics&lt;br /&gt;
*Regular Monte Carlo&lt;br /&gt;
*External forces&lt;br /&gt;
*A stand-alone single- and double-strand generator (&amp;lt;tt&amp;gt;UTILS/generate-sa.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*An output-converter from oxDNA configuration files to .pdb and VMD-supported .xyz files (&amp;lt;tt&amp;gt;UTILS/traj2vis.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
[[Features|This]] page contains a more detailed list.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
===Compiler===&lt;br /&gt;
The recommended compiler is gcc 4.6.x. oxDNA compilation has been thoroughly tested with gcc &amp;gt;= 4.1.x and icpc &amp;gt;= 10. Note that compiling with gcc 4.6.x rather than with gcc 4.1.x results in a significant increase in performances. Since oxDNA is writtern in standard c++, it &#039;&#039;&#039;should&#039;&#039;&#039; be also compatible with other compilers.&lt;br /&gt;
&lt;br /&gt;
===Operating system===&lt;br /&gt;
oxDNA has been tested on Linux (kernel &amp;gt;= 2.6.x) and Mac OS X. Since it is written in ANSI c++, it &#039;&#039;&#039;should&#039;&#039;&#039; also work on other OSes, provided that the makefile is changed accordingly.&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
oxDNA does not depend on any external library apart from the standard c++ library and therefore is completely self-contained.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
The source package can be downloaded &amp;lt;!--[http://kratos.phys.uniroma1.it/download_oxdna_code.php here]--&amp;gt;[http://pacci.phys.uniroma1.it/sites/default/files/oxdna/ here]. There are currently no available binary packages.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To install the program, untar &amp;lt;tt&amp;gt;oxDNA.tar&amp;lt;/tt&amp;gt; and enter the oxDNA directory. Compile the code with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Documentation]] for &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; options. If you want to compile oxDNA with the Intel C++ compiler (icpc) use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make intel=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The compilation process will generate an &amp;lt;tt&amp;gt;oxDNA&amp;lt;/tt&amp;gt; executable in the &amp;lt;tt&amp;gt;Release&amp;lt;/tt&amp;gt; directory. The usage of oxDNA is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
oxDNA &amp;lt;input&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The complete list of supported input options can be found [[Documentation#Input_file|here]]. If you want some hands-on examples, there are some in the [[Examples|EXAMPLES]] directory.&lt;br /&gt;
&lt;br /&gt;
A useful analysis tool that prints out all the interactions for a configuration is in the &amp;lt;tt&amp;gt;UTILS/process_data/&amp;lt;/tt&amp;gt; directory. To compile it, one needs to go into that directory and type &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;. The program will be called &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; and its usage is described in the [[Documentation#Analysis_of_configurations|Documentation]].&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=575</id>
		<title>Download and Installation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=575"/>
		<updated>2012-08-14T20:58:50Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this section, we outline the procedure for compiling oxDNA. Before starting, we recall that the only supported features of oxDNA are &lt;br /&gt;
&lt;br /&gt;
*Molecular and Brownian dynamics&lt;br /&gt;
*Regular Monte Carlo&lt;br /&gt;
*External forces&lt;br /&gt;
*A stand-alone single- and double-strand generator (&amp;lt;tt&amp;gt;UTILS/generate-sa.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*An output-converter from oxDNA configuration files to .pdb and VMD-supported .xyz files (&amp;lt;tt&amp;gt;UTILS/traj2vis.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
[[Features|This]] page contains a more detailed list.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
===Compiler===&lt;br /&gt;
The recommended compiler is gcc 4.6.x. oxDNA compilation has been thoroughly tested with gcc &amp;gt;= 4.1.x and icpc &amp;gt;= 10. Note that compiling with gcc 4.6.x rather than with gcc 4.1.x results in a significant increase in performances. Since oxDNA is writtern in standard c++, it &#039;&#039;&#039;should&#039;&#039;&#039; be also compatible with other compilers.&lt;br /&gt;
&lt;br /&gt;
===Operating system===&lt;br /&gt;
oxDNA has been tested on Linux (kernel &amp;gt;= 2.6.x) and Mac OS X. Since it is written in ANSI c++, it &#039;&#039;&#039;should&#039;&#039;&#039; also work on other OSes, provided that the makefile is changed accordingly.&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
oxDNA does not depend on any external library apart from the standard c++ library and therefore is completely self-contained.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
The source package can be downloaded &amp;lt;!--[http://kratos.phys.uniroma1.it/download_oxdna_code.php here]--&amp;gt;[http://pacci.phys.uniroma1.it/sites/default/files/oxDNA_1.0.2.tar here]. There are currently no available binary packages.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To install the program, untar &amp;lt;tt&amp;gt;oxDNA.tar&amp;lt;/tt&amp;gt; and enter the oxDNA directory. Compile the code with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Documentation]] for &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; options. If you want to compile oxDNA with the Intel C++ compiler (icpc) use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make intel=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The compilation process will generate an &amp;lt;tt&amp;gt;oxDNA&amp;lt;/tt&amp;gt; executable in the &amp;lt;tt&amp;gt;Release&amp;lt;/tt&amp;gt; directory. The usage of oxDNA is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
oxDNA &amp;lt;input&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The complete list of supported input options can be found [[Documentation#Input_file|here]]. If you want some hands-on examples, there are some in the [[Examples|EXAMPLES]] directory.&lt;br /&gt;
&lt;br /&gt;
A useful analysis tool that prints out all the interactions for a configuration is in the &amp;lt;tt&amp;gt;UTILS/process_data/&amp;lt;/tt&amp;gt; directory. To compile it, one needs to go into that directory and type &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;. The program will be called &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; and its usage is described in the [[Documentation#Analysis_of_configurations|Documentation]].&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=574</id>
		<title>Download and Installation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=574"/>
		<updated>2012-08-14T20:53:17Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Download */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this section, we outline the procedure for compiling oxDNA. Before starting, we recall that the only supported features of oxDNA are &lt;br /&gt;
&lt;br /&gt;
*Molecular and Brownian dynamics&lt;br /&gt;
*Regular Monte Carlo&lt;br /&gt;
*External forces&lt;br /&gt;
*A stand-alone single- and double-strand generator (&amp;lt;tt&amp;gt;UTILS/generate-sa.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*An output-converter from oxDNA configuration files to .pdb and VMD-supported .xyz files (&amp;lt;tt&amp;gt;UTILS/traj2vis.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
[[Features|This]] page contains a more detailed list.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
===Compiler===&lt;br /&gt;
The recommended compiler is gcc 4.6.x. oxDNA compilation has been thoroughly tested with gcc &amp;gt;= 4.1.x and icpc &amp;gt;= 10. Note that compiling with gcc 4.6.x rather than with gcc 4.1.x results in a significant increase in performances. Since oxDNA is writtern in standard c++, it &#039;&#039;&#039;should&#039;&#039;&#039; be also compatible with other compilers.&lt;br /&gt;
&lt;br /&gt;
===Operating system===&lt;br /&gt;
oxDNA has been tested on Linux (kernel &amp;gt;= 2.6.x) and Mac OS X. Since it is written in ANSI c++, it &#039;&#039;&#039;should&#039;&#039;&#039; also work on other OSes, provided that the makefile is changed accordingly.&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
oxDNA does not depend on any external library apart from the standard c++ library and therefore is completely self-contained.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
The source package can be downloaded &amp;lt;!--[http://kratos.phys.uniroma1.it/download_oxdna_code.php here]--&amp;gt;[http://ubuntuone.com/3feso6Dl5mh2q7tmzQkakn here]. There are currently no available binary packages.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To install the program, untar &amp;lt;tt&amp;gt;oxDNA.tar&amp;lt;/tt&amp;gt; and enter the oxDNA directory. Compile the code with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Documentation]] for &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; options. If you want to compile oxDNA with the Intel C++ compiler (icpc) use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make intel=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The compilation process will generate an &amp;lt;tt&amp;gt;oxDNA&amp;lt;/tt&amp;gt; executable in the &amp;lt;tt&amp;gt;Release&amp;lt;/tt&amp;gt; directory. The usage of oxDNA is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
oxDNA &amp;lt;input&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The complete list of supported input options can be found [[Documentation#Input_file|here]]. If you want some hands-on examples, there are some in the [[Examples|EXAMPLES]] directory.&lt;br /&gt;
&lt;br /&gt;
A useful analysis tool that prints out all the interactions for a configuration is in the &amp;lt;tt&amp;gt;UTILS/process_data/&amp;lt;/tt&amp;gt; directory. To compile it, one needs to go into that directory and type &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;. The program will be called &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; and its usage is described in the [[Documentation#Analysis_of_configurations|Documentation]].&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=MediaWiki:Sidebar&amp;diff=571</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=MediaWiki:Sidebar&amp;diff=571"/>
		<updated>2012-07-18T14:50:27Z</updated>

		<summary type="html">&lt;p&gt;Romano: New page: * navigation ** mainpage|mainpage &amp;lt;!--** portal-url|portal--&amp;gt; &amp;lt;!--** currentevents-url|currentevents--&amp;gt; ** recentchanges-url|recentchanges ** randompage-url|randompage &amp;lt;!--** helppage|help...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage&lt;br /&gt;
&amp;lt;!--** portal-url|portal--&amp;gt;&lt;br /&gt;
&amp;lt;!--** currentevents-url|currentevents--&amp;gt;&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
** randompage-url|randompage&lt;br /&gt;
&amp;lt;!--** helppage|help--&amp;gt;&lt;br /&gt;
&amp;lt;!--** sitesupport-url|sitesupport--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=568</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=568"/>
		<updated>2012-07-17T22:22:16Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T. E. Ouldridge, A. A. Louis and J. P. K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T. E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J. P. K. Doye, T. E. Ouldridge, A. A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; Advance Article, (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1206.2636 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism]&lt;br /&gt;
#P. Sulc, F. Romano, T. E. Ouldridge, L. Rovigatti, J. P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1207.3391 Sequence-dependent thermodynamics of a coarse-grained DNA model]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=567</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=567"/>
		<updated>2012-07-05T08:47:56Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T.E. Ouldridge, A.A. Louis and J.P.K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T.E. Ouldridge, A.A. Louis and J.P.K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T.E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J.P.K. Doye, T.E. Ouldridge, A.A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;Soft Matter&#039;&#039; Advance Article, (2012)&lt;br /&gt;
#:[http://pubs.rsc.org/en/content/articlelanding/2012/sm/c2sm25845e Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link] ([http://arxiv.org/abs/1204.0985 arXiv])&lt;br /&gt;
#C. Matek, T. E. Ouldridge, A. Levy, Jonathan P. K. Doye, A. A. Louis, &amp;quot;arxiv&amp;quot; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1206.2636 DNA cruciform arms nucleate through a correlated but non-synchronous cooperative mechanism]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=562</id>
		<title>Publications</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Publications&amp;diff=562"/>
		<updated>2012-06-07T13:34:29Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#T.E. Ouldridge, A.A. Louis and J.P.K. Doye, &#039;&#039;Phys. Rev. Lett&#039;&#039;. &#039;&#039;&#039;104&#039;&#039;&#039;, 178101 (2010)&lt;br /&gt;
#:[http://prl.aps.org/abstract/PRL/v104/i17/e178101 DNA Nanotweezers Studied with a Coarse-Grained Model of DNA] ([http://arxiv.org/abs/0911.0555 arXiv])&lt;br /&gt;
#T.E. Ouldridge, A.A. Louis and J.P.K. Doye, &#039;&#039;J. Chem. Phys&#039;&#039;, &#039;&#039;&#039;134&#039;&#039;&#039;, 085101 (2011)&lt;br /&gt;
#:[http://link.aip.org/link/?JCP/134/085101 Structural, mechanical and thermodynamic properties of a coarse-grained DNA model] ([http://arxiv.org/abs/arXiv:1009.4480 arXiv])&lt;br /&gt;
#T.E. Ouldridge, D.Phil. Thesis, University of Oxford, 2011.&lt;br /&gt;
#:[http://ora.ox.ac.uk/objects/uuid:b2415bb2-7975-4f59-b5e2-8c022b4a3719 Coarse-grained modelling of DNA and DNA self-assembly]&lt;br /&gt;
#F. Romano, A. Hudson, J.P.K. Doye, T.E. Ouldridge, A.A. Louis, &#039;&#039;J. Chem. Phys.&#039;&#039; &#039;&#039;&#039;136&#039;&#039;&#039;, 215102 (2012)&lt;br /&gt;
#:[http://jcp.aip.org/resource/1/jcpsa6/v136/i21/p215102_s1 The effect of topology on the structure and free energy landscape of DNA kissing complexes] ([http://arxiv.org/abs/1203.3577 arXiv])&lt;br /&gt;
#C. De Michele, L. Rovigatti, T. Bellini, F. Sciortino, &#039;&#039;arXiv&#039;&#039; (2012)&lt;br /&gt;
#:[http://arxiv.org/abs/1204.0985 Self-assembly of short DNA duplexes: from a coarse-grained model to experiments through a theoretical link]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=DsDNA_persistence_length&amp;diff=561</id>
		<title>DsDNA persistence length</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=DsDNA_persistence_length&amp;diff=561"/>
		<updated>2012-05-18T09:35:40Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
== Persistence length of a double-stranded DNA ==&lt;br /&gt;
&lt;br /&gt;
The example shows how to calculate a persistence length of a double stranded DNA molecule. &lt;br /&gt;
dsDNA persistence length. The persistence length in this example is calculated using the following formula (see [http://jcp.aip.org/resource/1/jcpsa6/v134/i8/p085101_s1?bypassSSO=1] for details):&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/eqn.png&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt; EXAMPLES/PERSISTENCE_LENGTH&amp;lt;/tt&amp;gt; directory, you will find a setup for calculating the persistence length of a 202 base pairs long dsDNA. &lt;br /&gt;
Note that for calculating a persistence length of a dsDNA, one needs a large number of decorrelated states. To obtain the states (which will be saved into a trajectory file), run the simulation program using the prepared input_persistence file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oxDNA input_persistence&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program will run a molecular dynamics simulation at 23 °C and record the individual configurations. By default, they are saved in the &amp;lt;tt&amp;gt;trajectory.dat&amp;lt;/tt&amp;gt; file. To analyze the data, use the python script &amp;lt;tt&amp;gt;dspl.py&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;dspl.py trajectory.dat init.top 10 50&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This program will produce a table of correlations between helical vectors, http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/eqn2.png.&lt;br /&gt;
&lt;br /&gt;
The program &amp;lt;tt&amp;gt;dspl.py&amp;lt;/tt&amp;gt; requires &amp;lt;tt&amp;gt;base.py&amp;lt;/tt&amp;gt; in the UTILS directory to be present and to have UTILS directory set in your PYTHONPATH environment variable. The program calculates the local helical axis vector (n_k) as a unit vector pointing from the midpoint of hydrogen bonding sites of k-th base pair to the midpoint between (k+1)-th base pair. &lt;br /&gt;
The init.top file contains topology of the 202 base pairs long strand (included in the &amp;lt;tt&amp;gt; EXAMPLES/PERSISTENCE_LENGTH&amp;lt;/tt&amp;gt;). In the example above, the program starts at the 10-th base pair and calculates correlations of n_10 with n_11, n_12, etc. up to n_60. It then prints out the correlations (one per line). Using an exponential fit to these data, one can find the persistence length, as illustrated in the following picture:&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/ds.png&lt;br /&gt;
&lt;br /&gt;
The exponential fit shows, in this particular example, a persistence length of 124.8 base pairs.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=560</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=560"/>
		<updated>2012-05-16T11:37:43Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
[http://cadnano.org Cadnano] is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in cadnano to be used as starting configurations for simulation. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case cadnano 2 will be used to design the tile, although the original cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using Cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
The majority of structures without forced crossovers should work. However there are limitations:&lt;br /&gt;
&lt;br /&gt;
:For very large cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems.&lt;br /&gt;
&lt;br /&gt;
:A large number of insertions or deletions on a small section of dna (where a section is defined as the bases between nodes, a node being a crossover or the end of a strand) may create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Forced crossovers, that is crossovers made by the pencil tool instead of using the default cadnano default positions, will probably create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Very large structures with very frequent crossovers may create a structure that cannot be relaxed.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=559</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=559"/>
		<updated>2012-05-16T11:36:12Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
[http://cadnano.org cadnano] is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in cadnano to be used as starting configurations for simulation. cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case cadnano 2 will be used to design the tile, although the original cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
The majority of structures without forced crossovers should work. However there are limitations:&lt;br /&gt;
&lt;br /&gt;
:For very large cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems.&lt;br /&gt;
&lt;br /&gt;
:A large number of insertions or deletions on a small section of dna (where a section is defined as the bases between nodes, a node being a crossover or the end of a strand) may create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Forced crossovers, that is crossovers made by the pencil tool instead of using the default cadnano default positions, will probably create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Very large structures with very frequent crossovers may create a structure that cannot be relaxed.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=558</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=558"/>
		<updated>2012-05-16T11:33:05Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
[http://cadnano.org Cadnano] is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in Cadnano to be used as starting configurations for simulation. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of Cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case Cadnano 2 will be used to design the tile, although the original Cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in Cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using Cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
The majority of structures without forced crossovers should work. However there are limitations:&lt;br /&gt;
&lt;br /&gt;
:For very large Cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems.&lt;br /&gt;
&lt;br /&gt;
:A large number of insertions or deletions on a small section of dna (where a section is defined as the bases between nodes, a node being a crossover or the end of a strand) may create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Forced crossovers, that is crossovers made by the pencil tool instead of using the default cadnano default positions, will probably create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Very large structures with very frequent crossovers may create a structure that cannot be relaxed.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=557</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=557"/>
		<updated>2012-05-14T14:50:25Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
Cadnano is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in Cadnano to be used as starting configurations for simulation. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model. It can be downloaded at http://cadnano.org/.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of Cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case Cadnano 2 will be used to design the tile, although the original Cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in Cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using Cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
The majority of structures without forced crossovers should work. However there are limitations:&lt;br /&gt;
&lt;br /&gt;
:For very large Cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems.&lt;br /&gt;
&lt;br /&gt;
:A large number of insertions or deletions on a small section of dna (where a section is defined as the bases between nodes, a node being a crossover or the end of a strand) may create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Forced crossovers, that is crossovers made by the pencil tool instead of using the default cadnano default positions, will probably create a structure that cannot be relaxed.&lt;br /&gt;
&lt;br /&gt;
:Very large structures with very frequent crossovers may create a structure that cannot be relaxed.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=556</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=556"/>
		<updated>2012-05-14T14:30:43Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
Cadnano is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in Cadnano to be used as starting configurations for simulation. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model. It can be downloaded at http://cadnano.org/.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of Cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case Cadnano 2 will be used to design the tile, although the original Cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in Cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using Cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Limitations ==&lt;br /&gt;
&lt;br /&gt;
;for very large Cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems!&lt;br /&gt;
&lt;br /&gt;
;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Features_of_the_previous_version&amp;diff=555</id>
		<title>Features of the previous version</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Features_of_the_previous_version&amp;diff=555"/>
		<updated>2012-05-14T14:29:10Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Supported features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since oxDNA is still in its early stages of development, we release the code as-is with all the features enabled but we only give support to some of them. In particular, we provide [[Examples | examples]] and support to only molecular dynamics, Brownian dynamics and regular Monte Carlo simulations.&lt;br /&gt;
&lt;br /&gt;
==Supported features==&lt;br /&gt;
;Molecular and Brownian dynamics: The code can run both NVE and NVT simulations. The NVT ensemble can be enforced with two different kinds of [[Documentation#Molecular_dynamics_simulations_options|thermostats]].&lt;br /&gt;
&lt;br /&gt;
;Regular Monte Carlo: regular Metropolis Monte Carlo simulations, with only nucleotide roto-translational moves, can be performed.&lt;br /&gt;
&lt;br /&gt;
;External forces: in order to favor motif formation or to mimic different external environments, different kind of forces can be applied to nucleotides or points in space. The complete list of available external forces can be found in the [[Documentation|documentation]].&lt;br /&gt;
&lt;br /&gt;
;Standalone single- and double-strand generator: we provide a script (&amp;lt;tt&amp;gt;[[Documentation#Generation_of_initial_configurations|UTILS/generate-sa.py]]&amp;lt;/tt&amp;gt;) which can be used to generate oxDNA input configurations with the command &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;generate-sa.py&amp;lt;box side&amp;gt; &amp;lt;file with sequence&amp;gt;&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;box side&amp;gt;&amp;lt;/tt&amp;gt; specifies the length of the box side in simulation units, while &amp;lt;tt&amp;gt;&amp;lt;file with sequence&amp;gt;&amp;lt;/tt&amp;gt; must contain the sequence of the strands to be generated, one row per strand. If double strands are needed, each sequence must be preceded by &amp;lt;tt&amp;gt;DOUBLE:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;Output converter: we provide a script (&amp;lt;tt&amp;gt;[[Documentation#Visualisation_of_structures|UTILS/traj2vis.py]]&amp;lt;/tt&amp;gt;) which converts oxDNA configuration files to .pdb and [http://www.ks.uiuc.edu/Research/vmd/ VMD]-supported .xyz files. The usage is &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;traj2vis.py &amp;lt;pdb|xyz&amp;gt; &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:where the output format is either pdb or xyz, &amp;lt;tt&amp;gt;&amp;lt;trajectory&amp;gt;&amp;lt;/tt&amp;gt; is the configuration (or whole trajectory) file and &amp;lt;tt&amp;gt;&amp;lt;topology&amp;gt;&amp;lt;/tt&amp;gt; is the topology file. The output filename is &amp;lt;trajectory&amp;gt;.pdb or &amp;lt;trajectory&amp;gt;.xyz, depending on which output format has been chosen. If &amp;lt;tt&amp;gt;pdb&amp;lt;/tt&amp;gt; is selected, then a &amp;lt;tt&amp;gt;commands.com&amp;lt;/tt&amp;gt; file is generated, to be used with [http://www.cgl.ucsf.edu/chimera/ UCSF Chimera].&lt;br /&gt;
&lt;br /&gt;
;Cadnano converter&lt;br /&gt;
:There is a converter that takes [http://cadnano.org cadnano] files and converts them in initial configurations to be fed to the simulation program. See [[Cadnano]] for an example on how to use it.&lt;br /&gt;
&lt;br /&gt;
==Experimental (Unsupported) features==&lt;br /&gt;
The released version of oxDNA contains also code for&lt;br /&gt;
&lt;br /&gt;
*MPI-powered parallel energy calculation&lt;br /&gt;
*CUDA version of the Brownian dynamics code (which is not included in the source file, but available upon request)&lt;br /&gt;
*Cluster-Move Monte Carlo (CMMC) simulations&lt;br /&gt;
*Forward Flux Sampling moleculary dynamics simulations&lt;br /&gt;
*Umbrella Sampling simulations&lt;br /&gt;
*Frenkel-Ladd CMMC free energy calculation&lt;br /&gt;
*A huge number of utility scripts which make working with strands easier. They are contained in the &amp;lt;tt&amp;gt;UTILS&amp;lt;/tt&amp;gt; directory.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Features_of_the_previous_version&amp;diff=554</id>
		<title>Features of the previous version</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Features_of_the_previous_version&amp;diff=554"/>
		<updated>2012-05-14T14:28:20Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Supported features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Since oxDNA is still in its early stages of development, we release the code as-is with all the features enabled but we only give support to some of them. In particular, we provide [[Examples | examples]] and support to only molecular dynamics, Brownian dynamics and regular Monte Carlo simulations.&lt;br /&gt;
&lt;br /&gt;
==Supported features==&lt;br /&gt;
;Molecular and Brownian dynamics: The code can run both NVE and NVT simulations. The NVT ensemble can be enforced with two different kinds of [[Documentation#Molecular_dynamics_simulations_options|thermostats]].&lt;br /&gt;
&lt;br /&gt;
;Regular Monte Carlo: regular Metropolis Monte Carlo simulations, with only nucleotide roto-translational moves, can be performed.&lt;br /&gt;
&lt;br /&gt;
;External forces: in order to favor motif formation or to mimic different external environments, different kind of forces can be applied to nucleotides or points in space. The complete list of available external forces can be found in the [[Documentation|documentation]].&lt;br /&gt;
&lt;br /&gt;
;Standalone single- and double-strand generator: we provide a script (&amp;lt;tt&amp;gt;[[Documentation#Generation_of_initial_configurations|UTILS/generate-sa.py]]&amp;lt;/tt&amp;gt;) which can be used to generate oxDNA input configurations with the command &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;generate-sa.py&amp;lt;box side&amp;gt; &amp;lt;file with sequence&amp;gt;&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;tt&amp;gt;&amp;lt;box side&amp;gt;&amp;lt;/tt&amp;gt; specifies the length of the box side in simulation units, while &amp;lt;tt&amp;gt;&amp;lt;file with sequence&amp;gt;&amp;lt;/tt&amp;gt; must contain the sequence of the strands to be generated, one row per strand. If double strands are needed, each sequence must be preceded by &amp;lt;tt&amp;gt;DOUBLE:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;Output converter: we provide a script (&amp;lt;tt&amp;gt;[[Documentation#Visualisation_of_structures|UTILS/traj2vis.py]]&amp;lt;/tt&amp;gt;) which converts oxDNA configuration files to .pdb and [http://www.ks.uiuc.edu/Research/vmd/ VMD]-supported .xyz files. The usage is &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;pre&amp;gt;traj2vis.py &amp;lt;pdb|xyz&amp;gt; &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:where the output format is either pdb or xyz, &amp;lt;tt&amp;gt;&amp;lt;trajectory&amp;gt;&amp;lt;/tt&amp;gt; is the configuration (or whole trajectory) file and &amp;lt;tt&amp;gt;&amp;lt;topology&amp;gt;&amp;lt;/tt&amp;gt; is the topology file. The output filename is &amp;lt;trajectory&amp;gt;.pdb or &amp;lt;trajectory&amp;gt;.xyz, depending on which output format has been chosen. If &amp;lt;tt&amp;gt;pdb&amp;lt;/tt&amp;gt; is selected, then a &amp;lt;tt&amp;gt;commands.com&amp;lt;/tt&amp;gt; file is generated, to be used with [http://www.cgl.ucsf.edu/chimera/ UCSF Chimera].&lt;br /&gt;
&lt;br /&gt;
;Cadnano converter&lt;br /&gt;
:There is a converter that takes [http://cadnano.org Cadnano] files and converts them in initial configurations to be fed to the simulation program. See [[Cadnano]] for an example on how to use it.&lt;br /&gt;
&lt;br /&gt;
==Experimental (Unsupported) features==&lt;br /&gt;
The released version of oxDNA contains also code for&lt;br /&gt;
&lt;br /&gt;
*MPI-powered parallel energy calculation&lt;br /&gt;
*CUDA version of the Brownian dynamics code (which is not included in the source file, but available upon request)&lt;br /&gt;
*Cluster-Move Monte Carlo (CMMC) simulations&lt;br /&gt;
*Forward Flux Sampling moleculary dynamics simulations&lt;br /&gt;
*Umbrella Sampling simulations&lt;br /&gt;
*Frenkel-Ladd CMMC free energy calculation&lt;br /&gt;
*A huge number of utility scripts which make working with strands easier. They are contained in the &amp;lt;tt&amp;gt;UTILS&amp;lt;/tt&amp;gt; directory.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=553</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=553"/>
		<updated>2012-05-14T11:32:55Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
Cadnano is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in Cadnano to be used as starting configurations for simulation. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model. It can be downloaded at http://cadnano.org/.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of Cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case Cadnano 2 will be used to design the tile, although the original Cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in Cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using Cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
Warning: for very large Cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems!&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_1.png&amp;diff=552</id>
		<title>File:Cadnano 1.png</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_1.png&amp;diff=552"/>
		<updated>2012-05-14T11:32:14Z</updated>

		<summary type="html">&lt;p&gt;Romano: uploaded a new version of &amp;quot;Image:Cadnano 1.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=551</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=551"/>
		<updated>2012-05-14T11:27:46Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
Cadnano is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in Cadnano to be used as starting configurations for simulation. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model. It can be downloaded at http://cadnano.org/.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of Cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case Cadnano 2 will be used to design the tile, although the original Cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in Cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1a.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using Cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
Warning: for very large Cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems!&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=550</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=550"/>
		<updated>2012-05-14T11:27:06Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
== Cadnano ==&lt;br /&gt;
Cadnano is a tool for designing DNA origami structures. oxDNA includes an interface that allows origami designs generated in Cadnano to be used as starting configurations for simulation. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model. It can be downloaded at http://cadnano.org/.&lt;br /&gt;
&lt;br /&gt;
== Example: DX tile ==&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of Cadnano for the purpose of creating starting configurations will be illustrated using a tile similar to the DX tile. In this case Cadnano 2 will be used to design the tile, although the original Cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Note that, while using cadnano, any unwanted actions can be undone with ctrl+z (this feature is new in Cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_1a.png]]&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover. Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_2.png]]&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover. The other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
[[Image:cadnano_3.png]]&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
== Using Cadnano Designs as Starting Configurations for oxDNA ==&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The process is very fast as the simulation need only run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
Warning: for very large Cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems!&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_3.png&amp;diff=549</id>
		<title>File:Cadnano 3.png</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_3.png&amp;diff=549"/>
		<updated>2012-05-14T11:15:37Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_2.png&amp;diff=548</id>
		<title>File:Cadnano 2.png</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_2.png&amp;diff=548"/>
		<updated>2012-05-14T11:11:27Z</updated>

		<summary type="html">&lt;p&gt;Romano: uploaded a new version of &amp;quot;Image:Cadnano 2.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_2.png&amp;diff=547</id>
		<title>File:Cadnano 2.png</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_2.png&amp;diff=547"/>
		<updated>2012-05-14T11:10:10Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_1.png&amp;diff=545</id>
		<title>File:Cadnano 1.png</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=File:Cadnano_1.png&amp;diff=545"/>
		<updated>2012-05-14T11:04:29Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=544</id>
		<title>Cadnano</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Cadnano&amp;diff=544"/>
		<updated>2012-05-14T10:59:56Z</updated>

		<summary type="html">&lt;p&gt;Romano: New page: Category:Examples == Cadnano == oxDNA includes an interface that allows origami designs generated with a design tool called candnano to be used in the model as starting configurations....&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
== Cadnano ==&lt;br /&gt;
oxDNA includes an interface that allows origami designs generated with a design tool called candnano to be used in the model as starting configurations. Cadnano can also be used in this way to make non-origami structures such as DNA tiles for use in the model.&lt;br /&gt;
&lt;br /&gt;
Example: DX tile&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/tilechimera.png&lt;br /&gt;
&lt;br /&gt;
The use of Cadnano for the purpose of creating starting configurations will be illustrated using the a tile similar to the DX tile as an example. In this case Cadnano 2 will be used, although the original Cadnano operates in a similar way and is fully compatible with the interface to oxDNA. Unwanted actions can be undone with ctrl+z (this feature is new in Cadnano 2).&lt;br /&gt;
&lt;br /&gt;
First click the blue &amp;quot;add new square lattice&amp;quot; button on the toolbar - a new square lattice will be created in the lattice view. The circles represent a cross-sectional view of potential DNA double helices on the square lattice. Create two empty virtual double helices in the path view by clicking on any two adjacent circles, one on top of the other. Next, using the pencil tool from the toolbar on the right, fill in all four rows in the path view by dragging from one end of each row to the other. Each double helix has two rows, and each row represents one of the strands of a double helix.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pic1&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next step is to add the crossovers between the double helices. Using origami terminology, the thin blue lines represent the scaffold strands, while the thicker lines of different colour represent the staple strands. Make a crossover between the staple strands near the middle of the design, by first clicking on one of the staple strands near its middle and then clicking one of the numbers near the middle next to that staple strand. Also click the number just to the left or right of the crossover you just made, to make a second crossover.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pic2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Do the same for the the scaffold strands - the crossovers can go either to the left or the right of the staple crossovers, not at the closest place to the staple crossovers, but the next closest place.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pic3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tile is almost complete; the final step is to correct the lengths of the strands. Switch to the select tool and drag the ends of the strands to change their lengths. The two strands that are complementary to a double crossover should extend 8 bases past that crossover; the other two strands should extend 5 bases past those two strands. The yellow bar can help with tasks like this; drag it to any column to see the index of that column. If extra space is required, the virtual helices can be extended in either direction by clicking on the arrows at the top right of the topmost virtual helix in the path view.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pic4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The tile design is now finished and ready to be used as a starting configuration for simulation after some processing. The design can be found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/tile.json.&lt;br /&gt;
&lt;br /&gt;
Using Cadnano Designs as Starting Configurations for oxDNA&lt;br /&gt;
&lt;br /&gt;
The script candnano_interface.py is used to generate an oxDNA configuration and topology file from a cadnano design. In addition it creates some files containing information about the origami that can be useful later for analysing its trajectory. Its usage is&lt;br /&gt;
&lt;br /&gt;
python cadnano_interface.py &amp;lt;cadnano_file&amp;gt; &amp;lt;design_type&amp;gt; [box_size]&lt;br /&gt;
&lt;br /&gt;
The design type must be either sq or he, corresponding to either a square or honeycomb lattice - typically a 2D origami is on a square lattice, while a 3D origami is on a honeycomb lattice. The box size option allows the user to specify a simulation box size different to the default value of two times (in linear dimension) the largest dimension of the cadnano design.&lt;br /&gt;
&lt;br /&gt;
When the configuration and topology files are first created, they cannot be used in an ordinary oxDNA simulation until they have been relaxed. This is achieved using an oxDNA MD simulation with a very low temperature and a very strongly coupled thermostat. An example input file for this simulation is found at ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/input_relax. The simulation need only be run for around 100 steps.&lt;br /&gt;
&lt;br /&gt;
For the tile discussed above, the configuration files before and after relaxation, as well as the topology file, can be found in ${oxDNA}/EXAMPLES/CADNANO_INTERFACE/TILE/.&lt;br /&gt;
&lt;br /&gt;
Warning: for very large Cadnano designs, or for designs of small origamis but with very long unused sections of virtual double helices, the script requires a very large amount of memory which may cause problems!&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=DsDNA_persistence_length&amp;diff=543</id>
		<title>DsDNA persistence length</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=DsDNA_persistence_length&amp;diff=543"/>
		<updated>2012-05-14T10:58:51Z</updated>

		<summary type="html">&lt;p&gt;Romano: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
== Persistence length of a double-stranded DNA ==&lt;br /&gt;
&lt;br /&gt;
The example shows how to calculate a persistence length of a double stranded DNA molecule. &lt;br /&gt;
dsDNA persistence length. The persistence length in this example is calculated using the following formula (see [http://jcp.aip.org/resource/1/jcpsa6/v134/i8/p085101_s1?bypassSSO=1] for details):&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/eqn.png&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt; EXAMPLES/PERSISTENCE_LENGTH&amp;lt;/tt&amp;gt; directory, you will find a setup for calculating the persistence length of a 202 base pairs long dsDNA. &lt;br /&gt;
Note that for calculating a persistence length of a dsDNA, one needs a large number of decorrelated states. To obtain the states (which will be saved into a trajectory file), run the simulation program using the prepared input_persistence file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oxDNA input_persistence&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program will run a molecular dynamics simulation at 23 °C and record the individual configurations. By default, they are saved in the &amp;lt;tt&amp;gt;trajectory.dat&amp;lt;/tt&amp;gt; file. To analyze the data, use the python script &amp;lt;tt&amp;gt;dspl.py&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;dspl.py trajectory.dat init.top 10 50&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This program will produce a table of correlations between helical vectors, http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/eqn2.png.&lt;br /&gt;
&lt;br /&gt;
The program &amp;lt;tt&amp;gt;dspl.py&amp;lt;/tt&amp;gt; requires &amp;lt;tt&amp;gt;base.py&amp;lt;/tt&amp;gt; in the UTILS directory to be present and to have UTILS directory set in your PYTHONPATH environment variable. The program calculates the local helical axis vector (n_k) as a unit vector pointing from the midpoint of hydrogen bonding sites of k-th base pair to the midpoint between (k+1)-th base pair. &lt;br /&gt;
The init.top file contains topology of the 202 base pairs long strand (included in the &amp;lt;tt&amp;gt; EXAMPLES/PERSISTENCE_LENGTH&amp;lt;/tt&amp;gt;). In the example above, the program starts at the 10-th base pair and calculates correlations of n_10 with n_11, n_12, etc. up to n_60. It then prints out the correlations (one per line). Using an exponential fit to these data, one can find the persistence length, as illustrated in the following picture:&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/ds.png&lt;br /&gt;
&lt;br /&gt;
The exponential fit shows, in this particular example, a persistence length of 124.8 base pairs. [[Cadnano]]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=DsDNA_persistence_length&amp;diff=542</id>
		<title>DsDNA persistence length</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=DsDNA_persistence_length&amp;diff=542"/>
		<updated>2012-05-14T10:58:35Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Persistence length of a double-stranded DNA */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Examples]]&lt;br /&gt;
== Persistence length of a double-stranded DNA ==&lt;br /&gt;
&lt;br /&gt;
The example shows how to calculate a persistence length of a double stranded DNA molecule. &lt;br /&gt;
dsDNA persistence length. The persistence length in this example is calculated using the following formula (see [http://jcp.aip.org/resource/1/jcpsa6/v134/i8/p085101_s1?bypassSSO=1] for details):&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/eqn.png&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;tt&amp;gt; EXAMPLES/PERSISTENCE_LENGTH&amp;lt;/tt&amp;gt; directory, you will find a setup for calculating the persistence length of a 202 base pairs long dsDNA. &lt;br /&gt;
Note that for calculating a persistence length of a dsDNA, one needs a large number of decorrelated states. To obtain the states (which will be saved into a trajectory file), run the simulation program using the prepared input_persistence file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oxDNA input_persistence&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program will run a molecular dynamics simulation at 23 °C and record the individual configurations. By default, they are saved in the &amp;lt;tt&amp;gt;trajectory.dat&amp;lt;/tt&amp;gt; file. To analyze the data, use the python script &amp;lt;tt&amp;gt;dspl.py&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;dspl.py trajectory.dat init.top 10 50&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This program will produce a table of correlations between helical vectors, http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/eqn2.png.&lt;br /&gt;
&lt;br /&gt;
The program &amp;lt;tt&amp;gt;dspl.py&amp;lt;/tt&amp;gt; requires &amp;lt;tt&amp;gt;base.py&amp;lt;/tt&amp;gt; in the UTILS directory to be present and to have UTILS directory set in your PYTHONPATH environment variable. The program calculates the local helical axis vector (n_k) as a unit vector pointing from the midpoint of hydrogen bonding sites of k-th base pair to the midpoint between (k+1)-th base pair. &lt;br /&gt;
The init.top file contains topology of the 202 base pairs long strand (included in the &amp;lt;tt&amp;gt; EXAMPLES/PERSISTENCE_LENGTH&amp;lt;/tt&amp;gt;). In the example above, the program starts at the 10-th base pair and calculates correlations of n_10 with n_11, n_12, etc. up to n_60. It then prints out the correlations (one per line). Using an exponential fit to these data, one can find the persistence length, as illustrated in the following picture:&lt;br /&gt;
&lt;br /&gt;
http://www-thphys.physics.ox.ac.uk/people/PetrSulc/images/ds.png&lt;br /&gt;
&lt;br /&gt;
The exponential fit shows, in this particular example, a persistence length of 124.8 base pairs. [Cadnano]&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Documentation&amp;diff=516</id>
		<title>Documentation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Documentation&amp;diff=516"/>
		<updated>2012-04-19T18:09:22Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Analysis of configurations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Compile options==&lt;br /&gt;
&lt;br /&gt;
Compiling oxDNA requires that you change the first rows in the makefile to match your machine configuration. The following parameters can be passed to make:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;dbg=1&#039;&#039;&#039; oxDNA will be compiled with debug flags (both for nvcc and gcc). The resulting executable will be put in the Debug directory.&lt;br /&gt;
*&#039;&#039;&#039;g=1&#039;&#039;&#039; oxDNA will be compiled with both debug and optimization flags. The resulting executable will be put in the Release directory.&lt;br /&gt;
*&#039;&#039;&#039;intel=1&#039;&#039;&#039; oxDNA will be compiled using the Intel icpc compiler. The resulting executable will be named oxDNA_intel.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;oxDNA input_file&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The input file contains all the relevant information for the program to run, such as what initial configuration to use, the topology of the system, how often to print the energies to a file, etc. Please make sure you read the [[Thermostat|thermostat]] page if you use molecular dynamics.&lt;br /&gt;
&lt;br /&gt;
==Input file==&lt;br /&gt;
&lt;br /&gt;
As always in UNIX environments, everything is case sensitive.&lt;br /&gt;
The options are in the form key = value. There can be arbitrary spaces before and after both key and value. Line with a leading # will be treated as comments.&lt;br /&gt;
In this part | (pipe) is the separator between the different values that can be used to specify a value for the key.&lt;br /&gt;
Keys between [ and ] are optional, the value after the equal sign is the default value.&lt;br /&gt;
&lt;br /&gt;
===Generic options===&lt;br /&gt;
The options listed here define the generic behavior of the entire program.&lt;br /&gt;
;[sim_type=MD]: MD|MC&lt;br /&gt;
:MD = Molecular Dynamics, MC = Monte Carlo&lt;br /&gt;
;backend: CPU&lt;br /&gt;
;backend_precision: float|double&lt;br /&gt;
;[debug=0]: 0|1&lt;br /&gt;
: 1 if you want verbose logs, 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
===Simulation options===&lt;br /&gt;
	The options listed here specify the behaviour of the simulation.&lt;br /&gt;
&lt;br /&gt;
;steps: number of steps to be performed.&lt;br /&gt;
		&lt;br /&gt;
;[restart_step_counter=0]: 0|1&lt;br /&gt;
:0 means that the step counter will start from the value read in the configuration file; if 1, the step counter will be reset to 0. The total duration of the simulation is unchanged.&lt;br /&gt;
			&lt;br /&gt;
;[seed=time(NULL)]: seed for the random number generator. On Unix systems, it will use by default a number from /dev/urandom + time(NULL)&lt;br /&gt;
		&lt;br /&gt;
;T: temperature of the simulation. It can be expressed in simulation units or kelvin (append a k or K after the value) or celsius (append a c or C after the value).&lt;br /&gt;
:Examples:&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
! Value&lt;br /&gt;
! Simulation Units&lt;br /&gt;
|-&lt;br /&gt;
| 0.1&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300 K&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 300k&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85c&lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
| 26.85 C &lt;br /&gt;
| 0.1&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
		&lt;br /&gt;
;verlet_skin: if a particle moves more than verlet_skin then the lists will be updated. Its name is somewhat misleading: the actual verlet skin is 2*verlet_skin.&lt;br /&gt;
	&lt;br /&gt;
;[use_average_seq=1]: 0|1&lt;br /&gt;
: specifies whether to use the default hard-coded average parameters for base-pairing and stacking interaction strengths or not. If sequence dependence is to be used, set this to 0 and specify seq_dep_file.&lt;br /&gt;
	&lt;br /&gt;
;[seq_dep_file]: specifies the file from which the sequence dependent parameters should be read. Mandatory if use_average_seq=no, ignored otherwise. A sample file is provided (sequence_dependent_parameters.txt).&lt;br /&gt;
&lt;br /&gt;
;[external_forces=0]: 0|1&lt;br /&gt;
: specifies whether there are external forces acting on the nucleotides or not. If it is set to 1, then a file which specifies the external forces&#039; configuration has to be provided (see external_forces_file).&lt;br /&gt;
&lt;br /&gt;
;[external_forces_file]: specifies the file containing all the external forces&#039; configurations. Currently there are six supported force types (see EXAMPLES/TRAPS for some examples):&lt;br /&gt;
:*string&lt;br /&gt;
:*twist&lt;br /&gt;
:*trap&lt;br /&gt;
:*repulsion_plane&lt;br /&gt;
:*repulsion_plane_moving&lt;br /&gt;
:*mutual_trap&lt;br /&gt;
	&lt;br /&gt;
====Molecular dynamics simulations options====&lt;br /&gt;
&lt;br /&gt;
;dt: time step of the integration.&lt;br /&gt;
&lt;br /&gt;
;thermostat: no|refresh|john &lt;br /&gt;
:no means no thermostat will be used. refresh will refresh all the particle&#039;s velocities from a maxwellian every newtonian_steps steps. john is an Anderson-like thermostat (see pt). Make sure you read [[Thermostat|thermostat]].&lt;br /&gt;
&lt;br /&gt;
;newtonian_steps: required if thermostat != no&lt;br /&gt;
:number of steps after which a procedure of thermalization will be performed.&lt;br /&gt;
			&lt;br /&gt;
;pt: used if thermostat == john. It&#039;s the probability that a particle&#039;s velocity will be refreshed during a thermalization procedure.&lt;br /&gt;
		&lt;br /&gt;
;diff_coeff: required if pt is not specified&lt;br /&gt;
:used internally to automatically compute the pt that would be needed if we wanted such a self diffusion coefficient. Not used if pt is set.&lt;br /&gt;
&lt;br /&gt;
====Monte Carlo simulations options====&lt;br /&gt;
	&lt;br /&gt;
;[check_energy_every=10]: this number times print_energy_every gives the number of steps after which the energy will be computed from scratch and checked against the actual value computed adding energy differences.&lt;br /&gt;
		&lt;br /&gt;
;[check_energy_threshold=1e-4]:	if abs((old_energy - new_energy)/old_energy) &amp;gt; check_energy_threshold then the program will die and warn the user.&lt;br /&gt;
	&lt;br /&gt;
;ensemble: NVT&lt;br /&gt;
:ensemble of the simulation. More ensembles could be added in future versions.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement (per dimension) for translational moves in simulation units.&lt;br /&gt;
	&lt;br /&gt;
;delta_translation: maximum displacement for rotational moves in simulation units.&lt;br /&gt;
&lt;br /&gt;
===Input/output===&lt;br /&gt;
The options listed here are used to manage the I/O (read and write configurations, energies and so on)&lt;br /&gt;
	&lt;br /&gt;
;conf_file: initial configuration file. &lt;br /&gt;
		&lt;br /&gt;
;topology: file containing the system&#039;s topology.&lt;br /&gt;
		&lt;br /&gt;
;trajectory_file: the main output of the program. All the configurations will be appended to this file as they are printed.&lt;br /&gt;
		&lt;br /&gt;
;[confs_to_skip=0]: valid only if conf_file is a trajectory. Skip the first confs_to_skip configurations and then load in memory the (confs_to_skip+1)th.&lt;br /&gt;
		&lt;br /&gt;
;[lastconf_file=last_conf.dat]: this is the file where the last configuration is saved (when the program finishes or is killed). Set to last_conf.dat by default&lt;br /&gt;
&lt;br /&gt;
;[refresh_vel=0]: 0|1&lt;br /&gt;
:if 1 the initial velocities will be refreshed from a maxwellian.&lt;br /&gt;
	&lt;br /&gt;
;energy_file: energy output file.&lt;br /&gt;
		&lt;br /&gt;
;[print_energy_every=1000]: this will make the program print the energies every print_energy_every steps.&lt;br /&gt;
		&lt;br /&gt;
;[no_stdout_energy=0]: 0|1&lt;br /&gt;
:if 1 the energy will be printed just to the energy_file.&lt;br /&gt;
		&lt;br /&gt;
;[time_scale=linear]: linear|log_lin&lt;br /&gt;
:using linear configurations will be saved every print_conf_interval.&lt;br /&gt;
:using log_lin configurations will be saved logarithmically for print_conf_ppc times. After that the logarithmic sequence will restart.&lt;br /&gt;
	&lt;br /&gt;
;print_conf_interval: linear interval if time_scale == linear. First step of the logarithmic scale if time_scale == log_lin.&lt;br /&gt;
		&lt;br /&gt;
;print_conf_ppc: used if time_scale == log_lin&lt;br /&gt;
:points per logarithmic cycle.&lt;br /&gt;
		&lt;br /&gt;
;[print_reduced_conf_every=0]: every print_reduced_conf_every steps the program will print out the reduced configurations (i.e. confs containing only the centers of mass of strands).&lt;br /&gt;
&lt;br /&gt;
;reduced_conf_output_dir: used if print_reduced_conf_every &amp;gt; 0&lt;br /&gt;
:output directory for reduced_conf files.&lt;br /&gt;
		&lt;br /&gt;
;[log_file=stderr]: file where generic and debug informations will be logged. If not specified then stderr will be used.&lt;br /&gt;
	&lt;br /&gt;
;[print_timings=0]: 0|1&lt;br /&gt;
:if 1 the MD step timing have be printed to a file.&lt;br /&gt;
			&lt;br /&gt;
;timings_filename: used if print_timings == 1&lt;br /&gt;
:output file where the MD step timing will be appended to.&lt;br /&gt;
&lt;br /&gt;
==Output files==&lt;br /&gt;
*The log file contains all relevant informations about the simulation (specified options, activated external forces, warnings about misconfiguratios, critical errors, etc.). If the log file is omitted, all these informations will be displayed on the standard output.&lt;br /&gt;
&lt;br /&gt;
*The energy file layout for MD simulations is&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
| time&lt;br /&gt;
| potential energy&lt;br /&gt;
| kinetic energy&lt;br /&gt;
| total energy&lt;br /&gt;
| hydrogen bonding energy&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:while for MC simulations is&lt;br /&gt;
&lt;br /&gt;
:{|&lt;br /&gt;
| time&lt;br /&gt;
| potential energy&lt;br /&gt;
| hydrogen bonding energy&lt;br /&gt;
| acceptance ratio for translational moves&lt;br /&gt;
| acceptance ratio for rotational moves&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:Mind that potential, kinetic and total energies are divided by the number of particles whereas the hydrogen bonding energy is not.&lt;br /&gt;
&lt;br /&gt;
*Configurations are saved in the trajectory file.&lt;br /&gt;
&lt;br /&gt;
==Configuration and topology files==&lt;br /&gt;
The current state of a system, as by oxDNA, is described by two files: a configuration file and a topology file. The configuration file contains all the general informations (timestep, energy and box size) and orientations and positions of each nucleotide. The topology file, on the other hand, keeps track of the backbone-backbone bonds between nucleotides in the same strand. Working configuration and topology files can be found in the &amp;lt;tt&amp;gt;[[Examples|EXAMPLES]]&amp;lt;/tt&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
===Configuration file===&lt;br /&gt;
The first three rows of a configuration file contain the timestep &amp;lt;tt&amp;gt;T&amp;lt;/tt&amp;gt; at which the configuration has been printed, the length of the box sides &amp;lt;tt&amp;gt;Lx&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;Ly&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Lz&amp;lt;/tt&amp;gt; and the total, potential and kinetic energies, &amp;lt;tt&amp;gt;Etot&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;U&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;K&amp;lt;/tt&amp;gt;, respectively:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
t = T&lt;br /&gt;
b = Lz Ly Lz&lt;br /&gt;
E = Etot U K&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
after this header, each row contains position of the centre of mass, orientation, velocity and angular velocity of a single nucleotide in the following order:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overbrace{r_x r_y r_z}^{\rm Position} \overbrace{b_x b_y b_z}^{\rm Backbone-base versor} \overbrace{n_x n_y n_z}^{\rm Normal versor} \overbrace{v_x v_y v_z}^{\rm Velocity} \overbrace{L_x L_y L_z}^{\rm Angular velocity}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Topology file===&lt;br /&gt;
The topology file stores the intra-strand, fixed bonding topology (i.e. which nucleotides share backbone links). The first row contains the total number of nucleotides &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; and the number of strands &amp;lt;tt&amp;gt;Ns&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
N Ns&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After this header, the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th row specifies strand, base and 3&#039; and 5&#039; neighbors of the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th nucleotide in this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
S B 3&#039; 5&#039;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where S is the number of the strand (starting from 1) which the nucleotide belongs to, B is the base and 3&#039; and 5&#039; specify the index of the nucleotides with which the &amp;lt;tt&amp;gt;i&amp;lt;/tt&amp;gt;-th nucleotide is bonded in the 3&#039; and 5&#039; direction, respectively. A &amp;lt;tt&amp;gt;-1&amp;lt;/tt&amp;gt; signals that the nucleotide terminates the strand in either 3&#039; or 5&#039; direction. The topology file of a strand of sequence &amp;lt;tt&amp;gt;GCGTTG&amp;lt;/tt&amp;gt; would be:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
6 1&lt;br /&gt;
1 G -1 1&lt;br /&gt;
1 C 0 2&lt;br /&gt;
1 G 1 3&lt;br /&gt;
1 T 2 4&lt;br /&gt;
1 T 3 5&lt;br /&gt;
1 G 4 -1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Specifying the topology in this way can simplify the process of simulating, for example, circular DNA.&lt;br /&gt;
&lt;br /&gt;
===Generation of initial configurations===&lt;br /&gt;
In order to generate initial configuration and topology files, we provide the &amp;lt;tt&amp;gt;${oxDNA}/UTILS/generate-sa.py&amp;lt;/tt&amp;gt; script. The usage of the script is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;generate-sa.py &amp;lt;box side&amp;gt; &amp;lt;file with sequence&amp;gt;&amp;lt;/pre&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where &amp;lt;tt&amp;gt;&amp;lt;box side&amp;gt;&amp;lt;/tt&amp;gt; specifies the length of the box side in simulation units and &amp;lt;tt&amp;gt;&amp;lt;file with sequence&amp;gt;&amp;lt;/tt&amp;gt; contains the sequence of the strands to be generated, one row per strand. If double strands are needed, each sequence must be preceded by &amp;lt;tt&amp;gt;DOUBLE&amp;lt;/tt&amp;gt;. For example, a file containing&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DOUBLE AGGGCT&lt;br /&gt;
CCTGTA&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
would generate a double strand with a sequence &amp;lt;tt&amp;gt;AGGGCT&amp;lt;/tt&amp;gt; and a single strand with a sequence &amp;lt;tt&amp;gt;CCTGTA&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Positions and orientations of the strands are all chosen at random in such a way that the resulting initial configuration does not contain significant excluded volume interactions between nucleotides belonging to different strands. Generated single- and double-strands have helical conformations (i.e. they are in the minimum of the intra-strand interaction energy).&lt;br /&gt;
&lt;br /&gt;
The output configuration and topology are stored in &amp;lt;tt&amp;gt;generated.dat&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;generated.top&amp;lt;/tt&amp;gt;, respectively. &lt;br /&gt;
Since this script will initialize nucleotides&#039; velocities and angular velocities to 0, when performing molecular (or Brownian) dynamics simulation remember to put &amp;lt;tt&amp;gt;refresh_vel = 1&amp;lt;/tt&amp;gt; in the [[Documentation#Input_file|input]] file.&lt;br /&gt;
&lt;br /&gt;
==Analysis of configurations==&lt;br /&gt;
The configurations produced by oxDNA can be analysed with the &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; program in &amp;lt;tt&amp;gt;${oxDNA}/UTILS/process_data/&amp;lt;/tt&amp;gt; directory. This program takes an input the input file (to recover the temperature and topology file), a configuration/trajectory file and an optional number. Since &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; reads analyses a single configuration, the optional number selects the configuration which it needs to analyse in the trajectory. Analysing a whole trajectory can be done by looping over a counter.&lt;br /&gt;
&lt;br /&gt;
Please note that &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; is not compiled automatically. If you never compiled it, do so as described in the [[Download_and_Installation#Installation|installation instructions]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; can be used as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
${oxDNA}/UTILS/process_data/output_bonds &amp;lt;input_file&amp;gt; &amp;lt;trajectory_file&amp;gt; [counter]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The program outputs some debugging information to the standard error and information regarding the interaction energies to the standard output. The contributions arising from each of the terms in the potential (see the appendix of [[Publications|Ref. 2]]) are reported for each pair of nucleotides that have non-zero total interactions.&lt;br /&gt;
&lt;br /&gt;
This output can be easily parsed to analyse the configurations.&lt;br /&gt;
&lt;br /&gt;
For each pair of nucleotides that do interact in the configuration, the program prints out a line containing:&lt;br /&gt;
* The id of the two particles (starting from 0)&lt;br /&gt;
* The total interaction energy&lt;br /&gt;
* The hydrogen bonding (base pairing) energy&lt;br /&gt;
* The stacking energy&lt;br /&gt;
* The cross stacking energy&lt;br /&gt;
* The excluded volume energy&lt;br /&gt;
* The FENE interaction energy&lt;br /&gt;
* A letter indicating a status code. This will be &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; for pairs that interact through bonded interactions (i.e. they are neighbors along a strand) and it will be &amp;lt;tt&amp;gt;H&amp;lt;/tt&amp;gt; when a base pair is present. Our definition of base pair is when two nucleotides have a hydrogen bonding energy less than 0.1 in simulation units (see [[Publications|Ref. 2]]).&lt;br /&gt;
&lt;br /&gt;
===Geometry of the Model===&lt;br /&gt;
In the configuration/trajectory files only the positions and orientations of the nucleotides are stored. If one wants to recover the positions of the individual interaction sites in the model, some maths need to be done.&lt;br /&gt;
&lt;br /&gt;
The position of the base, stacking and backbone sites can be recovered as follows:&lt;br /&gt;
&lt;br /&gt;
base site:     (center) + 0.40 * (axis vector)&lt;br /&gt;
&lt;br /&gt;
stacking site: (center) + 0.34 * (axis vector)&lt;br /&gt;
&lt;br /&gt;
backbone site: (center) - 0.40 * (axis_vector)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The picture in the [[Model_introduction|introduction]] might help understanding where the sites are.&lt;br /&gt;
&lt;br /&gt;
==External Forces==&lt;br /&gt;
The code implements several types of external forces that can be imposed on the system that can be used either to simulate tension exerted on DNA or simply to accelerate the formation of secondary or tertiary structure. External forces can be tricky to treat, especially in a dynamics simulation, since they are an external source of work. Care should be taken in adjusting the time step, thermostat parameters and such.&lt;br /&gt;
&lt;br /&gt;
To enable external forces, one needs to specify &amp;lt;tt&amp;gt;external_forces = 1&amp;lt;/tt&amp;gt; in the input file and also supply an external force file to read from with the key &amp;lt;tt&amp;gt;external_forces_file = &amp;lt;file&amp;gt;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The syntax of the external forces file is quite simple. Examples of such files can be found in the [[Hairpin_formation|hairpin formation]] and [[Pseudoknot|Pseudoknot formation]] examples. Each force is specified within a block contained in curly brackets. Empty lines and lines beginning with an hash symbol (&amp;lt;tt&amp;gt;#&amp;lt;/tt&amp;gt;) are ignored. Different forces require different keys to be present. If the file has the wrong syntax, oxDNA should spit out a sensible error message while parsing the file.&lt;br /&gt;
&lt;br /&gt;
The different types of forces implemented at the moment are:&lt;br /&gt;
* harmonic trap&lt;br /&gt;
* string &lt;br /&gt;
* repulsion plane&lt;br /&gt;
* mutual trap&lt;br /&gt;
&lt;br /&gt;
All forces act on the centre of the particle.&lt;br /&gt;
&lt;br /&gt;
Forces of different kinds can be combined in the same simulation. There is a maximum number of 10 external forces per particle for memory reasons. This can be manually overridden recompiling the code with a different value of the macro &amp;lt;tt&amp;gt;MAX_EXT_FORCES&amp;lt;/tt&amp;gt; (currently 10) in &amp;lt;tt&amp;gt;defs.h&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===String===&lt;br /&gt;
A string is implemented as a force that does not depend on the particle position. Its value can be constant or can change linearly with time. It is useful as it does not fluctuate with time.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = string&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force&lt;br /&gt;
* &#039;&#039;&#039;F0&#039;&#039;&#039; (float) the value of the force at time = 0 in simulation units (please note that the value of the time may or may not be reset when starting a simulation, depending on the input file)&lt;br /&gt;
* &#039;&#039;&#039;rate&#039;&#039;&#039; (float) growing rate of the force (simulation units/time steps). Typical values are very small (&amp;lt; 10^(-5))&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) direction of the force (automatically normalised by the code)&lt;br /&gt;
&lt;br /&gt;
The following bit of code will create an external force on the first nucleotide in the system starting at 1 simulation units (48.15 pN) and growing linearly with time at the rate of 48.15pN every million time steps. The force will pull the nucleotide along the &amp;lt;tt&amp;gt;z&amp;lt;/tt&amp;gt; direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = string&lt;br /&gt;
particle = 0&lt;br /&gt;
F0 = 1.&lt;br /&gt;
rate = 1e-6&lt;br /&gt;
dir = 0., 0., 1.&lt;br /&gt;
} &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Harmonic trap===&lt;br /&gt;
This type of force implements an harmonic trap, of arbitrary stiffness, that can move linearly with time. It can be useful to fix the position of the nucleotides to simulate attachment to something or to implement (quasi) constant extension simulations.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = trap&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force&lt;br /&gt;
* &#039;&#039;&#039;pos0&#039;&#039;&#039; (3 floats separated by commas) rest position of the trap&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap (the force is stiff * dx)&lt;br /&gt;
* &#039;&#039;&#039;rate&#039;&#039;&#039; (float) speed of the trap (length simulation units/time steps)&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) direction of movement of the trap&lt;br /&gt;
&lt;br /&gt;
Here is an example input for a harmonic trap acting on the third nucleotide constraining it to stay close to the origin. In this example the trap does not move (&amp;lt;tt&amp;gt;rate=0&amp;lt;/tt&amp;gt;), but one could have it move at a constant speed along the direction specified by &amp;lt;tt&amp;gt;dir&amp;lt;/tt&amp;gt;, in this case the &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = trap&lt;br /&gt;
particle = 2&lt;br /&gt;
pos0 = 0., 0., 0.&lt;br /&gt;
stiff = 1.0&lt;br /&gt;
rate = 0.&lt;br /&gt;
dir = 1.,0.,0.&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please note that the trap does not comply with periodic boundary conditions. This is most likely what you want.&lt;br /&gt;
&lt;br /&gt;
===Repulsion plane===&lt;br /&gt;
This kind of external force implements a repulsion plane that constrains a particle (or the whole system) to stay on one side of it. It is implemented as a harmonic repulsion, but the stiffness can be made arbitrarily high to mimic a hard repulsion.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = repulsion_plane&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force. If set to the special value -1, the force will be exerted on all particles.&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap (the force is stiff * D, where D is distance from the plane. The force is exerted only if the nucleotide is below the plane)&lt;br /&gt;
* &#039;&#039;&#039;dir&#039;&#039;&#039; (3 floats separated by commas) a direction normal to the plane&lt;br /&gt;
* &#039;&#039;&#039;position&#039;&#039;&#039; (1 float number) specifies the position of the plane&lt;br /&gt;
&lt;br /&gt;
If direction is &amp;lt;tt&amp;gt; direction =  u,v,w &amp;lt;/tt&amp;gt; , then the plane contains all the points (x,y,z) that satisfy the equation: u*x + v*y + w*z + position = 0.&lt;br /&gt;
Only nucleotides  with coordinates (x,y,z) that satisfy u*x + v*y + w*z + position &amp;lt; 0 will feel the force.&lt;br /&gt;
The force exerted on a nucleotide is equal to stiff * D, where D is the distance of the nucleotide from the plane, where &amp;lt;tt&amp;gt; D = | u*x + v*y + w*z + position | / \sqrt(v^2 + u^2 + z^2 ).&amp;lt;/tt&amp;gt;&lt;br /&gt;
For nucleotides for which u*x + v*y + w*z + position &amp;gt;= 0, no force will be exerted.&lt;br /&gt;
&lt;br /&gt;
Here is an example. This plane acts on the whole system and will not exert any force on nucleotides with a positive &amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; coordinate. A force proportional to 96.3pN * (&amp;lt;tt&amp;gt;x&amp;lt;/tt&amp;gt; coordinate) will be exerted on all particles . &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = repulsion_plane&lt;br /&gt;
#whole system&lt;br /&gt;
particle = -1&lt;br /&gt;
stiff = 1. #96.3 pN in simulation units&lt;br /&gt;
dir = 1, 0, 0&lt;br /&gt;
position = 0&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If in the above example you would specify position = 3, then the force would be exerted on all nucleotides with coordinate x &amp;gt; -3.&lt;br /&gt;
&lt;br /&gt;
===Mutual trap===&lt;br /&gt;
This force is useful to form initial configurations. It is a harmonic force that at every moment pulls a particle towards a reference particle. It is possible to specify the separation at which the force will be 0.&lt;br /&gt;
&lt;br /&gt;
A force of this kind is specified with &amp;lt;tt&amp;gt;type = mutual_trap&amp;lt;/tt&amp;gt;. The relevant keys are:&lt;br /&gt;
* &#039;&#039;&#039;particle&#039;&#039;&#039; (int) the particle on which to exert the force.&lt;br /&gt;
* &#039;&#039;&#039;ref_particle&#039;&#039;&#039; (int) particle to pull towards. Please note that this particle will not feel any force (the name mutual trap is thus misleading).&lt;br /&gt;
* &#039;&#039;&#039;stiff&#039;&#039;&#039; (float) stiffness of the trap&lt;br /&gt;
* &#039;&#039;&#039;r0&#039;&#039;&#039; (float) equilibrium distance of the trap.&lt;br /&gt;
* &#039;&#039;&#039;position&#039;&#039;&#039; (3 floats separated by commas) one point belonging to the plane.&lt;br /&gt;
&lt;br /&gt;
Here is an example, extracted from the [[Pseudoknot|pseudoknot formation example]]. This will pull particle 14 towards particle 39, favouring an equilibrium distance of 1.4 (which corresponds roughly to the minimum of the hydrogen bonding potential, not a coincidence). The same force with opposite sign is exerted on particle 39 through a separate force. It is not necessary to have both particles feel the force, but it is usually works much better.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
type = mutual_trap&lt;br /&gt;
particle = 14&lt;br /&gt;
ref_particle = 39&lt;br /&gt;
stiff = 1.&lt;br /&gt;
r0 = 1.2&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
type = mutual_trap&lt;br /&gt;
particle = 39&lt;br /&gt;
ref_particle = 14&lt;br /&gt;
stiff = 1.&lt;br /&gt;
r0 = 1.2&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Visualisation of structures==&lt;br /&gt;
oxDNA produces a trajectory file where all the relevant information is&lt;br /&gt;
stored. A converter is provided (&amp;lt;tt&amp;gt;traj2vis.py&amp;lt;/tt&amp;gt;) in the&lt;br /&gt;
&amp;lt;tt&amp;gt;UTILS&amp;lt;/tt&amp;gt; directory that is able to produce files in the &amp;lt;tt&amp;gt;xyz&amp;lt;/tt&amp;gt;&lt;br /&gt;
and &amp;lt;tt&amp;gt;pdb&amp;lt;/tt&amp;gt; formats. The same program can be used on a configuration&lt;br /&gt;
file and it will produce a snapshot.&lt;br /&gt;
&lt;br /&gt;
Since the model is coearse-grained, we have to &amp;quot;trick&amp;quot; the visualisers into&lt;br /&gt;
thinking that the interaction sites in the model are actually atoms.&lt;br /&gt;
Advanced nucleic acids representations such as ribbons will not work on the&lt;br /&gt;
outputs.&lt;br /&gt;
&lt;br /&gt;
All the images in the [[Screenshots]] page were produced with the pdb representation using UCSF chimera (see later on).&lt;br /&gt;
&lt;br /&gt;
===xyz format===&lt;br /&gt;
&lt;br /&gt;
just run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$oxDNA/UTILS/traj2vis.py xyz &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(where &amp;lt;tt&amp;gt;$oxDNA&amp;lt;/tt&amp;gt; is the oxDNA source directory) to get the xyz representation in a file called the same as the trajectory&lt;br /&gt;
file with &amp;lt;tt&amp;gt;.xyz&amp;lt;/tt&amp;gt; appended. Please note that boundary conditions are&lt;br /&gt;
implemented strand-wise, so strands that are bound might appear at two&lt;br /&gt;
different sizes of the box. Also, the center of mass of the system (where&lt;br /&gt;
each strand is weighted the same regardless of the length) is set to 0 at&lt;br /&gt;
each frame. Carbons represent the backbone sites and oxygens the base sites.&lt;br /&gt;
&lt;br /&gt;
The resulting file can be read with a variety of programs. Here we will&lt;br /&gt;
explain how to visualise it sensibly in [http://www.ks.uiuc.edu/Research/vmd/ VMD].&lt;br /&gt;
&lt;br /&gt;
* Run VMD and load the xyz file.&lt;br /&gt;
* In the graphics menu, go to Representations.&lt;br /&gt;
* In the Selected Atoms line, input &amp;lt;tt&amp;gt;name C&amp;lt;/tt&amp;gt;. Also select Drawing method CPK, sphere scale 0.8 and Bond Radius 0.&lt;br /&gt;
* In the Selected Atoms line, input &amp;lt;tt&amp;gt;name O&amp;lt;/tt&amp;gt;. Also select Drawing method CPK, sphere scale 0.6 and Bond Radius 0.&lt;br /&gt;
&lt;br /&gt;
This should produce a ball representation of our model DNA. Bonds&lt;br /&gt;
automatically produced by VMD are NOT meaningful in our context.&lt;br /&gt;
&lt;br /&gt;
===pdb format===&lt;br /&gt;
Run &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$oxDNA/UTILS/traj2vis.py xyz &amp;lt;trajectory&amp;gt; &amp;lt;topology&amp;gt; &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to produce a trajectory/configuration in the pdb format. A further file&lt;br /&gt;
called &amp;lt;tt&amp;gt;chimera.com&amp;lt;/tt&amp;gt; will be produced (more on this later). All&lt;br /&gt;
comments above about periodic boundaries and centre of mass apply here as&lt;br /&gt;
well.&lt;br /&gt;
&lt;br /&gt;
The pdb file can be visualised in VMD just like the xyz format, but a nicer&lt;br /&gt;
output can be produced with [http://www.cgl.ucsf.edu/chimera/ UCSF Chimera] (although only for snapshots at&lt;br /&gt;
the moment) as follows:&lt;br /&gt;
&lt;br /&gt;
Run chimera and load the pdb file. An ugly output will be displayed.&lt;br /&gt;
&lt;br /&gt;
Bring up the command line under the &amp;lt;tt&amp;gt;Tools → General Controls&amp;lt;/tt&amp;gt; menu.&lt;br /&gt;
Input &amp;lt;tt&amp;gt;read chimera.com&amp;lt;/tt&amp;gt; in the command line and press enter. You&lt;br /&gt;
should get a nicer visualisation with different bases in different colors,&lt;br /&gt;
all the covalent bonds in the right place, etc.&lt;br /&gt;
&lt;br /&gt;
On large configurations, the production of ellipsoids will be extremely&lt;br /&gt;
slow. You can remove it by removing the line&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;aniso scale 0.75 smoothing 4&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
from the commands file. Loading the resulting file should be much faster.&lt;br /&gt;
&lt;br /&gt;
UCSF chimera can in turn export the scene in a variety of formats.&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
	<entry>
		<id>https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=515</id>
		<title>Download and Installation</title>
		<link rel="alternate" type="text/html" href="https://dna.physics.ox.ac.uk/index.php?title=Download_and_Installation&amp;diff=515"/>
		<updated>2012-04-19T18:07:32Z</updated>

		<summary type="html">&lt;p&gt;Romano: /* Installation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;In this section, we outline the procedure for compiling oxDNA. Before starting, we recall that the only supported features of oxDNA are &lt;br /&gt;
&lt;br /&gt;
*Molecular and Brownian dynamics&lt;br /&gt;
*Regular Monte Carlo&lt;br /&gt;
*External forces&lt;br /&gt;
*A stand-alone single- and double-strand generator (&amp;lt;tt&amp;gt;UTILS/generate-sa.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
*An output-converter from oxDNA configuration files to .pdb and VMD-supported .xyz files (&amp;lt;tt&amp;gt;UTILS/traj2vis.py&amp;lt;/tt&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
[[Features|This]] page contains a more detailed list.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
===Compiler===&lt;br /&gt;
The recommended compiler is gcc 4.6.x. oxDNA compilation has been thoroughly tested with gcc &amp;gt;= 4.1.x and icpc &amp;gt;= 10. Note that compiling with gcc 4.6.x rather than with gcc 4.1.x results in a significant increase in performances. Since oxDNA is writtern in standard c++, it &#039;&#039;&#039;should&#039;&#039;&#039; be also compatible with other compilers.&lt;br /&gt;
&lt;br /&gt;
===Operating system===&lt;br /&gt;
oxDNA has been tested on Linux (kernel &amp;gt;= 2.6.x) and Mac OS X. Since it is written in ANSI c++, it &#039;&#039;&#039;should&#039;&#039;&#039; also work on other OSes, provided that the makefile is changed accordingly.&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
oxDNA does not depend on any external library apart from the standard c++ library and therefore is completely self-contained.&lt;br /&gt;
&lt;br /&gt;
==Download==&lt;br /&gt;
The source package can be downloaded [http://kratos.phys.uniroma1.it/download_oxdna_code.php here]. There are currently no available binary packages.&lt;br /&gt;
&lt;br /&gt;
==Installation==&lt;br /&gt;
To install the program, untar &amp;lt;tt&amp;gt;oxDNA.tar.gz&amp;lt;/tt&amp;gt; and enter the oxDNA directory. Compile the code with &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
See [[Documentation]] for &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt; options. If you want to compile oxDNA with the Intel C++ compiler (icpc) use&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make intel=1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The compilation process will generate an &amp;lt;tt&amp;gt;oxDNA&amp;lt;/tt&amp;gt; executable in the &amp;lt;tt&amp;gt;Release&amp;lt;/tt&amp;gt; directory. The usage of oxDNA is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
oxDNA &amp;lt;input&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The complete list of supported input options can be found [[Documentation#Input_file|here]]. If you want some hands-on examples, there are some in the [[Examples|EXAMPLES]] directory.&lt;br /&gt;
&lt;br /&gt;
A useful analysis tool that prints out all the interactions for a configuration is in the &amp;lt;tt&amp;gt;UTILS/process_data/&amp;lt;/tt&amp;gt; directory. To compile it, one needs to go into that directory and type &amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;. The program will be called &amp;lt;tt&amp;gt;output_bonds&amp;lt;/tt&amp;gt; and its usage is described in the [[Documentation#Analysis_of_configurations|Documentation]].&lt;/div&gt;</summary>
		<author><name>Romano</name></author>
	</entry>
</feed>