File size: 1,820 Bytes
9cade65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
license: mit
tags:
  - protein
  - structural-biology
  - thermodynamic-stability
---

# DeepEF Datasets

Protein structure datasets used for training and evaluating [DeepEF](https://github.com/shaharec/DeepEF) —
a deep learning framework for predicting protein thermodynamic stability.

## Contents

| Path | Size | Description |
|------|------|-------------|
| `casp12_data_30/` | ~110GB | CASP12 structures with ProtT5 embeddings; per-protein `.pt` tensors split into train/test/valid-* |
| `Processed_K50_dG_datasets/` | ~2.2GB | K50 ddG mutation datasets with AlphaFold PDB models |
| `megascale_proteins.csv` | small | Megascale protein list |

## Data Format (casp12_data_30)

Each protein is a folder under `train/`, `test/`, or `valid-*/`:
```
PROTEIN_ID/
├── crd_backbone.pt       # Backbone coordinates [seq_len, 4, 3]
├── ang.pt                # Dihedral angles
├── mask.pt               # Valid residue mask
├── seq_one_hot.pt        # One-hot amino acid encoding [seq_len, 20]
├── seq.pt                # Raw sequence string
├── seq_mut.pt            # Mutant sequence string
├── proT5_emb.pt          # ProtT5 embeddings [seq_len, 1024]
├── proT5_emb_cycle1-4.pt # Cyclic permutation embeddings
└── proT5_emb_mut.pt      # Mutant ProtT5 embeddings
```

## Usage

```python
from huggingface_hub import snapshot_download, hf_hub_download
import torch

# Download a single protein
path = hf_hub_download(
    repo_id="shaharec/deepef-data",
    repo_type="dataset",
    filename="casp12_data_30/train/1A0C_1_A/crd_backbone.pt",
)
coords = torch.load(path)

# Download an entire split (large!)
snapshot_download(
    repo_id="shaharec/deepef-data",
    repo_type="dataset",
    allow_patterns="casp12_data_30/train/*",
    local_dir="./data",
)
```