webread retrieves source but I need the data in the webpage

4 次查看(过去 30 天)
I try to run a loop that'd give me GO annotations from a site, but when using webread to access the url:
url= 'https://www.ebi.ac.uk/QuickGO/annotations?geneProductId=A0A3G9FS89';
o = weboptions('CertificateFilename','');
go_annotation = webread(url,o)
I get only the view-source of the page, which doesn't include my desired GO data.
I noticed that the view-source doesn't change at all if the part after 'QuickGO' is truncated - meaning it has nothing to do with my specific gene name A0A3G9FS89.
what can be done to make matlab retrieve the actual data on a specific url?
Thanks in advance,
Chaim.

回答(1 个)

Prince Kumar
Prince Kumar 2022-1-19
Hi,
You can do it using "webread" function itself.
Please refer the following MATLAB answers
I hope you find the above information useful.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by