Replies: 6 comments 7 replies
-
So Manubot, just FYI, supports hundreds of identifiers. For this case, even if we only have a few types we'll likely see, I wouldn't want to hard code it. That is, I'd probably just match it with a simple regex like |
Beta Was this translation helpful? Give feedback.
-
Okay, so just to clarify, you just feed anything before the colon to manubot to find the citation? So as long as it's one they support it should work? We write this text, so we should get any weird input that isn't our own fault. There are a few text fields that could have citations: The only instances of |
Beta Was this translation helpful? Give feedback.
-
Maybe we should just follow the Manubot convention:
Seems like this would avoid all ambiguity. Though they do one weird thing that I don't like which is citation by URL is in the form I don't know. |
Beta Was this translation helpful? Give feedback.
-
Seems like we've landed on a free-text citation format. How about the top-level citations data format? I was thinking something like this: |
Beta Was this translation helpful? Give feedback.
-
Sure, works for me!
… On Nov 18, 2024, at 8:51 AM, Vincent Rubinetti ***@***.***> wrote:
Seems like we've landed on a free-text citation format. How about the top-level citations data format? I was thinking something like this:
STRchive-database.json:
Screenshot.2024-11-18.at.10.49.49.AM.png (view on web) <https://github.com/user-attachments/assets/d921dc6f-d199-4223-9f60-6fdfe7b069b1>
STRchive-citations.json:
Screenshot.2024-11-18.at.10.49.57.AM.png (view on web) <https://github.com/user-attachments/assets/335d89fe-4755-43d4-a53a-c45e043c39da>
—
Reply to this email directly, view it on GitHub <#56 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AULUPMFCSKOCX5LYYWOY6ST2BIEHTAVCNFSM6AAAAABQ4NHEHWVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMRZGM3TOOI>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Just to make sure I understand, I was assuming that we would provide the IDs (e.g. PMID) and then use manubot to pull the full citation. Is that |
Beta Was this translation helpful? Give feedback.
-
Hi all,
Here's a proposed format for in-text citation within the json text fields:
Drawing from: https://greenelab.github.io/meta-review/#citation-by-identifier
String in STRchive data json:
"details":"This locus was pathogenic at size 10 [doi:10.1098/rsif.2017.0387]. There is some debate about the meaning of interruptions [pmid:25851694]"
Viewed on gene page:
Where the link jumps down to the corresponding reference at the end of that page (or does a tool tip if wanting to get fancy, not required).
These unique paper identifiers will correspond to a json or yaml for all references, hopefully generated by one of the manubot tools. For example like in lab-template.
@vincerubinetti do you think it makes sense to limit this to a set of standard identifiers? For example, just use
doi:
url:
and maybepmid:
? Use all in that table? Some other combination? I'm guessing you need to know what the possible characters are before the:
for correct parsing. Any other thoughts on making this work?Beta Was this translation helpful? Give feedback.
All reactions