Question: How to retrieve DNA sequence from GI number using Biopython?
0
gravatar for genebow
2.0 years ago by
genebow150
USA/Chicago
genebow150 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 • 776 views
ADD COMMENTlink modified 2.0 years ago by WouterDeCoster37k • written 2.0 years ago by genebow150
2
gravatar for genomax
2.0 years ago by
genomax63k
United States
genomax63k wrote:

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

ADD COMMENTlink modified 2.0 years ago • written 2.0 years ago by genomax63k

Thank you for answering my question!

ADD REPLYlink written 2.0 years ago by genebow150
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: 1607 users visited in the last hour