This is a test version of Biostars. For the public version, visit https://www.biostars.org.
R package to extract fasta sequence using gene names

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

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).

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

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.

0 answers

No answers yet.

Log in to answer this question.