How to retrieve DNA sequence from GI number using Biopython?
1
0
Entering edit mode
7.7 years ago
Charles Yin ▴ 180

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.9k views
ADD COMMENT
2
Entering edit mode
7.7 years ago
GenoMax 147k

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

ADD COMMENT
0
Entering edit mode

Thank you for answering my question!

ADD REPLY

Login before adding your answer.

Traffic: 2302 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6