Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusion on PMC vs PMCID #1366

Open
colleenXu opened this issue Jul 25, 2023 · 6 comments
Open

Confusion on PMC vs PMCID #1366

colleenXu opened this issue Jul 25, 2023 · 6 comments

Comments

@colleenXu
Copy link
Contributor

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:

  • for the prefix PMC: IDs SHOULDN'T START with "PMC" because that's already in the base URL http://europepmc.org/articles/PMC
  • for the prefix PMCID: IDs can start with "PMC", but they don't have to. The base url is http://www.ncbi.nlm.nih.gov/pmc/
    • Both http://www.ncbi.nlm.nih.gov/pmc/PMC3165308 and http://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 and PMCID 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 to https://europepmc.org/article/PMC/2786766
  • Both http://www.ncbi.nlm.nih.gov/pmc/PMC3165308 and http://www.ncbi.nlm.nih.gov/pmc/3165308 redirect to the same place ,https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3165308.
@colleenXu
Copy link
Contributor Author

Perhaps @sierra-moxon would be the person to look into this?

@colleenXu
Copy link
Contributor Author

(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: ^PMC\d+$, ex: PMC3084216).

VS in biolink-model, the two prefixes seem to have different patterns for local unique identifiers:

  • PMCID: start with "PMC"
  • PMC: don't start with "PMC"

mbrush added a commit that referenced this issue Oct 18, 2023
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.
@mbrush
Copy link
Collaborator

mbrush commented Oct 18, 2023

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?

@colleenXu
Copy link
Contributor Author

colleenXu commented Oct 18, 2023

@mbrush @sierra-moxon

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:

  • IDs start with "PMC"
  • use "PMC" as the prefix? We didn't actually discuss using only 1 prefix

so PMC:PMC1234...

@cthoyt
Copy link

cthoyt commented Nov 2, 2023

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: pmc:PMC1234

@gglusman
Copy link
Contributor

gglusman commented Aug 8, 2024

Related to the above, but not the same (or at least, I don't see this specific issue discussed):
Is the domain for PMC entities PMC or PMCID? Biolink uses PMC, but all NCBI pages I've seen display PMCID: PMCnnnnnn (as opposed to PMC: PMCnnnnnn).
Note I'm not referring to whether to include PMC after the colon, but what to use before it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants