-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Confusion on PMC vs PMCID #1366
Comments
Perhaps @sierra-moxon would be the person to look into this? |
(as discussed on Monday) In bioregistry, the two prefixes (PMC, PMCID) are for the same namespace, which has local unique identifiers that start with "PMC" (regex: VS in biolink-model, the two prefixes seem to have different patterns for local unique identifiers:
|
added "PMC" to the end of the namespace for expanding the PMCID prefix to "PMCID": "http://www.ncbi.nlm.nih.gov/pmc/PMC", to address #1366.
I think this may be as simple as fixing the Biomodel prefix registry to add "PMC" to the end of the namespace for expanding the PMCID prefix (i.e. "PMCID": "http://www.ncbi.nlm.nih.gov/pmc/PMC"). If we do this, then the examples in the spec doc resolve, and we be consistent in not requiring anything but the numeric identifier for a pub to follow the prefix (whether it is PMID, PMC, or PMCID). I created PR #1402 to make this simple change. @sierra-moxon @colleenXu will this do the trick? |
I'm not sure about doing this. Sierra told me that I should use bioregistry to find the "patterns for local unique identifiers"...so I was under the impression that if we were going to change to 1 pattern, that we'd pick bioregistry's method:
so |
In biopragmatics/bioregistry#965, we got authoritative confirmation from the PMC team that PMC local unique identifiers should contain the PMC. Therefore, curies should look like: |
Related to the above, but not the same (or at least, I don't see this specific issue discussed): |
I notice a difference between PMC and PMCID, and I'm wondering if this is intentional. I'm also not certain on which to use.
Based on the prefix-map, it looks like:
PMC
: IDs SHOULDN'T START with "PMC" because that's already in the base URLhttp://europepmc.org/articles/PMC
PMCID
: IDs can start with "PMC", but they don't have to. The base url ishttp://www.ncbi.nlm.nih.gov/pmc/
http://www.ncbi.nlm.nih.gov/pmc/PMC3165308
andhttp://www.ncbi.nlm.nih.gov/pmc/3165308
resolve. They seem to redirect to the same page,https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3165308
.All of the resources I'm working are providing "PMC"-style IDs that start with "PMC"...so it looks like I should use the prefix
PMCID
. Is that correct?Part of my confusion comes from this documentation which shows both
PMC
andPMCID
IDs that don't start with "PMC"...Side note: do the prefix-maps need changing if URLs are being redirected? I'm noticing that
https://europepmc.org/articles/PMC2786766
redirects tohttps://europepmc.org/article/PMC/2786766
http://www.ncbi.nlm.nih.gov/pmc/PMC3165308
andhttp://www.ncbi.nlm.nih.gov/pmc/3165308
redirect to the same place ,https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3165308
.The text was updated successfully, but these errors were encountered: