import requestsimport urllib3urllib3.disable_warnings()def fetch_uniprot_data(uniprot_id): url =f"https://rest.uniprot.org/uniprotkb/{uniprot_id}.json" response = requests.get(url, verify=False) # Disable SSL verification response.raise_for_status() # Raise an error for bad status codesreturn response.json()def display_uniprot_data(data): primary_accession = data.get('primaryAccession', 'N/A') protein_name = data.get('proteinDescription', {}).get('recommendedName', {}).get('fullName', {}).get('value', 'N/A') gene_name = data.get('gene', [{'geneName': {'value': 'N/A'}}])[0]['geneName']['value'] organism = data.get('organism', {}).get('scientificName', 'N/A') function_comment =next((comment for comment in data.get('comments', []) if comment['commentType'] =="FUNCTION"), None) function = function_comment['texts'][0]['value'] if function_comment else'N/A'# Printing the dataprint(f"UniProt ID: {primary_accession}")print(f"Protein Name: {protein_name}")print(f"Organism: {organism}")print(f"Function: {function}")# Replace this with the UniProt ID you want to fetchuniprot_id ="Q9BXA5"data = fetch_uniprot_data(uniprot_id)display_uniprot_data(data)
UniProt ID: Q9BXA5
Protein Name: Succinate receptor 1
Organism: Homo sapiens
Function: G protein-coupled receptor for succinate able to mediate signaling through Gq/GNAQ or Gi/GNAI second messengers depending on the cell type and the processes regulated (By similarity) (PubMed:15141213, PubMed:23770096, PubMed:34133934). Succinate-SUCNR1 signaling serves as a link between metabolic stress, inflammation and energy homeostasis (PubMed:18820681, PubMed:34133934). In macrophages, plays a range of immune-regulatory roles. During inflammation, succinate-SUCNR1 signaling may act as an anti-inflammatory mediator or boost inflammation depending on the inflammatory status of cells (By similarity). Hyperpolarizes M2 macrophages versus M1 phenotype through Gq signaling by regulating the transcription of genes involoved in immune function (PubMed:34133934). In activated M1 macrophages, plays a pro-inflammatory role in response to LPS (By similarity). Expressed in dendritic cells, where it is involved in the sensing of immunological danger and enhances immunity. Mediates succinate triggered intracelleular calcium mobilization, induces migratory responses and acts in synergy with Toll-like receptor ligands for the production of proinflammatory cytokines as well as an enhancement of antigen-specific activation of helper T cells (PubMed:18820681). In the small intestine, mediates the activation of tuft cells by dietary succinate and triggers type 2 immunity (By similarity). In adipocytes, plays an important role in the control of energy metabolism. In response to succinate, controls leptin expression in an AMPK-JNK-CEBPA-dependent as well as circadian clock-regulated manner (By similarity). In muscle tissue, is expressed in non-muscle cells and coordinates muscle remodeling in response to the succinate produced during exercise training in a paracrine manner (By similarity). In retina, acts as a mediator of vessel growth during retinal development. In response to succinate, regulates the production of angiogenic factors, including VEGF, by retinal ganglion neurons (By similarity)
More information:
AlphaFold model
Surface representation - binding sites
The computed point cloud for pLDDT > 0.6. Each atom is sampled on average by 10 points.
To see the predicted binding interfaces, you can choose color theme “uncertainty”.
Go to the “Controls Panel”
Below “Components”, to the right, click on “…”
“Set Coloring” by “Atom Property”, and “Uncertainty/Disorder”