Question: How to retrieve DNA sequence from GI number using Biopython?
0
gravatar for genebow
3.1 years ago by
genebow160
USA/Chicago
genebow160 wrote:

I try to use Biothon to retrieve DNA sequence, the following code can get DAN sequence by a GenBank access number, but cannot get sequence from a GI number, can someone help me? Thank you!

accessId='U09422'
handle = Entrez.efetch(db='nuccore', rettype="gb", id=accessId,retmode="text")
sequence • 1.1k views
ADD COMMENTlink modified 3.1 years ago by WouterDeCoster43k • written 3.1 years ago by genebow160
2
gravatar for genomax
3.1 years ago by
genomax80k
United States
genomax80k wrote:

NCBI no longer uses GI numbers. You will have to use accession numbers.

ADD COMMENTlink modified 3.1 years ago • written 3.1 years ago by genomax80k

Thank you for answering my question!

ADD REPLYlink written 3.1 years ago by genebow160
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: 1436 users visited in the last hour