SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.06151 · NeurIPS · 2023

Towards Joint Sequence-Structure Generation of Nucleic Acid and Protein Complexes with SE(3)-Discrete Diffusion

Ali Madani, Alex Morehead, Jeffrey Ruffolo, Aadyot Bhatnagar

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-21; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2401.06151.json · badge: /api/ran/2401.06151.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Profluent-Internships/MMDiff canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
FunctionStatusWhere it lives
get_pylogger Ran
ran; our contract draft was wrong, not the code
Profluent-Internships/MMDiff/src/utils/pylogger.py
code served (permissive licence) · get_code("b0cd1557c2946d8d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Logger. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import logging
from lightning.pytorch.utilities import rank_zero_only

# The function get_pylogger takes an optional name parameter
# It uses the name to get a logger via logging.getLogger(name)
# The function doesn't actually call the logger methods, it just wraps them
# So we just need to pass a valid string name

ARGS = {
    "name": "test_logger"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
lightning — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
is_integer Ran
ran, violated the contract we drafted
Profluent-Internships/MMDiff/src/utils/utils.py
code served (permissive licence) · get_code("bfeed12000667ac6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np
from beartype import beartype
from beartype.typing import Any, Callable, Optional

torch.manual_seed(0)

# The function is_integer takes a single parameter 'value' of type Any
# It attempts to convert the value to int, returning True if successful, False otherwise
# We need to provide a value that can be tested

ARGS = {
    "value": 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
beartype, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_PDB Ran
ran; our contract draft was wrong, not the code
Profluent-Internships/MMDiff/forks/ProteinMPNN/protein_mpnn_utils.py
code served (permissive licence) · get_code("cef35149a8e05f7d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os
import numpy as np

# Create a minimal valid PDB file
pdb_content = """ATOM      1  N   ALA A   1       0.000   0.000   0.000  1.00  0.00           N
ATOM      2  CA  ALA A   1       1.458   0.000   0.000  1.00  0.00           C
ATOM      3  C   ALA A   1       2.009   1.390   0.000  1.00  0.00           C
ATOM      4  O   ALA A   1       1.380   2.240   0.626  1.00  0.00           O
ATOM      5  N   GLY A   2       3.209   1.610  -0.625  1.00  0.00           N
ATOM      6  CA  GLY A   2       3.870   2.900  -0.670  1.00  0.00           C
ATOM      7  C   GLY A   2       5.280   2.900  -0.119  1.00  0.00           C
ATOM      8  O   GLY A   2       5.840   1.810   0.059  1.00  0.00           O
END
"""

# Write to a temporary file
with tempfile.NamedTemporaryFile(mode='w', suffix='.pdb', delete=False) as f:
    f.write(pdb_content)
    pdb_path = f.name

try:
    ARGS = {
        'path_to_pdb': pdb_path,
        'input_chain_list': None,
        'ca_only': False,
    }
finally:
    pass
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_PDB_biounits Ran
ran; our contract draft was wrong, not the code
Profluent-Internships/MMDiff/forks/ProteinMPNN/protein_mpnn_utils.py
code served (permissive licence) · get_code("e68c5be0ba38ac9b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import tempfile
import os

# Create a minimal valid PDB file
pdb_content = """ATOM      1  N   ALA A   1      10.000  20.000  30.000  1.00  0.00           N
ATOM      2  CA  ALA A   1      11.000  21.000  31.000  1.00  0.00           C
ATOM      3  C   ALA A   1      12.000  22.000  32.000  1.00  0.00           C
ATOM      4  N   ARG A   2      13.000  23.000  33.000  1.00  0.00           N
ATOM      5  CA  ARG A   2      14.000  24.000  34.000  1.00  0.00           C
ATOM      6  C   ARG A   2      15.000  25.000  35.000  1.00  0.00           C
ATOM      7  N   VAL A   3      16.000  26.000  36.000  1.00  0.00           N
ATOM      8  CA  VAL A   3      17.000  27.000  37.000  1.00  0.00           C
ATOM      9  C   VAL A   3      18.000  28.000  38.000  1.00  0.00           C
END
"""

# Create a temporary PDB file
temp_pdb = tempfile.NamedTemporaryFile(mode='w', suffix='.pdb', delete=False)
temp_pdb.write(pdb_content)
temp_pdb.close()
pdb_filepath = temp_pdb.name

try:
    ARGS = {
        'x': pdb_filepath,
        'atoms': ['N', 'CA', 'C'],
        'chain': None
    }
finally:
    # Clean up after defining ARGS
    pass
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
parse_fasta Ran
ran; our contract draft was wrong, not the code
Profluent-Internships/MMDiff/forks/ProteinMPNN/protein_mpnn_utils.py
code served (permissive licence) · get_code("cc287b7f78ecb5e5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os
import numpy as np

# Create a temporary FASTA file
temp_dir = tempfile.mkdtemp()
fasta_file = os.path.join(temp_dir, "test.fasta")

with open(fasta_file, 'w') as f:
    f.write(">sequence1\n")
    f.write("ACGTACGT\n")
    f.write(">sequence2\n")
    f.write("TGCATGCA\n")
    f.write(">sequence3\n")
    f.write("AAGGCCTT\n")

ARGS = {
    'filename': fasta_file,
    'limit': -1,
    'omit': []
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 4 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 4 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_pylogger 14 other papers
7 dated earlier, 7 later · 1 only as an assembly brick
2209.03143 (2022-09)
AudioLM: a Language Modeling Approach to Audio Generation
2305.14930 (2023-05)
In-Context Impersonation Reveals Large Language Models' Strengths and Biases
2305.20091 (2023-05)
Humans in 4D: Reconstructing and Tracking Humans with Transformers
and 11 more not named here
parse_PDB 4 other papers
4 later
2406.03141 (2024-06)
Floating Anchor Diffusion Model for Multi-motif Scaffolding
2411.10618 (2024-11)
D-Flow: Multi-modality Flow Matching for D-peptide Design
2412.20888 (2024-12)
Navigating Chemical-Linguistic Sharing Space with Heterogeneous Molecular Encoding
and 1 more not named here
parse_PDB_biounits 4 other papers
4 later
2406.03141 (2024-06)
Floating Anchor Diffusion Model for Multi-motif Scaffolding
2411.10618 (2024-11)
D-Flow: Multi-modality Flow Matching for D-peptide Design
2412.20888 (2024-12)
Navigating Chemical-Linguistic Sharing Space with Heterogeneous Molecular Encoding
and 1 more not named here
parse_fasta 2 other papers
2 later
2412.20888 (2024-12)
Navigating Chemical-Linguistic Sharing Space with Heterogeneous Molecular Encoding
2503.00089 (2025-03)
Protein Structure Tokenization: Benchmarking and New Recipe

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-21.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Generative models of macromolecules carry abundant and impactful implications for industrial and biomedical efforts in protein engineering. However, existing methods are currently limited to modeling protein structures or sequences, independently or jointly, without regard to the interactions that commonly occur between proteins and other macromolecules. In this work, we introduce MMDIFF, a generative model that jointly designs sequences and structures of nucleic acid and protein complexes, independently or in complex, using joint SE(3)-discrete diffusion noise. Such a model has important implications for emerging areas of macromolecular design including structure-based transcription factor design and design of noncoding RNA sequences. We demonstrate the utility of MMDIFF through a rigorous new design benchmark for macromolecular complex generation that we introduce in this work. Our results demonstrate that MMDIFF is able to successfully generate micro-RNA and single-stranded DNA molecules while being modestly capable of joint modeling DNA and RNA molecules in interaction with multi-chain protein complexes. Source code: https://github.com/Profluent-Internships/MMDiff. * Alex Morehead was employed by Profluent Bio as a research intern at the time of this work.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2401.06151")
get_code_for_paper("2401.06151")
have("2401.06151")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2401.06151.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2401.06151.svg)](https://syntology.ai/paper/2401.06151)

Connect an agent — have() is free.