SciLifeLab/NGI-NextflowDocs

Name: NGI-NextflowDocs

Owner: Science For Life Laboratory

Description: Common documentation for National Genomics Infrastructure pipelines built with Nextflow

Created: 2016-10-28 10:34:45.0

Updated: 2017-09-15 07:32:41.0

Pushed: 2017-05-08 11:36:52.0

Homepage: null

Size: 10

Language: Groovy

GitHub Committers

UserMost Recent Commit# Commits
Phil Ewels2017-03-27 12:55:42.06
Rickard Hammarén2017-05-08 11:36:51.03

Other Committers

UserEmailMost Recent Commit# Commits
Maxime Garciamax@ithake.eu2016-11-22 14:02:53.03
Maxime Garciamax@ithake.eu2016-11-22 14:02:53.03

README

NGI-NextflowDocs

Common documentation for National Genomics Infrastructure pipelines built with Nextflow. Some variables are specific to Swedish UPPMAX cluster, but can be easily modified to suit any clusters.

Install Nextflow

See the Install documentation

Common options

See the options documentation

Common configuration besides basic required stuff
Configuration Loading

Config variables (eg. params.something) are loaded in the following order:

  1. Pipeline script
  2. Home directory (~/.nextflow/config)
  3. Pipeline script directory (pipeline/nextflow.config)
  4. Launch directory (./nextflow.config)
  5. Specified config file (-c my_config)
  6. Command line (--something)

Anything specified in more than one location will be overwritten by subsequent loads. The command line has preference over everything.

Best practices / snippets

See Example Pipeline

Troubleshooting nextflow

Check the work directory, and especially the last one (which is the one that failed) for information about the failed process, and if needed, you can go up the chain of processes.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.