Motif is a molecular-biology workbench inside Claude Science.
Open a sequence, annotate it, align it against others, translate it, or compute its reverse complement — without leaving Claude Science. If you need an enzyme, codon table, or analysis Motif doesn't have, ask Claude to add it.
Ask Claude Science for an analysis, and Motif opens the result.
Claude annotates the common KRAS hotspot mutations in Motif, aligns them, and places CRISPR guide sequences on the map. It then reads a paper describing the vanillin pathway's final enzyme and builds that enzyme as a gene cassette. Plays with sound.
Run Motif in Claude Science.
Motif runs from a local checkout. You need Node 22.12+ and permission for Claude Science to read the Motif folder.
Hand it to Claude Code.
Open Claude Code in a new folder and paste this:
Set up Motif for Claude Science from https://github.com/jvogan/motif
Claude Code reads the setup guide, clones the repo, installs dependencies, and registers the connector. You then grant the folder and reconnect in Claude Science — steps 3 to 5 below.
Or run each step yourself.
-
Get the code
Clone the repository and install dependencies.
# needs Node 22.12+ git clone https://github.com/jvogan/motif cd motif && npm ci
-
Build and register the connector
One command builds Motif and adds the local connector.
npm run claude-science:setup -
Grant the folder in Claude Science
Open Permissions and grant the exact Motif folder.
Grant the folder as read-only or read and write. -
Relaunch and reconnect
Fully quit and reopen Claude Science, then reconnect motif-local.
-
Confirm, then try it
motif-local appears under Connectors, in the Custom group. Ask Claude Science to open a sequence — for example, Open pUC19 in Motif.
Approve the tool call, or choose how long the approval lasts.
Motif opens pUC19 with its sequence and circular map in sync.
Add a feature, search for a sequence pattern, mark the restriction sites, design CRISPR guides, and export it. Plays with sound.
One prompt loads a pathway's 44 proteins.
Ask Claude Science to find a pathway's genes and open them in Motif. Inspect the proteins, then align the ones you choose.
-
UniProt Q9HAY6 → Reactome R-HSA-975634 · retinoid metabolism -
44 proteins · GPC1 (P35052) · 558 aa -
Align in browser · or MAFFT / MUSCLE / Clustal Omega -
BCO1 vs GPC1 · 592 columns · 20% conserved · export aligned FASTA
Map a plasmid, annotate its features, and translate its genes.
Ask Claude for a sequence and it opens in Motif as a circular or linear map. Add and edit features on the sequence, see every restriction site marked, and translate a gene to protein in frame. Plays with sound.
Plan a construct before you build it.
Screen a plasmid against 154 built-in restriction enzymes, plus any Claude adds. Find the unique cutters, preview the fragments, and plan a Gibson or Golden Gate assembly with internal Type IIS sites flagged.
- Restriction digest with fragment sizes and cut positions
- Primer design with Tm / GC tuning and enzyme-tail presets
- Gibson & Golden Gate planning with compatible-overhang checks
Motif runs its analyses in your browser.
Claude adds enzymes, codon tables, and new analyses on request.
Read & inspect
The map and the sequence stay in sync.
- Circular plasmid maps
- Feature annotations
- Reading-frame overlays
- Live GC & length stats
Cut & clone
Plan a construct and check it for conflicts.
- Restriction digest
- Primer design (Tm / GC)
- Gibson & Golden Gate
- PCR simulation
Analyze
The same sequence gives the same numbers every time.
- Six-frame ORF detection
- GC, Tm & composition
- NCBI genetic-code selection
- Motif search, both strands
Transform
Turn one sequence into another and keep its history.
- Range & feature translation
- Reverse complement
- Derived protein sequences
- Parent & provenance notes
Import & export
Read and write FASTA and GenBank, or save the workspace as one file.
- FASTA
- GenBank
- Raw sequence
- Self-contained workspace
How Claude connects
Two connector tools open your sequences as a workbench, or save them as one HTML file.
- FASTA, GenBank & raw sequence
- Workbench or a single HTML file
- Inspect and export results
- Claude adds enzymes, codon tables & analyses
Script the standalone workbench.
The standalone workbench exposes a documented page-local API: scripts can read the sequence on screen, load new records, and run their own checks.
// inspect the page-local contract and active record window.motifHelp() window.motifGetActiveRecord()
Motif runs as a local connector in Claude Science.
npm run claude-science:setup registers the server. Grant the folder, choose how approvals work, then ask Claude Science to open a sequence.
Setup adds one connector, motif-local, under Connectors in the Custom group.
Open motif-local to see its two tools, motif_open_workbench and motif_create_workbench_artifact. Leave approvals on and Claude Science shows a card before each call. Turn on Skip approvals to run them without prompting.
Claude reads a paper and aligns its genes in Motif.
Paste a paper into Claude Science and ask Claude to open the genes it describes in Motif. Then ask for the same genes from other species, and for an alignment comparing them.
-
PLOS ONE · 10.1371/journal.pone.0096626 -
FPS KJ140284.1 · crtE DQ012943.1 · 14,314 residues -
motif_FPS_crtE.html · Inventory · Sequence · Map -
6 sequences · 2 from the paper + 4 from UniProt -
6 rows · 440 columns · Clustal Omega 1.2.4
Common problems and their fixes.
Most setup problems come from Claude Science's sandbox blocking the Motif folder. The troubleshooting guide covers the rest.
“Operation not permitted,” or the tools won't load
The tool ran, but no workbench appeared
The sequence shows as plain text
The connector shows up, but its tools are missing
Node installed through nvm or asdf gets denied
Open Motif in Claude Science.
Load a plasmid, inspect the maps and digests Claude builds, and ask for the next analysis.