This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extract dna sequences from given ids using R codes/package

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

1 answer

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.

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

Log in to answer this question.