Question: How to obtain an annotation for the list of NCBI's Gene ID?
gravatar for rimgubaev
4 weeks ago by
rimgubaev180 wrote:

I wonder if someone could help to find annotation for the list of NCBI's Gene ID. I got the Gene IDs in numeric format and I want to submit the list containing IDs of interest and retrieve the annotation for this IDs from NCBI as well as references to other databases like KEGG or UniProt.

geneid annotation ncbi • 82 views
ADD COMMENTlink written 4 weeks ago by rimgubaev180

Post examples when you ask this sort of a question. Numeric ID's could be/mean anything so it helps to be specific.

ADD REPLYlink written 4 weeks ago by genomax78k

I may not have completely understood your question, but you might want to try NCBI API ( also biopython (

What would be more relevant to you is this snippet that I took from section 5.3.2 of BioPython tutorial (same link as above):

Now let’s use a handle to download a SwissProt file from ExPASy, something covered in more depth in Chapter 10. As mentioned above, when you expect the handle to contain one and only one record, use the function:

from Bio import ExPASy
from Bio import SeqIO

with ExPASy.get_sprot_raw("O23729") as handle:
    seq_record =, "swiss")
print("Length %i" % len(seq_record))

Assuming your network connection is OK, you should get back:

O23729 CHS3_BROFI RecName: Full=Chalcone synthase 3; EC=; AltName: Full=Naringenin-chalcone synthase 3; Seq('MAPAMEEIRQAQRAEGPAAVLAIGTSTPPNALYQADYPDYYFRITKSEHLTELK...GAE', ProteinAlphabet()) Length 394 ['Acyltransferase', 'Flavonoid biosynthesis', 'Transferase']

ADD REPLYlink modified 4 weeks ago • written 4 weeks ago by manaswwm40
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 801 users visited in the last hour