efetch result not in character format
0
0
Entering edit mode
7.5 years ago
ezrabekele17 ▴ 10

Hi,

I want to use reutils to obtain the accession numbers of a query search in character format. When I use efetch, the accession number isn't in a character format, and I'm not sure if it's accurate. This is what I tried:

UIDs<-esearch( "Methylation" ) 
accession_numbers = efetch(UIDs, rettype = "acc")

Thank you!

R • 1.4k views
ADD COMMENT
0
Entering edit mode

eseach on witch database ??? pubmed ? nucleotide ? ....

ADD REPLY
0
Entering edit mode

nuccore. My question is more about how to use efetch, because efetch is returning the gene names to me instead of the accession numbers, and I only want to get the accession number without any of the other text it returns.

ADD REPLY

Login before adding your answer.

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