PASSer:

Protein Allosteric Sites Server


APIs

PASSer now provides APIs to make it easier for users to submit jobs and get results.

Currently, the APIs only accept predictions on existing PDB IDs. The users should specify the PDB ID with optional chain ID and models.
By default, all chains are analyzed; the ensemble learning model is used. The users can run predictions on the automated machine learning model (AutoGluon) by specifying model parameter as autoML (case sensitive).

Two common senarios are introduced here: (1) Python requests and (2) Terminal curl.

In Python, specify the PDB ID and chain ID in a dictionary and pass that to requests post function.

        
import requests

url = 'https://passer.smu.edu/api'
data = {"pdb": "5DKK", "chain": "A"}

results = requests.post(url, data=data)
print(results.json())
        
    

In Terminal, pass arguments through -d option.

        
curl -X POST -d pdb=5dkk -d chain=A https://passer.smu.edu/api
curl -X POST -d pdb=5dkl -d chain=B -d model=autoML https://passer.smu.edu/api
        
    

The PASSer API returns top 3 pockets probabilities with residues in json format. The resiudes are formatted in VMD-ready command. An example return is show below.

        
{
    "1": {
        "prob": "89.65%",
        "residues": "chain A and resid 333 329 303 346 290"
    },
    "2": {
        "prob": "20.22%",
        "residues": "chain A and resid 270 321 352 269 250"
    },
    "3": {
        "prob": "16.83%",
        "residues": "chain A and resid 302 298 297 313 369"
    }
}