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 ="P29376"data = fetch_uniprot_data(uniprot_id)display_uniprot_data(data)
UniProt ID: P29376
Protein Name: Leukocyte tyrosine kinase receptor
Organism: Homo sapiens
Function: Receptor with a tyrosine-protein kinase activity (PubMed:10445845, PubMed:20548102, PubMed:30061385). Following activation by ALKAL1 or ALKAL2 ligands at the cell surface, transduces an extracellular signal into an intracellular response (PubMed:30061385, PubMed:34646012). Ligand-binding to the extracellular domain induces tyrosine kinase activation, leading to activation of the mitogen-activated protein kinase (MAPK) pathway (PubMed:20548102). Phosphorylates almost exclusively at the first tyrosine of the Y-x-x-x-Y-Y motif (By similarity). The exact function of this protein is not known; studies with chimeric proteins demonstrate its ability to promote growth and specifically neurite outgrowth, and cell survival (PubMed:18849880, PubMed:9223670). Involved in regulation of the secretory pathway involving endoplasmic reticulum (ER) export sites (ERESs) and ER to Golgi transport (PubMed:20548102)
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”