File size: 3,340 Bytes
8a70124
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9db7bc0
b10dcc4
9db7bc0
b10dcc4
9db7bc0
b10dcc4
9db7bc0
 
 
 
 
 
 
 
 
 
d9bf8b5
 
 
 
 
9db7bc0
 
 
 
 
 
 
b10dcc4
9db7bc0
b10dcc4
9db7bc0
 
b10dcc4
9db7bc0
 
 
 
 
b10dcc4
9db7bc0
 
 
 
b10dcc4
9db7bc0
 
 
b10dcc4
d9bf8b5
 
 
9db7bc0
b10dcc4
9db7bc0
b10dcc4
9db7bc0
 
 
 
 
69dc833
9db7bc0
69dc833
9db7bc0
69dc833
 
9db7bc0
69dc833
 
 
 
 
 
 
 
 
 
 
 
 
 
b10dcc4
 
 
 
9db7bc0
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
license: mit
task_categories:
  - other
tags:
  - bioinformatics
  - cheminformatics
  - drug-discovery
  - virtual-screening
  - reverse-screening
  - chemberta
  - rdkit
pretty_name: ReverseLigQ Dataset
---

# ReverseLigQ dataset (Hugging Face)

This repository contains the **ReverseLigQ** dataset files in a simplified layout designed to be loaded with a `LigandStore`/`Representation` interface (compound representations) plus organism-level auxiliary tables (ReverseLigQ metadata).

## Directory layout

```
compound_data/
  pdb_chembl/
    ligands.parquet
    reps/
      chemberta_zinc_base_768.dat
      chemberta_zinc_base_768.meta.json
      morgan_1024_r2.dat
      morgan_1024_r2.meta.json

merged_databases/
  binding_data_merged.parquet
  uncurated_binding_data.parquet
  ligs_smiles_merged.parquet

rev_ligq/
  fam_prot_dict.pkl
  ligand_lists.pkl
  ligs_fams_curated.pkl
  ligs_fams_possible.pkl
  prot_descriptions.pkl
```

## Compound data (`compound_data/pdb_chembl/`)

### `ligands.parquet`
Canonical ligand index table with a **dense integer index** (`lig_idx`) used to align all representations on disk.

Typical columns:
- `chem_comp_id`: unified ligand ID (PDB CCD or ChEMBL)
- `smiles`: canonical SMILES
- `inchikey`: optional (may be missing)
- `lig_idx`: dense index **0..N-1** (row order for the `.dat` matrices)

### Representations (`reps/`)
Each representation is stored as:
- `<rep_name>.dat`: memory-mapped matrix on disk
- `<rep_name>.meta.json`: metadata (dtype, dim, packed_bits, etc.)

Available representations:
- `chemberta_zinc_base_768`: ChemBERTa embeddings (dim=768), dense float matrix.
- `morgan_1024_r2`: Morgan fingerprints (1024 bits, radius=2), stored with `packed_bits=true`.

## Detailed binding data (merged_databases/)
Known binding data from PDB and ChEMBL.

## Organism-specific tables (`rev_ligq/`)

These files provide organism-level ligand lists, Pfam-based protein families, and optional protein descriptions used to project ligand-level similarity hits into candidate protein targets.

- `ligand_lists.pkl`: dict `{organism_key (str): [chem_comp_id, ...]}`
- `ligs_fams_curated.pkl`: dict `{chem_comp_id: [pfam_id, ...]}` (curated evidence)
- `ligs_fams_possible.pkl`: dict `{chem_comp_id: [pfam_id, ...]}` (possible/uncurated evidence)
- `fam_prot_dict.pkl`: nested dict `{organism_key: {pfam_id: [uniprot_id, ...]}}`
- `prot_descriptions.pkl`: protein descriptions (when available)

### Organism keys

ReverseLigQ integrates multiple organisms, each identified by an integer key:

| Key | Organism |
|---:|---|
| 1 | *Bartonella bacilliformis* |
| 2 | *Klebsiella pneumoniae* |
| 3 | *Mycobacterium tuberculosis* |
| 4 | *Trypanosoma cruzi* |
| 5 | *Staphylococcus aureus* RF122 |
| 6 | *Streptococcus uberis* 0140J |
| 7 | *Enterococcus faecium* |
| 8 | *Escherichia coli* MG1655 |
| 9 | *Streptococcus agalactiae* NEM316 |
| 10 | *Pseudomonas syringae* |
| 11 | DENV (Dengue virus) |
| 12 | SARS-CoV-2 |
| 13 | *Homo sapiens* |

## Citation

If you use these datasets, please cite:

Schottlender G, Prieto JM, Palumbo MC, Castello FA, Serral F, Sosa EJ, Turjanski AG, Martí MA and Fernández Do Porto D (2022). *From drugs to targets: Reverse engineering the virtual screening process on a proteomic scale.* Front. Drug. Discov. 2:969983. doi: 10.3389/fddsv.2022.969983