Using Web Services To Get Fasta Files For Refseq Nm And Nr Identifiers
2
1
Entering edit mode
12.4 years ago
Laura ★ 1.8k

I would like to be able to fetch fasta files for given refseq cdna or rna sequences programatically

I can do this for EMBL cdnas using a wget command like

wget  -q -O - "http://www.ebi.ac.uk/ena/data/view/BX648399.1&display=fasta" > BX648399.1.fasta

Does anyone know if there is an equivalent service at the NCBI

thanks

refseq ncbi fasta • 3.5k views
ADD COMMENT
3
Entering edit mode
12.4 years ago

Use NCBI Efetch:

$ curl -s "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=BX648399&rettype=fasta&retmode=txt" | head
>gi|34367561|emb|BX648399.1| Homo sapiens mRNA; cDNA DKFZp686M11224 (from clone DKFZp686M11224)
GGCCACGGCCGACATGTTTTTTTTTTTTTTTTTTCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
TTTTTTTTTTTTTTTTTTTTTTTTAACACAATGGCCCTGCCTCCCACCGCTTTATTTCTTTCGGTTTCGG
ATGCAAAACAAAAAATTTTAAAAGAAAATGTGACTTCAAAGGAAAAGAACAAATTTCCAAAGACTTGGGG
GAGTGAAGGCAGAGCCTGGTGCAGATGGACGAGGTCTGCAGACGGAGGGCAGAGGTGGTGGAAGGGGCCA
GGGGCCTGCAGGCCTCCCCCTGGAACTGGGACTGGTCTCGGTCTGCTGACGTCAGGGTCAGCTCCCCCGC
GGAGCTGACTTCAGCAGCCCACAGCTGTGGGGCTTCAGCAGCCACACCAGCCCAGCCCAGCCCAGCTCTC
GATACGTTTGGTCTTTCATGCTGAAAAATAA
ADD COMMENT
0
Entering edit mode

fantastic thanks

ADD REPLY
2
Entering edit mode
ADD COMMENT

Login before adding your answer.

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