Asteri2themoon commited on
Commit
e7c716c
·
verified ·
1 Parent(s): 6d90a00

Dataset card

Browse files
Files changed (1) hide show
  1. README.md +101 -0
README.md ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ pretty_name: CoRE MOF 2019
4
+ tags:
5
+ - chemistry
6
+ - materials-science
7
+ - metal-organic-frameworks
8
+ ---
9
+
10
+ # CoRE MOF 2019
11
+
12
+ The public structures of the Computation-Ready Experimental MOF database (Chung et al., 2019),
13
+ version 1.1.4: metal-organic frameworks **determined by experiment**, cleaned to be used in
14
+ simulations. Their solvent is removed in two ways, which make the two splits:
15
+
16
+ | Split | Structures | Atoms | Atoms per structure |
17
+ |---|---|---|---|
18
+ | `asr`, all solvent removed | 12,020 | 3,926,702 | 10 to 10,560, median 192 |
19
+ | `fsr`, free solvent removed | 7,061 | 2,388,025 | 10 to 10,560, median 204 |
20
+
21
+ In `fsr` the solvent bound to the metals is kept. Most structures of `fsr` are also in `asr`,
22
+ with the same name up to its suffix.
23
+
24
+ ## Labels
25
+
26
+ Structures come from experiment: the four labels (`total_energy`, `band_gap`, ...) are `NaN`.
27
+ The properties are the geometric ones of the table of the source, computed with Zeo++:
28
+
29
+ | `properties[...]` | Source column | Unit |
30
+ |---|---|---|
31
+ | `lcd`, `pld`, `lfpd` | largest cavity, pore limiting and largest free path diameters | Å |
32
+ | `density` | `cm3_g`, which holds the density | g/cm³ |
33
+ | `asa_m2_cm3`, `asa_m2_g` | accessible surface area | m²/cm³, m²/g |
34
+ | `nasa_m2_cm3`, `nasa_m2_g` | non accessible surface area | m²/cm³, m²/g |
35
+ | `void_fraction` | `AV_VF` | 0 to 1 |
36
+ | `av_cm3_g`, `nav_cm3_g` | accessible and non accessible volume | cm³/g |
37
+ | `has_oms` | 1 if the structure has an open metal site | 0 or 1 |
38
+ | `disorder` | 1 if the source put the structure in its `disorder` folder | 0 or 1 |
39
+
40
+ ## Things to know
41
+
42
+ - **Very large cells.** One structure in ten has more than 690 atoms, 559 of `asr` have more
43
+ than 1,000, and the largest has 10,560. The radius graph lists the pairs of atoms of a
44
+ structure: at 5 Å a cell of 2,000 atoms takes 0.5 GB on a GPU, one of 5,000 atoms 3.3 GB.
45
+ Filter by `num_atoms` or use batches of a few structures.
46
+ - **Nothing is filtered.** The 1,877 structures of `asr` and the 1,053 of `fsr` that the
47
+ source set apart as disordered are kept, with `disorder` set to 1.
48
+ `properties["disorder"] == 0` selects the others.
49
+ - **Experimental structures are not relaxed**, and hydrogens can be missing.
50
+ - **Atoms are in the order of the files.** 8 files of `asr` and 7 of `fsr` are not in P1:
51
+ their symmetry operations were applied by pymatgen.
52
+ - **Names** are not in the file. `asr_index.parquet` and `fsr_index.parquet` give for each
53
+ row the name of the structure in the source (a CSD refcode or the name of a file of
54
+ supporting information, with a suffix), its metals and its DOI.
55
+ - No structure with partial occupancy was found.
56
+ - **Licence**: CC BY 4.0.
57
+
58
+ ## Format
59
+
60
+ HDF5 files of flat concatenated arrays, the format of the other datasets of
61
+ [materials-toolkits](https://huggingface.co/materials-toolkits):
62
+
63
+ | Dataset | Shape | Type | Content |
64
+ |---|---|---|---|
65
+ | `lattice` | (n_struct, 3, 3) | float32 | lattice vectors as rows, in Å; the identity for a molecule |
66
+ | `num_atoms` | (n_struct,) | int64 | number of atoms of each structure |
67
+ | `ptr` | (n_struct,) | int64 | index of the first atom of each structure in `x` and `z` |
68
+ | `x` | (n_atoms, 3) | float32 | fractional coordinates; positions in Å for a molecule |
69
+ | `z` | (n_atoms,) | int64 | atomic numbers |
70
+ | `pbc` | (n_struct, 3) | bool | whether the structure is periodic along each lattice vector |
71
+ | `total_energy`, `formation_energy_per_atom`, `energy_above_hull`, `band_gap` | (n_struct,) | float32 | labels, NaN when unknown |
72
+ | `properties/<name>` | (n_struct,) | float32 | the properties listed above, NaN when unknown |
73
+
74
+ The position of an atom in Å is `x @ lattice`. The lattice of a crystal is rebuilt from the
75
+ lengths and the angles of its cell, in the standard orientation (first vector along x), and
76
+ its fractional coordinates are wrapped into the cell. The `batch` array is an artefact of the
77
+ writer and is not used when reading. Row *i* of an index file describes structure *i*.
78
+
79
+ ## Usage
80
+
81
+ ```python
82
+ from torchms.data import HDF5Dataset
83
+
84
+ dataset = HDF5Dataset.from_hub("materials-toolkits/core-mof", "asr.hdf5")
85
+ structures = dataset[:32] # batched Structures
86
+ structures.properties # the named properties, one value per structure
87
+ ```
88
+
89
+ Built with [torchms](https://gitlab.univ-artois.fr/astrid.klipfel/torch-ms).
90
+
91
+ ## Source and checks
92
+
93
+ - [CoRE MOF 2019 Dataset](https://doi.org/10.5281/zenodo.7691378), Zenodo, version 1.1.4:
94
+ `2019-11-01-ASR-public_12020` and `2019-11-01-FSR-public_7061`, archives and tables, checked
95
+ with their MD5.
96
+ - Built by `scripts/build_core_mof.py`. The atoms are read as they are listed in each file.
97
+ Every structure was then compared with the reading of its file by pymatgen: cell, number of
98
+ atoms, and each atom at the position of one atom of the same element. Three properties were
99
+ compared with the table.
100
+ - Repository: [materials-toolkits/core-mof](https://huggingface.co/datasets/materials-toolkits/core-mof),
101
+ files `asr.hdf5` and `fsr.hdf5`.