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

Use augur merge #75

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Use augur merge #75

merged 3 commits into from
Dec 9, 2024

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Dec 7, 2024

Description of proposed changes

Use our own tooling designed for this type of operation. Details in commits.

Related issue(s)

Checklist

  • Tested locally. Differences noted in commit messages.
  • Checks pass

Narrows the scope of the append_usvi rule to just merging data files.
Use our own tooling designed for this type of operation.

There is a slight change in behavior: augur merge adds quotes around
values with spaces whereas csvtk doesn't, but I think that's ok.
This better reflects the duplicate handling used by augur merge. In case
of duplicates, augur merge will keep the last one from the input list.
seqkit rmdup keeps the first one from the input list so the order is
reversed.

There are some behavior changes, none of which should have any impact on
downstream usage:

1. The order of sequences in the file is reversed on a file level.
2. seqkit's default behavior wraps lines at 60 characters.
@victorlin victorlin self-assigned this Dec 7, 2024
@victorlin victorlin mentioned this pull request Dec 7, 2024
4 tasks
@victorlin victorlin requested a review from j23414 December 7, 2024 01:36
Copy link
Contributor

@j23414 j23414 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with your changes and ran a quick test:

Findings: USVI records were merged in as expected, node callout links work as expected, the difference in quoting does not seem to affect the auspice view. Good, thank you!

@victorlin victorlin merged commit e304e66 into main Dec 9, 2024
13 checks passed
@victorlin victorlin deleted the victorlin/use-augur-merge branch December 9, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use augur merge to spike in USVI records
3 participants