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 ="Q92959"data = fetch_uniprot_data(uniprot_id)display_uniprot_data(data)
UniProt ID: Q92959
Protein Name: Solute carrier organic anion transporter family member 2A1
Organism: Homo sapiens
Function: Mediates the transport of prostaglandins (PGs, mainly PGE2, PGE1, PGE3, PGF2alpha, PGD2, PGH2) and thromboxanes (thromboxane B2) across the cell membrane (PubMed:11997326, PubMed:26692285, PubMed:8787677). PGs and thromboxanes play fundamental roles in diverse functions such as intraocular pressure, gastric acid secretion, renal salt and water transport, vascular tone, and fever (PubMed:15044627). Plays a role in the clearance of PGs from the circulation through cellular uptake, which allows cytoplasmic oxidation and PG signal termination (PubMed:8787677). PG uptake is dependent upon membrane potential and involves exchange of a monovalent anionic substrate (PGs exist physiologically as an anionic monovalent form) with a stoichiometry of 1:1 for divalent anions or of 1:2 for monovalent anions (PubMed:29204966). Uses lactate, generated by glycolysis, as a counter-substrate to mediate PGE2 influx and efflux (PubMed:11997326). Under nonglycolytic conditions, metabolites other than lactate might serve as counter-substrates (PubMed:11997326). Although the mechanism is not clear, this transporter can function in bidirectional mode (PubMed:29204966). When apically expressed in epithelial cells, it facilitates transcellular transport (also called vectorial release), extracting PG from the apical medium and facilitating transport across the cell toward the basolateral side, whereupon the PG exits the cell by simple diffusion (By similarity). In the renal collecting duct, regulates renal Na+ balance by removing PGE2 from apical medium (PGE2 EP4 receptor is likely localized to the luminal/apical membrane and stimulates Na+ resorption) and transporting it toward the basolateral membrane (where PGE2 EP1 and EP3 receptors inhibit Na+ resorption) (By similarity). Plays a role in endometrium during decidualization, increasing uptake of PGs by decidual cells (PubMed:16339169). Involved in critical events for ovulation (PubMed:27169804). Regulates extracellular PGE2 concentration for follicular development in the ovaries (By similarity). Expressed intracellularly, may contribute to vesicular uptake of newly synthesized intracellular PGs, thereby facilitating exocytotic secretion of PGs without being metabolized (By similarity). Essential core component of the major type of large-conductance anion channel, Maxi-Cl, which plays essential roles in inorganic anion transport, cell volume regulation and release of ATP and glutamate not only in physiological processes but also in pathological processes (By similarity). May contribute to regulate the transport of organic compounds in testis across the blood-testis-barrier (Probable)
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”