mgijax / mammalian-phenotype-ontology

Standard terms for annotating mammalian phenotypic data
Creative Commons Attribution 4.0 International
19 stars 6 forks source link

How to download specific (e.g. older) version of MP.owl? #3578

Closed moldach closed 2 years ago

moldach commented 2 years ago

The link that I've found to download the MP ontology in .owl format from EBI (https://www.ebi.ac.uk/ols/ontologies/mp) only provides the most-recent version of the ontology

I need a way to programatically chose which version of the ontology I download; however, I'm not sure where to find this...

The EBI website provides a non-functioning link: Version IRI: http://purl.obolibrary.org/obo/mp/releases/2022-04-08 which leads to a 400: Invalid request error.

Could you please let me know where I can get previous releases from?

cindyJax commented 2 years ago

https://github.com/mgijax/mammalian-phenotype-ontology/releases

From: "Matthew J. Oldach" @.> Reply-To: mgijax/mammalian-phenotype-ontology @.> Date: Thursday, April 28, 2022 at 1:41 PM To: mgijax/mammalian-phenotype-ontology @.> Cc: Subscribed @.> Subject: [EXTERNAL][mgijax/mammalian-phenotype-ontology] How to download specific (e.g. older) version of MP.owl? (Issue #3578)

The link that I've found to download the MP ontology in .owl format from EBI (https://www.ebi.ac.uk/ols/ontologies/mp) only provides the most-recent version of the ontology

I need a way to programatically chose which version of the ontology I download; however, I'm not sure where to find this...

The EBI website provides a non-functioning link: Version IRI: http://purl.obolibrary.org/obo/mp/releases/2022-04-08 which leads to a 400: Invalid request error.

Could you please let me know where I can get previous releases from?

— Reply to this email directly, view it on GitHubhttps://github.com/mgijax/mammalian-phenotype-ontology/issues/3578, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABC4LNAEWJ37YPMVDEST4WLVHLETJANCNFSM5UTH42QA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible.

sbello commented 2 years ago

We have releases on GitHub. I think the link format https://github.com/mgijax/mammalian-phenotype-ontology/releases/download/v2022-04-06/mp.owl where you modify the vYear-month-day to the release you want should work.

I'll see if we can get the release purl to point to the correct spot.

matentzn commented 2 years ago

When this is merged: https://github.com/OBOFoundry/purl.obolibrary.org/pull/849

You can obtain every MP artefact from its version PURLs.. Surprising this was not noticed before!

http://purl.obolibrary.org/obo/mp/releases/2022-04-08/mp.obo

sbello commented 2 years ago

Thanks @matentzn The pull request Nico created has been merged so the purls should work now.

sbello commented 2 years ago

reopening as the links aren't working yet, will double check tomorrow

matentzn commented 2 years ago

Works for me:

http://purl.obolibrary.org/obo/mp/releases/2022-04-21/mp.obo

sbello commented 2 years ago

Odd the 2022-04-08 link above did not work but the 2022-04-21 link did And now checking the releases I see why, we have an 2022-04-06 release but not an 08 release. Reclosing.