aptabench-anonymous commited on
Commit
915dc4a
·
verified ·
1 Parent(s): 8a63e43

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +101 -3
README.md CHANGED
@@ -1,3 +1,101 @@
1
- ---
2
- license: cc-by-nc-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ pretty_name: AptaBench
6
+ task_categories:
7
+ - tabular-classification
8
+ - tabular-regression
9
+ tags:
10
+ - aptamers
11
+ - small-molecules
12
+ - dna
13
+ - rna
14
+ - molecular-machine-learning
15
+ - binding-prediction
16
+ - affinity-prediction
17
+ - benchmark
18
+ - leakage-aware-evaluation
19
+ size_categories:
20
+ - 1K<n<10K
21
+ ---
22
+
23
+ <p align="center">
24
+ <img src="logo.png" width="500">
25
+ </p>
26
+
27
+
28
+ # AptaBench
29
+
30
+ AptaBench is a benchmark for aptamer–small-molecule interaction prediction. It contains curated DNA/RNA aptamer–ligand pairs with standardized sequences, canonical SMILES, experimentally grounded active/inactive labels, quantitative affinity values where available, and fixed leakage-aware evaluation splits.
31
+
32
+ This repository is provided for anonymous peer review. Author identities, affiliations, acknowledgements, citation information, and non-anonymous project links will be added after the review process.
33
+
34
+ ## Dataset summary
35
+
36
+ The current release contains 6,289 aptamer–ligand records covering 1,610 unique aptamer sequences and 942 unique ligands from eight curated sources.
37
+
38
+ The benchmark supports two tasks:
39
+
40
+ - **Binding classification**: predict active vs inactive aptamer–ligand pairs.
41
+ - **Affinity regression**: predict pKd values for entries with quantitative affinity annotations.
42
+
43
+ Inactive labels are based on reported non-binding or low-affinity observations, not synthetic random cross-pairing.
44
+
45
+ ## Files
46
+
47
+ - `AptaBench_dataset.csv`: main aptamer–ligand interaction table.
48
+ - `stratified.json`: stratified in-distribution 5-fold split.
49
+ - `disjoint_molecule.json`: molecule-disjoint 5-fold split.
50
+ - `disjoint_aptamer.json`: aptamer-disjoint 5-fold split.
51
+
52
+ ## Data fields
53
+
54
+ - `type`: aptamer type, DNA or RNA.
55
+ - `sequence`: standardized aptamer sequence.
56
+ - `canonical_smiles`: canonical ligand SMILES.
57
+ - `pKd_value`: transformed dissociation constant value, where available.
58
+ - `label`: binary activity label; `1` = active, `0` = inactive or low-affinity.
59
+ - `buffer`: reported experimental buffer or assay condition.
60
+ - `origin`: source publication or database record.
61
+ - `source`: curated source name.
62
+
63
+ ## Evaluation splits
64
+
65
+ Each split file contains five folds with:
66
+
67
+ - `fold`: fold identifier.
68
+ - `train_idx`: zero-based row indices for training.
69
+ - `val_idx`: zero-based held-out row indices used for validation or testing.
70
+
71
+ The indices refer to rows in `AptaBench_dataset.csv`.
72
+
73
+ The three protocols are:
74
+
75
+ - **Stratified**: in-distribution evaluation.
76
+ - **Molecule-disjoint**: held-out ligands do not appear in the corresponding training fold.
77
+ - **Aptamer-disjoint**: held-out aptamer sequences do not appear in the corresponding training fold.
78
+
79
+ Random splits are not recommended because they may overestimate generalization by allowing recurring ligands or aptamer sequences across train and held-out data.
80
+
81
+ ## Loading example
82
+
83
+ ```python
84
+ import json
85
+ import pandas as pd
86
+
87
+ data = pd.read_csv("AptaBench_dataset.csv")
88
+
89
+ with open("stratified.json", "r") as f:
90
+ splits = json.load(f)
91
+
92
+ fold0 = splits[0]
93
+ train_df = data.iloc[fold0["train_idx"]]
94
+ test_df = data.iloc[fold0["val_idx"]]
95
+ ```
96
+
97
+ ## Recommended metrics
98
+
99
+ For classification, report ROC-AUC, PR-AUC, accuracy, balanced accuracy, F1-score, precision, and recall.
100
+
101
+ For affinity regression, report R², RMSE, MAE, and Spearman correlation on entries with available `pKd_value`.