AA
Each hproteome job's results can be downloaded via the REST API. A job can be identified by an unique identifier called a job id.
A sample Python script is provided below that will allow to download the entire results for the specific job. For other usages of the API please see the main page tutorial.
The job ID can be found in the address of the web browser when viewing the job. For example http://biocomp.chem.uw.edu.pl/A3D2/hproteome_job/65417ebb9b66183/ would mean
that the job ID = 65417ebb9b66183. In the Download tab A3D_Database.csv file can be downloaded which contains IDs of all the non-custom jobs.
#!/usr/bin/env python
import requests
req = requests.get('http://biocomp.chem.uw.edu.pl/A3D2/RESTful/hproteome_job/job_id/')
print(req.status_code)
data = req.json()
for k in data.keys():
print("key: %s: %s" % (k, data[k]))
The script should return data in the following format, a 404 response indicates a job id that doesn't exist on the database.
key: A3Dscore: {'avg': -0.5321, 'max': 1.8543, 'min': -2.6878, 'sum': -51.0901, 'tab': [['1', 'E', 'A', '-1.3183'], ['2', 'V', 'A', '0.4278'], ... ]}
key: af_data: {'conf_cutoff': '50.00',
'full_protein': True,
'gene': 'IGHV3OR16-9',
'long_name': 'Immunoglobulin heavy variable 3/OR16-9 (non-functional)',
'n_res': 96,
'organism': 'Homo sapiens',
'region': '1-97',
'scores': [[1, 'GLU', '89.30'], [2, 'VAL', '94.18'], ... ],
'segment': 1,
'seq_len': 97,
'uniprot_id': 'S4R460'
}
key: aggregation_distance: 10
key: automated_mutations: None
key: chain_sequence: EVQLVESGGGLVQPGGSLRLSCAASGFTFSNHYTSWVRQAPGKGLEWVSYSSGNSGYTNYADSVKGRFTISRDNAKNSLYLQMNSLRAEDTAVYYC
key: dynamic_mode: 0
key: mutated_residues: None
key: mutation_energetic_effect: 0.0
key: mutation_mode: 0
key: project_name: AF-S4R460-F1_c50
key: stability_calculations: 1
key: started: Mon, 23 Aug 2021 13:05:35 GMT
key: status: done
key: updated: Mon, 23 Aug 2021 13:06:30 GMT