I’m trying to download the OpenTargets data using scripts. I’m using the FTP links to do this. When there is a new release I’m unable to get the latest data. Is there a way to get the latest data version number programmatically, so that I can replace the version in the FTP link? Thanks.
You can use the
ftp://ftp.ebi.ac.uk/pub/databases/opentargets/platform/latest address, which is a symlink always pointing to the most recent release. If you are interested in the actual version, you can get it from the resolved address which is
ftp://ftp.ebi.ac.uk/pub/databases/opentargets/platform/23.02 at the moment.
Please let me know if this answer doesn’t address your question completely.
Just what I was looking for. Thanks