-
Notifications
You must be signed in to change notification settings - Fork 1
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
ingest: add rule to create url
column for accessions
#76
Comments
Thinking out loud, there seem to be a couple of ways to implement this:
Just checking if there's any strong preferences between the implementation options? |
I think (1) is easier to understand and I'd prefer not to add another custom script... If we want to add it to the existing echo '{"accession":"123"}' | jq '. |= (.url="https://www.ncbi.nlm.nih.gov/nuccore/" + .accession)' |
+1 for option 1 and no additional custom scripts — the yellow fever version of this was easy to add |
After learning about it, I kinda like the
|
Personally, I am not a huge fan of |
My push-back against We might be able to satisfy both requirements (1) use
But let me know if I'm the only one being a sticker on "bypass creation of yet-another intermediate file" (what preferred name do we want?), I'm willing to accept the memory bloat (yes I know temp() files exist) and the subsequent decision on naming a new file. I'm still hopeful of finding a solution that satisfies all expressed requirements (especially if this solution gets propagated across several repositories) but compromises are also acceptable. I'm mostly asking for more details |
If that's a concern,
The syntax for it doesn't stick in my brain, and I constantly have to look it up; it's another, slightly different set of things to remember and understand, but it's not |
Okay, for the sake of:
I will revert back to option 1: 436805f I will also try into incorporate the suggestion of defining an explicit genbank accession config value. |
Context
Building on discussion in office hours as summarized by @j23414 in #20 (comment):
Description
The ingest workflow should include steps to add a new
url
column.Existing examples:
The text was updated successfully, but these errors were encountered: