Hello, recently I am working on my own pipeline in python. I am downloading page from NCBI Sequence viewer with defined ID (NM_000304.3) in this case:
https://www.ncbi.nlm.nih.gov/sviewer/viewer.fcgi?id=NM_000304.3&db=nuccore&retmode=html
On this page I am getting sequence of gene (last part of page ORIGIN) and also table of features. For next step I need to assign whole sequence to chromosome location, in this case it is this information: 17 NC_000017.10 (15133094..15168674, complement) from this page, which can be accessed from link in feature table in [1]:
https://www.ncbi.nlm.nih.gov/gene?cmd=Retrieve&dopt=full_report&list_uids=5376
Problem is, that if I download this page, I am getting page without data (its overwritten by javascript). I am looking for way, how to get information about chromosome location from [2] (Genetic context) or any other tool or webpage, which can helps me to convert nucleotide ID to chromosome location - it will be done for many genes in python code.
tl;dr: I want to convert Nucleotide ID (NM_00304.3) (or seqeunce) to chromosome location (chr 17 - 15133094:15168674), I prefer to use some web api through python code...
Thank for any suggestions
Have you looked at NCBI e-utils?
Actually I tried to use e-utils previously and without success, now I worked more deeply and solved the problem. Thank you!