This is a test version of Biostars. For the public version, visit https://www.biostars.org.
efetch result not in character format

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

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.

0 answers

No answers yet.

Log in to answer this question.