I am trying to work on Uniprot directly from my jupyter notebook. My search keywords are TERM "tumor+necrosis+factor+receptor" and ORGANISM "Homo sapiens".

Here's how far I have succeeded

import requests BASE = 'http://www.uniprot.org' KB_ENDPOINT = '/uniprot/' TOOL_ENDPOINT = '/uploadlists/' fullURL = ('http://www.uniprot.org/uniprot/?' 'query=name%3A%22tumor+necrosis+factor+receptor%22+AND+taxonomy%3Ahuman+AND+reviewed%3Ayes&' 'format=list') result = requests.get(fullURL) if result.ok: print(result.text) else: print('Something went wrong ', result.status_code)

This gives me only partial list of proteins.the actual search on uniprot gives over 400 entries.

Any idea what went wrong?

More Kalyani Dhusia Phd's questions See All
Similar questions and discussions