Extract dna sequences from given ids using R codes/package
1
0
Entering edit mode
7.2 years ago
MAPK ★ 2.1k

I don't remember exactly what I had used in the past, but I might have used biomart or rentrez to extract DNA sequences using NCBI gene IDs. What are the tools in R package to extract fasta sequences with NCBI seq IDs? Thanks

R fasta • 3.0k views
ADD COMMENT
2
Entering edit mode
7.2 years ago

Both biomaRt and rentrez should do the job, the difference is that one will give you Ensembl sequences, the other NCBI ones. Check the rentrez tutorial here. There's also the reutils package.

ADD COMMENT
0
Entering edit mode

How do you convert gene symbols to UID which is required to extract genes using reutils?

ADD REPLY
1
Entering edit mode

Something like the following should give you the list of IDs that match the symbol:

http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=gene&term=AURKB[Gene+Name]+AND+human[Organism]

You can also use BioMart for ID conversion.

ADD REPLY

Login before adding your answer.

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