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

Reorganize config and rules around filter/subsampling #185

Merged
merged 3 commits into from
Sep 22, 2023

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Sep 21, 2023

Description of proposed changes

Subsampling is a form of filtering, but there is a conceptual distinction that is apparent in the rules and configs used in the ncov workflow, which I've mirrored here.

Put all filtering-related rules in a "filter" config, which configures a rule with the same name.

Put all subsampling-related rules in a "subsampling" config which also configures a rule with the same name.

Related issue(s)

Follow-up to #171

Checklist

  • Checks pass

The wording is a bit confusing since it is a mix of inclusive and
exclusive. Easier to just let the reader look at the arguments passed to
augur filter, which removes the need to update a list of filters in the
docstring over time.
@victorlin victorlin self-assigned this Sep 21, 2023
@victorlin victorlin force-pushed the victorlin/reorganize-filtering-subsampling branch 2 times, most recently from 718d916 to 24d9bd8 Compare September 21, 2023 22:15
Subsampling is a form of filtering, but there is a conceptual
distinction that is apparent in the rules and configs used in the ncov
workflow, which I've mirrored here.

Put all filtering-related rules in a "filter" config, which configures a
rule with the same name.

Put all subsampling-related rules in a "subsampling" config which also
configures a rule with the same name.
Removing unnecessary sequence I/O should improve workflow run times.
@victorlin victorlin force-pushed the victorlin/reorganize-filtering-subsampling branch from 24d9bd8 to 834dc22 Compare September 21, 2023 22:19
@corneliusroemer
Copy link
Member

Thanks, that makes sense!

@corneliusroemer corneliusroemer merged commit cf57450 into master Sep 22, 2023
4 checks passed
@corneliusroemer corneliusroemer deleted the victorlin/reorganize-filtering-subsampling branch September 22, 2023 12:34
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.

2 participants