-
Notifications
You must be signed in to change notification settings - Fork 3
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: use new augur curate commands #70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny nit: if you use git mv
to rename files, rather than delete/re-add, I think there's better history and change tracking.
Ohh interesting, I did use |
|
TIL! |
'authors', | ||
'institution' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
non-blocking
FWIW, institution
can be populated by adding submitter-affiliation=institution
to the field_map
config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looking around the code configs, I decided to add a functionally populated institution
column in 644faa9
Vendored scripts for the curate rule have been ported to `augur curate` and are available starting from Augur 25.0.0.¹ ¹ <https://github.com/nextstrain/augur/releases/tag/25.0.0>
Separate out selecting metadata columns into a rule to match the pathogen repo guide
subrepo: subdir: "ingest/vendored" merged: "258ab8c" upstream: origin: "https://github.com/nextstrain/ingest" branch: "main" commit: "258ab8c" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb"
9ca3015
to
644faa9
Compare
ingest/config/config.yaml
Outdated
@@ -8,7 +8,7 @@ ncbi_taxon_id: | |||
general: "11250" | |||
|
|||
# Params for the transform rulegeneral |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably want to update the comment too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol, good catch, will update
Description of proposed changes
Updates the curate rule to use the new augur curate commands.
Updates ingest/vendored to pull in latest changes including nextstrain/ingest#45.
Includes additional changes to rename
transform
tocurate
to conform the pathogen-repo-guideIncludes additional change to remove
reverse
andinstitution
columns since they are blank and seemingly unused.Related issue(s)
Mirroring changes in nextstrain/pathogen-repo-guide#53
Resolves #67
Checklist
<first author> et al.
and the removal of thereverse
andinstitution
columns.