You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/index.rst
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -31,14 +31,19 @@ Scadnano provides function to convert design to and from cadnano v2:
31
31
**Important**
32
32
33
33
All ``cadnanov2`` designs can be imported to scadnano. However **not all scadnano designs can be imported
34
-
to cadnanov2**, to be exportable to ``cadnanov2`` a scadnano design need to comply with the following points:
35
-
36
-
* The design cannot feature any :class:`Loopout` or :class:`Extension`, since these are not concepts that exist in ``cadnanov2``.
37
-
* Following ``cadnanov2`` conventions, helices with **even** number must have their scaffold going **forward** and helices with **odd** number **backward**.
38
-
* If you use paranemic crossovers (i.e. crossovers where the domains before and after the crossover are in the same direction), the helices' row number (i.e. not the helices' indexes but their y coordinate) of the domains must have the same parity e.g. rows 0 and 2, or 1 and 3, but not 0 and 1.
39
-
40
-
Also note that maximum helices offsets can be altered in a ``scadnano`` to ``cadnanov2`` conversion as ``cadnanov2`` needs max offsets to be a multiple of 21 in the hex grid and 32 in the rectangular grid.
41
-
The conversion algorithm will choose the lowest multiple of 21 or 32 which fits the entire design.
34
+
to cadnanov2**; to be exportable to ``cadnanov2`` a scadnano design need to comply with the following constraints:
35
+
36
+
* The design cannot feature any :class:`Loopout` or :class:`Extension`, since these are not concepts that exist in
37
+
``cadnanov2``.
38
+
* Following ``cadnanov2`` conventions, helices with **even** number must have their scaffold going **forward** and
39
+
helices with **odd** number **backward**.
40
+
* If you use paranemic crossovers (i.e. crossovers where the domains before and after the crossover are in the same
41
+
direction), the helices' row number (i.e. not the helices' indexes but their y coordinate) of the domains must have
42
+
the same parity, meaning both even or both odd, for example rows 0 and 2, or 1 and 3, but not 0 and 1.
43
+
44
+
Also note that maximum helices offsets can be altered in a ``scadnano`` to ``cadnanov2`` conversion as ``cadnanov2``
45
+
needs max offsets to be a multiple of 21 in the hex grid and 32 in the rectangular grid. The conversion algorithm will
46
+
choose the lowest multiple of 21 or 32 which fits the entire design.
42
47
43
48
The ``cadnanov2`` json format does not embed sequences hence they will be lost after conversion.
0 commit comments