Question: How to retrieve DNA sequence from GI number using Biopython?
0
gravatar for genebow
2.6 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 • 936 views
ADD COMMENTlink modified 2.6 years ago by WouterDeCoster41k • written 2.6 years ago by genebow150
2
gravatar for genomax
2.6 years ago by
genomax72k
United States
genomax72k wrote:

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

ADD COMMENTlink modified 2.6 years ago • written 2.6 years ago by genomax72k

Thank you for answering my question!

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