Why doesn't getncbidata work?

3 次查看(过去 30 天)
Michael Rust
Michael Rust 2016-11-29
Code that was previously working fine that uses getgenpept and other NCBI Entrez tools now crashes giving e.g. "The key Q8GA98 was not found in the protein database at this time. Please check that the input is a valid accession number or try again."
Does anyone know if this is a transient problem with NCBI or a permanent problem?
  2 个评论
Steven Lord
Steven Lord 2016-11-29
Which release of MATLAB and Bioinformatics Toolbox are you using?
When was the last time you used the code that previously worked and the getgenpept call succeeded? Five minutes ago, this morning, yesterday, last week, last month, etc.? [This gives a window for when the problem first manifested that may help in investigating the cause.]
By "now crashes" I assume you mean calling getgenpept throws a MATLAB error not that it causes MATLAB to bring up the "MATLAB has encountered an internal error" dialog. Is that correct?
Luuk van Oosten
Luuk van Oosten 2016-12-5
Dear Michael Rust,
The error you show has a note attached. Did you check the bug report mentioned in the note (bug report nr: 492836. Have you tried the workaround mentioned there?

请先登录,再进行评论。

回答(1 个)

Paola Favaretto
Paola Favaretto 2016-12-13
编辑:Paola Favaretto 2016-12-15
After the transition to https at NCBI (effective November 2016), GETGENBANK, GETGENPEPT and other functions accessing NCBI web servers fail.
You can download a patch here .

类别

Help CenterFile Exchange 中查找有关 Call Web Services from MATLAB Using HTTP 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by