How can I make Snakemake display only the Job counts
fields on a dry run? When performing a real run, that's the first information Snakemake outputs before starting the jobs.
Currently, the way I get job counts is to run Snakemake without the -n
flag and immediately cancel it (^C
), but that's far from ideal.
Letting the dry run complete will output the Job counts
at the end, but that's not feasible for pipelines with hundreds or thousands of jobs.
Desired output:
$ snakemake -n --someflag
Job counts:
count jobs
504 BMO
1 all
504 fit_nbinoms
517 motifs_in_peaks
503 motifs_outside_peaks
2029
$
Flag -q
does this.
--quiet, -q Do not output any progress or rule information.