Question: Retrieve sequences from uniprot
0
gravatar for k.mamoud
2.4 years ago by
k.mamoud10
Switzerland
k.mamoud10 wrote:

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

retrieve sequences uniprot • 1.2k views
ADD COMMENTlink modified 2.4 years ago by Mahmut Uludag10 • written 2.4 years ago by k.mamoud10

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

ADD REPLYlink written 2.4 years ago by Eric Lim1.3k
0
gravatar for Mahmut Uludag
2.4 years ago by
KAUST, Thuwal, Saudi Arabia
Mahmut Uludag10 wrote:

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 COMMENTlink written 2.4 years ago by Mahmut Uludag10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2502 users visited in the last hour