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 ="Q13286"data = fetch_uniprot_data(uniprot_id)display_uniprot_data(data)
UniProt ID: Q13286
Protein Name: Battenin
Organism: Homo sapiens
Function: Mediates microtubule-dependent, anterograde transport connecting the Golgi network, endosomes, autophagosomes, lysosomes and plasma membrane, and participates in several cellular processes such as regulation of lysosomal pH, lysosome protein degradation, receptor-mediated endocytosis, autophagy, transport of proteins and lipids from the TGN, apoptosis and synaptic transmission (PubMed:10924275, PubMed:15471887, PubMed:18317235, PubMed:18817525, PubMed:20850431, PubMed:22261744). Facilitates the proteins transport from trans-Golgi network (TGN)-to other membrane compartments such as transport of microdomain-associated proteins to the plasma membrane, IGF2R transport to the lysosome where it regulates the CTSD release leading to regulation of CTSD maturation and thereby APP intracellular processing (PubMed:10924275, PubMed:18817525). Moreover regulates CTSD activity in response to osmotic stress (PubMed:23840424, PubMed:28390177). Also binds galactosylceramide and transports it from the trans Golgi to the rafts, which may have immediate and downstream effects on cell survival by modulating ceramide synthesis (PubMed:18317235). At the plasma membrane, regulates actin-dependent events including filopodia formation, cell migration, and pinocytosis through ARF1-CDC42 pathway and also the cytoskeleton organization through interaction with MYH10 and fodrin leading to the regulation of the plasma membrane association of Na+, K+ ATPase complex (PubMed:20850431). Regulates synaptic transmission in the amygdala, hippocampus, and cerebellum through regulation of synaptic vesicles density and their proximity to active zones leading to modulation of short-term plasticity and age-dependent anxious behavior, learning and memory (By similarity). Regulates autophagic vacuoles (AVs) maturation by modulating the trafficking between endocytic and autophagolysosomal/lysosomal compartments, which involves vesicle fusion leading to regulation of degradation process (By similarity). Participates also in cellular homeostasis of compounds such as, water, ions, amino acids, proteins and lipids in several tissue namely in brain and kidney through regulation of their transport and synthesis (PubMed:17482562)
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”