Skip to content

Commit

Permalink
Update tutorial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-doty committed Dec 28, 2020
1 parent 0fe9bf6 commit a563263
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutorial/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ def add_scaffold_precursors(design: sc.Design) -> None:
We drew the scaffold precursor on helix 23 as two strands, each half the length (144) of those on other helices (288).
But we could alternately think of it as one strand of length 288 that has had a "nick" created in the middle, so we could have created it similarly to the other helices and then called the method [Design.add_nick](https://scadnano-python-package.readthedocs.io/en/latest/#scadnano.Design.add_nick). This is how we will create the staples later, which have many more nicks on each helix than the scaffold.

The chained method calls in this case don't show how to create a strand with crossovers; see the [example on the README page](https://github.com/UC-Davis-molecular-computing/scadnano-python-package#abbreviated-syntax-with-chained-methods) for a more representative example of creating a complete strand spanning several helices with chained method calls.

Execute the script. The file `24_helix_rectangle.sc` is getting large now, so we won't show the whole thing, but the `strands` field should be non-empty now and start something like this:

```json
Expand Down

0 comments on commit a563263

Please sign in to comment.