Getting DNA sequences by ncbi eutils for a specific assembly e.g.: hg19, hg38, GRCh37.p13 or GRCh38.p6?
0
0
Entering edit mode
7.3 years ago
burcakotlu ▴ 40

Dear all,

Is there a way to get DNA sequences for a specific assembly (for a given chromosome, start and end coordinates) using ncbi eutils?

String eFetchString = "https://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=" + refSeqId + "&strand=1" + "&seq_start=" + oneBasedStart + "&seq_stop=" + oneBasedEnd + "&rettype=fasta&retmode=text";

My code above get DNA sequences in GRCh38.p6, I guess. (latest assembly right now.) Is there a way to specify the assembly and get DNA sequences in GRCh37.p13 or hg19 using ncbi eutils?

By the way, right now I'm focused on ncbi based solutions since I have coded in that way up to now. But I definitely would like to hear about other ways of doing this for my further studies.

Thanks in advance, Burçak Otlu

ncbi eutils efetch dna sequences • 1.7k views
ADD COMMENT

Login before adding your answer.

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