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 ="Q9NP99"data = fetch_uniprot_data(uniprot_id)display_uniprot_data(data)
UniProt ID: Q9NP99
Protein Name: Triggering receptor expressed on myeloid cells 1
Organism: Homo sapiens
Function: Cell surface receptor that plays important roles in innate and adaptive immunity by amplifying inflammatory responses (PubMed:10799849, PubMed:21393102). Upon activation by various ligands such as PGLYRP1, HMGB1 or HSP70, multimerizes and forms a complex with transmembrane adapter TYROBP/DAP12 (PubMed:17568691, PubMed:25595774, PubMed:29568119). In turn, initiates a SYK-mediated cascade of tyrosine phosphorylation, activating multiple downstream mediators such as BTK, MAPK1, MAPK3 or phospholipase C-gamma (PubMed:14656437, PubMed:21659545). This cascade promotes the neutrophil- and macrophage-mediated release of pro-inflammatory cytokines and/or chemokines, as well as their migration and thereby amplifies inflammatory responses that are triggered by bacterial and fungal infections (PubMed:17098818, PubMed:17568691). By also promoting the amplification of inflammatory signals that are initially triggered by Toll-like receptor (TLR) and NOD-like receptor engagement, plays a major role in the pathophysiology of acute and chronic inflammatory diseases of different etiologies including septic shock and atherosclerosis (PubMed:11323674, PubMed:21393102)
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”