SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.12060 · 2026

Interpretable DNA Sequence Classification via Dynamic Feature Generation in Decision Trees

Mihaela Van Der Schaar, Krzysztof Kacprzyk, Nicolas Huynh, David Bentley, Ryan Sheridan

arXiv · PDF · Open in the Atlas

Code that ran

13 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-23; 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/2604.12060.json · badge: /api/ran/2604.12060.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
egochao/DeePromoter canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
nicolashuynh/deft community
Papers with Code archive
9 ran · 3 no recorded run
fpy94/PEPMAN community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
FeatureInfo Ran
ran on a synthesized input · constructed an object; no result was computed
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("a0ec7f87fd8020f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Net Ran
ran on a synthesized input
fpy94/PEPMAN/model.py
pointer only (licence: NONE) · get_code("40488d364d785e1f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fpy94/PEPMAN when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Node Ran
ran on a synthesized input · constructed an object; no result was computed
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("acd2f0f2fd463006")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_compute_split_masks Ran
ran; our contract draft was wrong, not the code
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("a2aab288c3c9918a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_finalize_predictions Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("61753de419f2eefe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

_prediction_to_scalar Ran
ran, honoured the contract we drafted
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("edee47f99a636285")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compress_node Ran
ran; our contract draft was wrong, not the code
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("ff4f9badadc45af2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

evaluate_feature_function Ran
ran; our contract draft was wrong, not the code
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("5d007417280dd3a6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

feature_output_to_series Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("a22a295b1c2d8e50")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_list_kmer Ran
ran; our contract draft was wrong, not the code
egochao/DeePromoter/utils.py
code served (permissive licence) · get_code("ac3fa65f19625861")
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 itertools

def get_list_kmer(kmer, string='TGCA'):
    string = list(string)
    lkmer = [''.join(p) for p in itertools.product(string, repeat=kmer)]
    lkmer.sort()
    return lkmer

# Setup code
ARGS = {
    'kmer': 2,
    'string': 'TGCA'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
predict_at_depth_vectorized Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("6a6f703110ef8eb7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

protein2num Ran
ran, honoured the contract we drafted
egochao/DeePromoter/utils.py
code served (permissive licence) · get_code("7faf15cf64fd2352")
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 int; 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 torch
import numpy as np

# Define ARGS for protein2num function
ARGS = {
    "protein": "ACDEFGHIKLMNPQRSTVWY",  # Example protein sequence (amino acids)
    "elements": ["AC", "CD", "DE", "EF", "FG", "GH", "HI", "IK", "KL", "LM", "MN", "NP", "PQ", "QR", "RS", "ST", "TV", "VW", "WY"]  # 2-mers (kmers of length 2)
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — 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 int — 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
reader Ran
ran; our contract draft was wrong, not the code
egochao/DeePromoter/utils.py
code served (permissive licence) · get_code("bd6ea7af7f6eeea1")
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

# Create a temporary file with some test data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("line one\n")
temp_file.write("line two with spaces  \n")
temp_file.write("line three\n")
temp_file.close()

filep = temp_file.name

ARGS = {
    'filep': filep
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — 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
AdaptiveDecisionTree Not yet run
unverified (harvested, no recorded run)
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("a7ffbd8963030479")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

SplitCriterion Not yet run
unverified (harvested, no recorded run)
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("ca74303c5fd1ddef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

predict_all_depths_vectorized Not yet run
unverified (harvested, no recorded run)
nicolashuynh/deft/src/trees/tree.py
pointer only (licence: NONE) · get_code("313f9e1357e1a38c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nicolashuynh/deft when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 16 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.

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-23.

Repositories linked to this paper

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

Abstract

The analysis of DNA sequences has become critical in numerous fields, from evolutionary biology to understanding gene regulation and disease mechanisms. While deep neural networks can achieve remarkable predictive performance, they typically operate as black boxes. Contrasting these black boxes, axisaligned decision trees offer a promising direction for interpretable DNA sequence analysis, yet they suffer from a fundamental limitation: considering individual raw features in isolation at each split limits their expressivity, which results in prohibitive tree depths that hinder both interpretability and generalization performance. We address this challenge by introducing DEFT, a novel framework that adaptively generates high-level sequence features during tree construction. DEFT leverages large language models to propose biologicallyinformed features tailored to the local sequence distributions at each node and to iteratively refine them with a reflection mechanism. Empirically, we demonstrate that DEFT discovers human-interpretable and highly predictive sequence features across a diverse range of genomic tasks.

For agents

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

get_harvested_code_for_paper("2604.12060")
get_code_for_paper("2604.12060")
have("2604.12060")

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

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

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

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

Connect an agent — have() is free.