Skip to content

Customize input node data for augur export #40

Description

@joverlee521

Context

This came up in discussion with @huddlej in the context of seasonal-flu, but seems like a good feature to consider for all pathogen workflows.

When customizing workflows, users may want to include additional annotations that are not available in the default workflow. This can be done with custom metadata columns, but that would only annotate the tips. If they want annotations across all nodes, these require the node data files. We should standardize a way for users to easily customize the input node data files for the rule that runs augur export.

Possible solutions

  1. Use custom_rules to import a new rule that overwrites the existing augur export rule with custom inputs.
  2. Use new config param, e.g. export.node_data, that expects of list of node data files. I think this is doable with the shared resolve_config_path function that we already use for other config file paths.
  3. Expect users to define a node_data_files input function (e.g. ebola/bdbv)
  4. Others?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions