Skip to content

lua - #111

Open
Koeng101 wants to merge 22 commits into
mainfrom
lua
Open

lua#111
Koeng101 wants to merge 22 commits into
mainfrom
lua

Conversation

@Koeng101

Copy link
Copy Markdown
Owner

this integrates lua as a native language for dnadesign.

@Koeng101

Copy link
Copy Markdown
Owner Author

There are a few things I really want to implement:

  1. Guarantee Genbank parsing safety (genbank input will be the genbank output)
  2. Add ability to clone / PCR with features from a genbank file. They need to be carried along.

Koeng101 and others added 4 commits December 10, 2025 18:47
* Add FragmentWithBreak to interrupt a gene across assemblies

Adds fragment_with_break to both the Lua (src/fragment.tl) and Go
(go/lib/synthesis/fragment) implementations. It forces a single fragment
junction into a given window, splitting a sequence into "before" and
"after" halves whose overhangs never collide. This supports interrupting
a selection marker (e.g. kanR) across two assemblies so it is only
reconstituted in a later GoldenGate.

The break overhang is the most efficient non-palindromic 4bp overhang in
the window; each half is then fragmented independently, with the
after-break fragmentation excluding the before-break overhangs.

Includes matching tests/examples on both sides: a window/junction/
collision/round-trip test and a recursion-down example that fragments the
~1kbp chunks into 151-176bp pieces.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: bump test-lib/test-external Go toolchain to 1.24.x

The macos-latest runner's dyld now requires an LC_UUID load command,
which the Go 1.22.x linker omitted, causing bio.test to abort at load
("missing LC_UUID load command", signal: abort trap). Bumping the Go
toolchain to 1.24.x emits LC_UUID and fixes the macOS job. Both modules
declare go 1.22.0, so the newer toolchain is backward compatible.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant