|
The STINGAllo supports RESTful (REpresentational State Transfer) Web Services to make accessing data easier.
Parameter | Description | Type | Default Value | Required | Possible Values |
---|---|---|---|---|---|
pdb_id | PDB ID of the protein. Case insensitive. | String | None | Yes | 4-character PDB code |
chain_id | Chain ID of the protein structure. | String | None | Yes | Any chain letter (e.g., A) |
Here are two common ways to use the API, using Python with requests
and Terminal with curl
.
import requests
url = 'https://stingallo.cbi.cnptia.embrapa.br/api/afrs'
params = {"pdb_id": "1A01", "chain_id": "A"}
response = requests.get(url, params=params)
print(response.json())
curl -X GET "https://www.stingallo.cbi.cnptia.embrapa.br/api/afrs?pdb_id=1A01&chain_id=A"
{
"allosteric_residues":
[
"126", "103", "100", "101", "36", "96"
],
"chain_id": "A",
"pdb_id": "1A01"
}
For any questions, contact folorunsho.omage@colaborador.embrapa.br.