Closed grepinsight closed 7 years ago
Hi @grepinsight,
I think this is a recent change from the NCBI, partly covered by this commit https://github.com/ropensci/rentrez/commit/5b2785a10aeb254495f3737bf9dcf195e446ff9d (not yet part of a CRAN release).
For now, you can install github version (with devtools::install_github) and use the "native" format for rettype
:
xmlrec <- entrez_fetch(db="protein", id=protein_id, retmode="native", parsed=TRUE)
The full list of rettype
s available for each databse is here https://www.ncbi.nlm.nih.gov/books/NBK25499/table/chapter4.T._valid_values_of__retmode_and/
(Leaving this open until I update documentation to note this)
Hi. Thanks for making a nice package to interact with NCBI. While playing with this package, I stumbled upon the following problem where entrez_fetch does not seem to retrieve XML when querying against
protein
database.This problem does not occur in
gene
database