R package to extract fasta sequence using gene names
0
0
Entering edit mode
5.5 years ago

I have hundreds of gene names like this: c("SS1G_03709", "SS1G_07286", "SS1G_06430"). I want to retrieve their nucleotide fasta sequence using R package from NCBI. Any suggestion?

R • 2.2k views
ADD COMMENT
2
Entering edit mode

Using R for such a task is over kill IMO. Use seqtk or seqkit or fasomerecords or grep (if you have sequences in single line).

ADD REPLY
0
Entering edit mode

Sorry, but I want to retrieve those sequences from NCBI.

ADD REPLY
2
Entering edit mode

you can use batch query on NCBI web interface or EBI web interface, NCBI eutils or Ensembl REST api or third party rest APIs for sequence retrieval.

ADD REPLY
0

Login before adding your answer.

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