问题
I want to use the report() functionality of snakemake as it looks really promising.
Under the Results sections, I'd like to present the results in the same order as the pipeline was executed. For example, during a (mostly) serial QC pipeline, I would then see where poor quality samples were excluded. However, by default, results are sorted by the name of the 'reported' output:
-files.
Ways I could achieve a better sorting are for example
- Use
caption
to insert a timestamp for execution and then manually click/sort on the Description header - Name the output-files/rules as to reflect pipeline-order
... but ideally I would like to do something more dynamic, maybe based on the DAG that is produced anyway.
Do you have any other suggestions or examples I could look at?
来源:https://stackoverflow.com/questions/59193293/snakemake-report-how-to-show-results-in-pipeline-order