Question: How to retrieve DNA sequence from GI number using Biopython?
0
gravatar for genebow
3.6 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.2k views
ADD COMMENTlink modified 3.6 years ago by WouterDeCoster44k • written 3.6 years ago by genebow160
2
gravatar for genomax
3.6 years ago by
genomax90k
United States
genomax90k wrote:

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

ADD COMMENTlink modified 3.6 years ago • written 3.6 years ago by genomax90k

Thank you for answering my question!

ADD REPLYlink written 3.6 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: 1305 users visited in the last hour