/
7. Nextflow pipeline outputs

7. Nextflow pipeline outputs

Results folder

The results are output in the folder name specified in the .nexftlow.config file under the outdir parameter. It is generally set to be results.

params { outdir = 'results' }

Nextflow log, metrics and reports

By default, Nextflow will create a log file in the working directory called .nextflow.log. This file is hidden but you can see it using the command:

ls -a

If you rerun the pipeline in the same folder, the previous .nextflow.log will be renamed .nextflow.log.1 and a new .nextflow.log will be generated.

You can change the default location by specifying a different location

nextflow -log ~/code/nextflow.log run

You can list the execution logs of previous invocations of all pipelines in a directory by running the command:

If we want to get more information about an individual run we can add the run name or session ID to the log command.

For example:

Generate an html run report

Run the following command:

Related content

6. Nextflow caching
6. Nextflow caching
More like this
3. Running pipelines
3. Running pipelines
More like this
4. Input specifications
4. Input specifications
More like this
2024-S2 eResearch - Session 3: Introduction to Nextflow
2024-S2 eResearch - Session 3: Introduction to Nextflow
More like this
5. Parameters
5. Parameters
Read with this
Task 3: Run nf-core/rnaseq pipeline
Task 3: Run nf-core/rnaseq pipeline
More like this