language:
- en
task_categories:
- other
tags:
- chemistry
- drug-discovery
- molecule-generation
- macrocyclic-peptide
- 3d-generation
- molecular-modeling
Unified All-Atom Molecule Generation with Neural Fields — MCPP Dataset
This repository contains the Macrocyclic Peptide Pair (MCPP) dataset, curated for the paper Unified all-atom molecule generation with neural fields. The code for the paper and model is available at: https://github.com/prescient-design/funcbind/
We curated a dataset of 186,685 MCP–protein complexes (mcpp_dataset.tar.gz) starting from 641 protein–MCP complexes from the RCSB PDB using a “mutate-then-relax” strategy:
Dataset Generation Pipeline
Mutation:
MCPs were randomly mutated at 1 to 8 sites using 213 distinct amino acids.Relaxation:
Mutated complexes were relaxed using FastRelax in Rosetta, which iteratively performs side-chain packing and all-atom minimization.Selection:
The best complexes were chosen based on lowest interface scores.
Dataset Statistics
- MCP lengths: 4–25 amino acids (average 10)
- 78% of MCPs contain one or more non-canonical amino acids
Dataset Splits
The dataset is split using a clustering-based approach. The test set covers 100 protein pockets:
| Split | File |
|---|---|
| Training set | train_data.pt |
| Validation set | val_data.pt |
| Test set | test_data.pt |
Sample Usage
This dataset provides preprocessed .pt files (train_data.pt, val_data.pt, test_data.pt) and the original .tar.gz file containing .pdb files.
To use this dataset with the FuncBind codebase:
Download and extract the original PDB files:
tar -xvzf mcpp_dataset.tar.gzThis will create a
mcpp_dataset/directory containing the PDB files.Place the preprocessed data: Copy the
.ptfiles into the extractedmcpp_dataset/directory. If you have cloned the FuncBind repository, the target path would befuncbind/dataset/data/mcpp_dataset/.cp train_data.pt val_data.pt test_data.pt mcpp_dataset/ # Or if in FuncBind repo: # cp train_data.pt val_data.pt test_data.pt funcbind/dataset/data/mcpp_dataset/Alternatively, reprocess the data from scratch (within FuncBind repository): After downloading and untarring
mcpp_dataset.tar.gzintofuncbind/dataset/data/mcpp_dataset/, ensure you have set up the FuncBind environment (see GitHub repository), then run:cd funcbind/dataset python preprocess_mcp_pair.pySample Macrocyclic Peptides with FuncBind: Once the data is prepared and FuncBind is installed (see GitHub repository), you can sample macrocyclic peptides. First, ensure you have downloaded the pre-trained checkpoints (e.g.,
nf_unifiedandfb_unified) from Hugging Face and placed them in the appropriateexps/directories within the FuncBind repository.Then, from the FuncBind root directory, run:
python sample_fb.py --config-name sample_fb_mcpp