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!
eseach on witch database ??? pubmed ? nucleotide ? ....
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.