--- language: - en tags: - biology - chemistry - protein-ligand-binding - drug-discovery - molecular-modeling - structural-biology size_categories: - 1K30% sequence identity in the same split - **seq-id-60**: No proteins with >60% sequence identity in the same split Each split contains: - `train`: Training set - `val`: Validation set - `test`: Test set ## Data Fields ### Protein/Pocke/Ligand Files Each protein/pocket `.pt` file contains: - `pos` (torch.Tensor): 3D atomic coordinates [N, 3] - `z` (torch.Tensor): Atomic numbers [N] - `res_name` (list): Three-letter amino acid codes - `res_idx` (torch.Tensor): Residue indices [N] - `bfactor` (torch.Tensor): B-factor values (thermal motion) [N] - `is_alpha_carbon` (torch.Tensor): Boolean mask for CA atoms [N] - `chain` (list): Chain identifiers - `pdb_id` (str): PDB identifier ### Ligand Files Each ligand `.pt` file contains all protein/pocket fields plus: - `edge_index_1d` (torch.Tensor): Bond connectivity [2, E] - `edge_attr` (torch.Tensor): Bond types (1.0=single, 2.0=double, 3.0=triple, 1.5=aromatic) - `smiles` (str): SMILES representation - `neglog_aff` (float): Target binding affinity (-log(Ki/Kd)) ## Usage ### Loading with the Dataset Class ```python from lba_dataset import LBADataset_base # Load dataset dataset = LBADataset_base( split='train', task_name='seq-id-30', output=['pocket', 'ligand', 'neglog_aff'] ) # Access samples pocket, ligand, affinity = dataset[0] print(f"Pocket atoms: {pocket['pos'].shape[0]}") print(f"Ligand atoms: {ligand['pos'].shape[0]}") print(f"Binding affinity: {affinity}") ``` ### Available Outputs Configure what data to load with the `output` parameter: - `'protein'`: Full protein structure (large files) - `'pocket'`: Binding pocket only (recommended) - `'ligand'`: Ligand structure with bonds - `'neglog_aff'`: Binding affinity target - `'smiles'`: Ligand SMILES string ## Dataset Statistics - **Total complexes**: 4,463 - **Binding affinity range**: Varies (pK values) - **Structure quality**: High (PDBBind refined set) - **Ligand diversity**: Filtered for RDKit compatibility - **Average pocket size**: ~150-300 atoms - **Average ligand size**: ~20-50 atoms ## Data Processing For the original raw data and processing scripts, see the source repository here. https://zenodo.org/records/4914718