Retrieve sequences from uniprot
1
0
Entering edit mode
4.7 years ago
k.mamoud ▴ 10

Dear all, I would like to retrieve sequences + isoforms from Uniprot

Here my code :

import requests params = {"query": "P00750", "format": "fasta"} response = requests.get("http://www.uniprot.org/uniprot/", params) print (response.text)

But unfortunaltely it is giving me one sequence, I would like to add ?include=yes

Any idea ?

Mohamed

uniprot sequences retrieve • 2.1k views
ADD COMMENT
0
Entering edit mode

params = {"query": "P00750", "format": "fasta", "include": "yes"}

ADD REPLY
1
Entering edit mode
4.7 years ago

Following version of your code returns sequences+isoforms:

import requests
params = {"query": "P00750", "format": "fasta", "include": "yes"}
response = requests.get("http://www.uniprot.org/uniprot/", params=params)
print (response.text)
ADD COMMENT

Login before adding your answer.

Traffic: 2344 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6