API manual
Convert PDB to CIF for Mol* visualization.
/api/pdb2alphacif/
POST
JSON
{
"name": protein name
"data": base64-encoded PDB text
}
CIF TEXT
Transfer requests to Elasticsearch API.
Add protein to Elasticsearch.
/api/es/<repo>/add/<_id>
<repo> target repository name
<_id> target id
POST
JSON
{
"name": protein name
"seq": protein sequence
"anno":
{
"homolog": UniProt homolog
"description": [annotation1, annotation2, ...]
}
}
Standard response of Elasticsearch Index API.
Delete protein in Elasticsearch.
- Delete one protein
/api/es/<repo>/del/<_id>
<repo> target repository name
<_id> target protein id
- Delete one repository
/api/es/<repo>/del/
<repo> target repository name
POST
Standard response of Elasticsearch Delete API.
Get protein information from Elasticsearch.
/api/es/<repo>/get/<_id>
<repo> target repository name
<_id> target protein id
GET
, POST
Standard response of Elasticsearch Get API.
Search proteins from Elasticsearch.
/api/es/<repo>/search/<term>
<repo> target repository name
<term> base64-encoded search terms
GET
, POST
The {hits{{hits}}
subset of Elasticsearch Search API reponse.
[
{
"_index": ...,
"_type": ...,
"_id": ...,
"_score": ...,
"_source": {...}
},
{
"_index": ...,
"_type": ...,
"_id": ...,
"_score": ...,
"_source": {...}
}...
]
Import data to target protein repository.
Check if file to upload already exists in target protein repository.
/api/import2repo/check.php
GET
{
"name": file name
"repo": repository name
}
MD5
of target file repo/name
/api/import2repo/
POST
JSON
GZIP
{
"name": protein name
"repo": target repository name
"text": base64-encoded file text
"force": force overwritting or not
"gzip": compress files or not
}
Generate Salign cache and start structure alignment calculation.
/api/salign/
POST
{
"repo": target repository name
"search": keywords for restricting the searching scope
"rmsd": max RMSD
"structure": query structure
}
rid
for USalign job
Access <mineprot_url>/salign/result.php?rid=<rid> for results.
Clear cache for Browse page.
/api/cache/clear.php
GET
{
"repo": repository name
}
Get results from Salign cache.
/api/cache/get.php
GET
{
"data_url": base64-encoded path to target Salign cache
}
Update cache for Browse page and clear Salign cache.
/api/cache/update.php
GET
This feature is only available on the Linux platform.