NisargRhino/pharmacophore-pocket2fragments
chemical fragment search by protein pocket
2 min readupdated
This model is designed for bioinformatics and helps predict which chemical fragments are likely to bind to a specific protein site. It takes a pocket description (residue composition and size) as input and outputs a ranked list of fragments from a fixed vocabulary. The tool operates without requiring a prepared ligand or a three-dimensional pose, relying solely on the protein structure. This development is useful for researchers in drug design to analyze active sites at early stages.
Key features
- Ligand-free operation: binding site analysis is possible without prior molecule placement or pose knowledge.
- Baseline frequency comparison: the model is evaluated against fragment occurrence frequency for a fair performance measurement.
- Vocabulary constraint: outputs results from a fixed set of 453 fragments derived from training ligands.
- Sensitivity analysis: returns a driven_by parameter for each result, showing the influence of specific amino acids.
What you can do
- Binding site analysis: apply in Python scripts to evaluate the chemical environment of protein pockets.
- Fragment search: use ranking to select promising chemical groups during drug development.
Example
from huggingface_hub import hf_hub_download
from pharmacophore import reverse_serve
path = hf_hub_download("NisargRhino/pharmacophore-pocket2fragments", "reverse.pt")
# Residue names in the same form the corpus uses: "ASP 189 A"
reverse_serve.predict(["ASP 189 A", "SER 190 A", "GLY 216 A"], path=path)Read more
DetailsMetrics: recall@10 is 0.4284 (compared to a frequency baseline of 0.3842), and recall@50 is 0.7439.
Limitations: on completely novel protein families, the advantage over the baseline method is minimal.
Training: the model was trained on 33,144 complexes from the Protein Data Bank with a resolution up to 2.5 Å.










Comments