dnoble commited on
Commit
0b479b2
·
verified ·
1 Parent(s): 7bc5e2c

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -35,6 +35,67 @@ To help bridge the gap between experimental affinity measurements and computatio
35
 
36
  Each dataset captures the results of a yeast mating experiment between two protein libraries—one of binders and one of targets. Detailed experimental context and metadata are provided in the accompanying data cards.
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  ## Dataset schema
39
 
40
  | Column | Description |
 
35
 
36
  Each dataset captures the results of a yeast mating experiment between two protein libraries—one of binders and one of targets. Detailed experimental context and metadata are provided in the accompanying data cards.
37
 
38
+ ## Quickstart
39
+
40
+ Load one dataset:
41
+
42
+ ```python
43
+ # Replace with the specific experiment ID you want to load
44
+ from datasets import load_dataset
45
+ ds = load_dataset("aalphabio/public_data_temp", "YM_0549", split="all")
46
+ # From here, cast it to pandas / polars dataframe for analysis if desired
47
+ df = ds.to_pandas()
48
+
49
+ # ...or load directly with pandas
50
+ import pandas as pd
51
+ ym_id = "YM_0549"
52
+ df = pd.read_parquet(f"hf://datasets/aalphabio/public_data_temp/data/{ym_id}/data.parquet")
53
+ print(df)
54
+ ```
55
+
56
+ Fetch multiple experiments at once:
57
+
58
+ ```python
59
+ from datasets import concatenate_datasets
60
+
61
+ repo = "aalphabio/public_data_temp"
62
+ cfgs = ["YM_0549", "YM_1068"]
63
+
64
+ # adds a column for the experiment id
65
+ datasets = [
66
+ ds.add_column("experiment", [cfg] * len(ds))
67
+ for ds, cfg in zip(datasets, cfgs)
68
+ ]
69
+ combined = concatenate_datasets(datasets)
70
+ print(combined)
71
+ ```
72
+
73
+ Use different experiments for modeling splits:
74
+
75
+ ```python
76
+ from datasets import DatasetDict
77
+
78
+ ds = DatasetDict({
79
+ "train": load_dataset(repo, "YM_0693", split="all"),
80
+ "test": load_dataset(repo, "YM_0988", split="all"),
81
+ })
82
+ print(ds)
83
+ ```
84
+
85
+ ## Experiment glossary
86
+
87
+ | YM ID | Description |
88
+ |:--------|:-------------|
89
+ | YM_0005 | Anti-CoV Ab Panel x CoV2-RBD Mutagenesis |
90
+ | YM_0549 | VHH72 Optimization Variants Iter0 x CoV2-RBD |
91
+ | YM_1068 | VHH72 Optimization Variants Iter1 x CoV2-RBD |
92
+ | YM_0693 | PP489 Optimization Variants Iter0 x TIGIT |
93
+ | YM_0988 | PP489 Optimization Variants Iter1 x TIGIT |
94
+ | YM_0852 | Pembrolizumab-scFv Optimiziation Variants Iter0 x PD-1 |
95
+ | YM_0985 | Pembrolizumab-scFv Optimiziation Variants Iter1 x PD-1 |
96
+ | YM_0989 | Trastuzumab-scFv CDR3 Optimization Variants Iter0 x HER-2 |
97
+ | YM_0990 | Trastuzumab-scFv CDR+FW Optimization Variants Iter0 x HER-2 |
98
+
99
  ## Dataset schema
100
 
101
  | Column | Description |
data/YM_0988/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # PP489 Optimization Variants Iter0 x TIGIT (YM_0988)
2
 
3
  ## Overview
4
 
 
1
+ # PP489 Optimization Variants Iter1 x TIGIT (YM_0988)
2
 
3
  ## Overview
4
 
data/YM_0989/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Trastuzumab scFv CDR3 Optimization Variants Iter0 x HER-2 (YM_0989)
2
 
3
  ## Overview
4
 
 
1
+ # Trastuzumab-scFv CDR3 Optimization Variants Iter0 x HER-2 (YM_0989)
2
 
3
  ## Overview
4
 
data/YM_0990/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Trastuzumab scFv CDR+FW Optimization Variants Iter0 x HER-2 (YM_0990)
2
 
3
  ## Overview
4
 
 
1
+ # Trastuzumab-scFv CDR+FW Optimization Variants Iter0 x HER-2 (YM_0990)
2
 
3
  ## Overview
4