@@ -203,7 +203,7 @@ We modify the rule ``bwa_map`` accordingly:
initialization to the DAG phase. In contrast to input functions, these can
optionally take additional arguments ``input``, ``output``, ``threads``, and ``resources``.
Similar to input and output files, ``params`` can be accessed from the shell command or the Python based ``run`` block (see :ref:`tutorial-report`).
Similar to input and output files, ``params`` can be accessed from the shell command the Python based ``run`` block, or the script directive (see :ref:`tutorial-script`).
Usually, a workflow not only consists of invoking various tools, but also contains custom code to e.g. calculate summary statistics or create plots.
While Snakemake also allows you to directly :ref:`write Python code inside a rule <.. _snakefiles-rules>`_, it is usually reasonable to move such logic into separate scripts.