Commit 60a705f1 authored by Sreenath Sasidharan Nair's avatar Sreenath Sasidharan Nair

Merge branch 'production_ready' into 'master'

PDBE-4165: Add best non overlapping API to documentation

See merge request pdbe-kb/services/pdbe-graph-api!394
parents 7af6c016 14b4d283
......@@ -666,6 +666,23 @@ def get_best_structures_observed(accession):
return result, 200
"""
@api {get} uniprot/best_non_overlapping_structures/:accession Get non-overlapping structures for a UniProt accession
@apiName GetUNPNonOverlappingStructures
@apiGroup UniProt
@apiDescription This call provides details on non-overlapping PDB chains with the highest number of observed residues for the UniProt accession.
@apiVersion 0.1.0
@apiParam {String} accession=P07550 UniProt Accession
@apiSuccess {String} chain_id PDB chain id.
@apiSuccess {Integer} entity_id Entity id (molecule number in mmcif-speak).
@apiSuccess {Integer} start Starting PDB residue number. mmcif-style residue index (within entity or struct_asym_id).
@apiSuccess {Integer} end Ending PDB residue number. mmcif-style residue index (within entity or struct_asym_id).
@apiSuccess {Integer} unp_start Starting UniProt residue number.
@apiSuccess {Integer} unp_end Ending UniProt residue number.
@apiSuccess {String} pdb_id Four letter PDB code.
"""
@app.get('/best_non_overlapping_structures/<uniprot_accession>'+reSlashOrNot)
def get_uniprot_best_non_overlapping_structures_api(uniprot_accession):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment