Skip to content

Explain config.yaml options and fix inconsistent jobs value in profile section #42

@florence-bockting

Description

@florence-bockting

Description

In the Snakemake Profile section, the cluster_profile/config.yaml file is introduced with options to copy-paste, but two issues reduce clarity:

  1. No explanation of the options: the config.yaml contents are presented without describing what each option does or why it is set the way it is. Only by pattern matching one can guess that the options of the snakemake command are used as args in the config.yaml.

  2. Inconsistent values: the config file uses jobs: 3, but all preceding examples in the lesson used -j1 (--jobs 1). This inconsistency is not acknowledged or explained, which may confuse learners who notice the discrepancy.

Suggested improvements

  • Add a brief explanation of the syntax used in the config.yaml, similar to how options were introduced at the command line.
  • Either align the jobs value with what was used previously (jobs: 1), or explicitly explain why a different value is used in the profile.

Metadata

Metadata

Assignees

No one assigned

    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