NCBI Gene(Nucleotide sequence) to chromosome location
1
1
Entering edit mode
7.3 years ago
stanedav ▴ 50

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

NCBI genome gene python • 2.3k views
ADD COMMENT
1
Entering edit mode

Have you looked at NCBI e-utils?

ADD REPLY
0
Entering edit mode

Actually I tried to use e-utils previously and without success, now I worked more deeply and solved the problem. Thank you!

ADD REPLY
1
Entering edit mode
7.3 years ago
newbiebio ▴ 80

Maybe you can try UCSC MySQL. This is a tutorial http://crazyhottommy.blogspot.com/2013/11/mysql-rocks.html

Then type as bellow

select chrom, name,txStart,txEnd from refGene where name=''NMxxx";

ADD COMMENT

Login before adding your answer.

Traffic: 1876 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