{"action":"closed","issue":{"url":"https://api.github.com/repos/ropensci/taxa/issues/135","repository_url":"https://api.github.com/repos/ropensci/taxa","labels_url":"https://api.github.com/repos/ropensci/taxa/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/taxa/issues/135/comments","events_url":"https://api.github.com/repos/ropensci/taxa/issues/135/events","html_url":"https://github.com/ropensci/taxa/issues/135","id":302600559,"number":135,"title":"ENTREZ API key for NCBI database in extract_tax_data","user":{"login":"VGalata","id":5700085,"avatar_url":"https://avatars1.githubusercontent.com/u/5700085?v=4","gravatar_id":"","url":"https://api.github.com/users/VGalata","html_url":"https://github.com/VGalata","followers_url":"https://api.github.com/users/VGalata/followers","following_url":"https://api.github.com/users/VGalata/following{/other_user}","gists_url":"https://api.github.com/users/VGalata/gists{/gist_id}","starred_url":"https://api.github.com/users/VGalata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VGalata/subscriptions","organizations_url":"https://api.github.com/users/VGalata/orgs","repos_url":"https://api.github.com/users/VGalata/repos","events_url":"https://api.github.com/users/VGalata/events{/privacy}","received_events_url":"https://api.github.com/users/VGalata/received_events","type":"User","site_admin":false},"labels":[{"id":340660430,"url":"https://api.github.com/repos/ropensci/taxa/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-06T08:07:02Z","updated_at":"2018-03-07T07:26:23Z","closed_at":"2018-03-07T07:26:22Z","author_association":"NONE","body":"I use `taxa::extract_tax_data` to retrieve the taxonomy of BLAST search hits from the NCBI database. It worked great until last week. However, it stopped working for me saying that I need to provide an ENTREZ API key. Unfortunately, I could not find any matching parameter for an API key in `taxa::extract_tax_data`.\r\n\r\nCode:\r\n```\r\nid_str <- 'gi|444304248|ref|NR_074674.1|'\r\nregex_key = list(\r\n    regex='^[a-z]+\\\\|([0-9]+)\\\\|[a-z]+\\\\|(.*)\\\\|',\r\n    key=c('info', 'seq_id')\r\n)\r\ntaxa::extract_tax_data(id_str, regex=regex_key$regex, key=regex_key$key, database='ncbi')\r\n```\r\n\r\nOutput:\r\n```\r\nNo ENTREZ API key provided\r\nSee https://ncbiinsights.ncbi.nlm.nih.gov/2017/11/02/new-api-keys-for-the-e-utilities/\r\nFehler: Bad Request (HTTP 400)\r\n```\r\n\r\nUsed version `taxa_0.2.0.9113`\r\n\r\n\r\nThank you in advance!"}}
{"actor":{"display_login":"VGalata"}}