Skip to content

Use Paramspace to automate file naming scheme based on wildcards #36

Open
@kelly-sovacool

Description

@kelly-sovacool

Currently, wildcards are hardcoded in I/O filenames. However, users might like to use different parameters (e.g. different outcomes to investigate the same dataset at different taxonomic levels, etc.) to repeat model training. Using Paramspace would help the rule definitions be more generalized instead of hard-coded. See the main snakemake docs and the snakemake.utils api docs for how Paramspace() works.

TODO

  • Write helper functions for Paramspace:
    • Build paramspace from config.
    • Get wildcard pattern with certain wildcards escaped with double braces.
    • Get instance pattern without certain wildcards included.
  • Fix hyperparameter performance combine + plot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions