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 ="P0DP58"data = fetch_uniprot_data(uniprot_id)display_uniprot_data(data)
UniProt ID: P0DP58
Protein Name: Ly-6/neurotoxin-like protein 1
Organism: Homo sapiens
Function: Acts in different tissues through interaction to nicotinic acetylcholine receptors (nAChRs) (PubMed:21252236). The proposed role as modulator of nAChR activity seems to be dependent on the nAChR subtype and stoichiometry, and to involve an effect on nAChR trafficking and its cell surface expression, and on single channel properties of the nAChR inserted in the plasma membrane. Modulates functional properties of nicotinic acetylcholine receptors (nAChRs) to prevent excessive excitation, and hence neurodegeneration. Enhances desensitization by increasing both the rate and extent of desensitization of alpha-4:beta-2-containing nAChRs and slowing recovery from desensitization. Promotes large amplitude ACh-evoked currents through alpha-4:beta-2 nAChRs. Is involved in regulation of the nAChR pentameric assembly in the endoplasmic reticulum. Shifts stoichiometry from high sensitivity alpha-4(2):beta-2(3) to low sensitivity alpha-4(3):beta-2(2) nAChR (By similarity). In vitro modulates alpha-3:beta-4-containing nAChRs. Reduces cell surface expression of (alpha-3:beta-4)(2):beta-4 and (alpha-3:beta-4)(2):alpha-5 nAChRs suggesting an interaction with nAChR alpha-3(-):(+)beta-4 subunit interfaces and an allosteric mode. Corresponding single channel effects characterized by decreased unitary conductance, altered burst proportions and enhanced desensitization/inactivation seem to depend on nAChR alpha:alpha subunit interfaces and are greater in (alpha-3:beta-2)(2):alpha-3 when compared to (alpha-3:beta-2)(2):alpha-5 nAChRs (PubMed:28100642). Prevents plasticity in the primary visual cortex late in life (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”