shaipranesh commited on
Commit
6c4178a
·
verified ·
1 Parent(s): 75fba89

Add disjoint 10K ligand example

Browse files
.gitattributes CHANGED
@@ -72,3 +72,4 @@ crossdock/crossdocked_v1.0_rmsd_1_to_2_all_heavy_pocket_train.lmdb filter=lfs di
72
  crossdock/crossdocked_v1.0_rmsd_1_to_2_all_heavy_pocket_valid_3000.lmdb filter=lfs diff=lfs merge=lfs -text
73
  pockets_center_frame_cartesian/train.lmdb filter=lfs diff=lfs merge=lfs -text
74
  pockets_center_frame_cartesian/valid.lmdb filter=lfs diff=lfs merge=lfs -text
 
 
72
  crossdock/crossdocked_v1.0_rmsd_1_to_2_all_heavy_pocket_valid_3000.lmdb filter=lfs diff=lfs merge=lfs -text
73
  pockets_center_frame_cartesian/train.lmdb filter=lfs diff=lfs merge=lfs -text
74
  pockets_center_frame_cartesian/valid.lmdb filter=lfs diff=lfs merge=lfs -text
75
+ ligands/example_10000.lmdb filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- pretty_name: MolWeaver Molecular Data
3
  task_categories:
4
  - text-generation
5
  - feature-extraction
@@ -9,47 +9,15 @@ tags:
9
  - selfies
10
  - conformers
11
  - rdkit
12
- - protein-ligand
13
  ---
14
 
15
- # MolWeaver Molecular Data
16
 
17
- This repository contains the molecular data used by MolWeaver: a
18
- 100-million-record ligand corpus, preprocessed CrossDocked protein-ligand
19
- examples, and protein-pocket train/validation data in a centered Cartesian
20
- frame. The dataset repository ID is `shaipranesh/mol_data`.
21
 
22
- ## Dataset layout
23
-
24
- ```text
25
- ligands/
26
- shard_1.lmdb
27
- shard_1_metadata.json
28
- ...
29
- shard_5.lmdb
30
- shard_5_metadata.json
31
- crossdock/
32
- crossdocked_v1.0_rmsd_1_to_2_all_heavy_pocket_train.lmdb
33
- crossdocked_v1.0_rmsd_1_to_2_all_heavy_pocket_train.lmdb.{keys.pkl,meta.json,split.json}
34
- crossdocked_v1.0_rmsd_1_to_2_all_heavy_pocket_valid_3000.lmdb
35
- crossdocked_v1.0_rmsd_1_to_2_all_heavy_pocket_valid_3000.lmdb.{keys.pkl,meta.json,split.json}
36
- pockets_center_frame_cartesian/
37
- train.lmdb
38
- train.lmdb.{keys.pkl,meta.json}
39
- valid.lmdb
40
- valid.lmdb.{keys.pkl,meta.json}
41
- ```
42
-
43
- The sidecar files record key indexes, preprocessing metadata, and split
44
- information where applicable.
45
-
46
- ## Ligand corpus
47
-
48
- The `ligands/` directory contains 100,000,000 globally unique heavy-atom
49
- molecular records split across five LMDB shards. Each shard contains
50
- 20,000,000 records, and all records are assigned to the training split.
51
-
52
- ### Ligand record schema
53
 
54
  Each numeric LMDB key contains a pickled Python dictionary with:
55
 
@@ -66,12 +34,30 @@ Each numeric LMDB key contains a pickled Python dictionary with:
66
  Explicit hydrogen atoms and hydrogen coordinates are not included. Standard
67
  implicit hydrogens are used by RDKit when calculating molecular properties.
68
 
69
- Every ligand shard stores numeric keys `b"0"` through `b"19999999"` and a
 
 
 
 
 
 
 
 
 
 
 
 
70
  pickled `b"length"` value equal to `20_000_000`.
71
 
72
  The local deduplication registries used during generation are not uploaded;
73
  they are not needed to train from the finalized records.
74
 
 
 
 
 
 
 
75
  ## Loading
76
 
77
  ```python
 
1
  ---
2
+ pretty_name: MolWeaver Ligands 100M
3
  task_categories:
4
  - text-generation
5
  - feature-extraction
 
9
  - selfies
10
  - conformers
11
  - rdkit
 
12
  ---
13
 
14
+ # MolWeaver Ligands 100M
15
 
16
+ This dataset contains 100,000,000 globally unique heavy-atom molecular
17
+ records split across five LMDB shards. Each shard contains 20,000,000
18
+ records and all records are assigned to the training split.
 
19
 
20
+ ## Record schema
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
  Each numeric LMDB key contains a pickled Python dictionary with:
23
 
 
34
  Explicit hydrogen atoms and hydrogen coordinates are not included. Standard
35
  implicit hydrogens are used by RDKit when calculating molecular properties.
36
 
37
+ ## Files
38
+
39
+ ```text
40
+ ligands/shard_1.lmdb
41
+ ligands/shard_1_metadata.json
42
+ ...
43
+ ligands/shard_5.lmdb
44
+ ligands/shard_5_metadata.json
45
+ ligands/example_10000.lmdb
46
+ ligands/example_10000_metadata.json
47
+ ```
48
+
49
+ Every `shard_*.lmdb` stores numeric keys `b"0"` through `b"19999999"` and a
50
  pickled `b"length"` value equal to `20_000_000`.
51
 
52
  The local deduplication registries used during generation are not uploaded;
53
  they are not needed to train from the finalized records.
54
 
55
+ `example_10000.lmdb` uses the same record schema and contains 10,000 unique
56
+ SELFIES generated from unused source slice 6. All 10,000 entries were checked
57
+ against the finalized training registries and have no overlap with the 100M
58
+ training records. Its numeric keys are `b"0"` through `b"9999"`, and its
59
+ pickled `b"length"` value is `10_000`.
60
+
61
  ## Loading
62
 
63
  ```python
ligands/example_10000.lmdb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46c306e68c60c8ebb9a170773344b809d87f5a7e03879e8dbf53065517d6d0c3
3
+ size 43323392
ligands/example_10000_metadata.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "conformers_per_molecule": 10,
3
+ "content_sha256": "945947c569420d35bfeee9c460370a2b316053d2c41e44d90812de1c4b995d2c",
4
+ "coordinate_space": "original RDKit Cartesian coordinates; atom-axis permutation only",
5
+ "disjoint_from_training": true,
6
+ "elapsed_seconds": 102.98119640350342,
7
+ "explicit_hydrogens": false,
8
+ "lmdb_bytes": 43323392,
9
+ "normalization_skipped_by_reason": {},
10
+ "property_keys": [
11
+ "qed",
12
+ "sa_score",
13
+ "molecular_weight",
14
+ "mol_log_p",
15
+ "tpsa"
16
+ ],
17
+ "record_keys": [
18
+ "atoms",
19
+ "coordinates",
20
+ "mol_log_p",
21
+ "molecular_weight",
22
+ "qed",
23
+ "sa_score",
24
+ "smi",
25
+ "tpsa"
26
+ ],
27
+ "records": 10000,
28
+ "sample_duplicate_rejected": 0,
29
+ "source_file_errors": {},
30
+ "source_raw_slice": 6,
31
+ "source_records_processed": 10112,
32
+ "training_overlap_rejected": 0,
33
+ "training_records_checked": 100000000,
34
+ "training_registry_files_checked": [
35
+ "/scratch/shai/data_20m_selfies_original_cartesian_shards/selfies_seen.lmdb",
36
+ "/scratch/shai/data_20m_selfies_original_cartesian_shards/shard_1/selfies_seen.lmdb",
37
+ "/scratch/shai/data_20m_selfies_original_cartesian_shards/shard_2/selfies_seen.lmdb",
38
+ "/scratch/shai/data_20m_selfies_original_cartesian_shards/shard_3/selfies_seen.lmdb",
39
+ "/scratch/shai/data_20m_selfies_original_cartesian_shards/shard_4/selfies_seen.lmdb",
40
+ "/scratch/shai/data_20m_selfies_original_cartesian_shards/shard_5/selfies_seen.lmdb"
41
+ ],
42
+ "unique_selfies": 10000,
43
+ "validation": {
44
+ "all_coordinates_finite_float32_checked": true,
45
+ "all_properties_finite_checked": true,
46
+ "all_records_schema_checked": true,
47
+ "all_selfies_training_disjoint_checked": true,
48
+ "all_selfies_unique_checked": true
49
+ }
50
+ }