Workflows with Nextflow

University of Edinburgh

Online

22 - 25 November 2021

09:00 - 17:00

Instructors: Graeme Grimes, Flic Anderson

Helpers: Flic Anderson, Breeshey Roskams-Hieter, Jesko Wagner

Overview

Workflows with Nextflow

This lesson is a two day introduction to the workflow manager Nextflow, and nf-core, a community effort to collect a curated set of analysis pipelines built using Nextflow.

Nextflow enables scalable and reproducible scientific workflows using software enviroments like conda. It allows the adaptation of pipelines written in the most common scripting languages such as Bash, R and Python. Nextflow is a Domain Specific Language (DSL) that simplifies the implementation and the deployment of complex parallel and reactive workflows on clouds and clusters.

This lesson also introduces nf-core: a framework that provides a community-driven, peer reviewed platform for the development of best practice analysis pipelines written in Nextflow.

This lesson motivates the use of Nextflow and nf-core as a development tool for building and sharing computational pipelines that facilitate reproducible (data) science workflows.

Ed-DaSH

Ed-DaSH is a Data Science training programme for Health and Biosciences. The team has developed workshops using The Carpentries platform on the following topics. See workshops for dates and registration details. All workshops will be delivered remotely.

General Information

Where: This training will take place online. The instructors will provide you with the information you will need to connect to this meeting.

When: 22 - 25 November 2021. Add to your Google Calendar.

Requirements: Participants must have access to a computer with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on. They should have a few specific software packages installed (listed below).

Accessibility: We are dedicated to providing a positive and accessible learning environment for all. Please notify the instructors in advance of the workshop if you require any accommodations or if there is anything we can do to make this workshop more accessible to you.

Contact: Please email Graeme.Grimes@ed.ac.uk or second@example.org for more information.

Roles: To learn more about the roles at the workshop (who will be doing what), refer to our Workshop FAQ.


Code of Conduct

Everyone who participates in Carpentries activities is required to conform to the Code of Conduct. This document also outlines how to report an incident if needed.


Collaborative Notes

We will use this collaborative document for chatting, taking notes, and sharing URLs and bits of code.


Schedule

The lesson taught in this workshop is being piloted and a precise schedule is yet to be established.

Day 1 : 22nd November (09:00 - 17:00)

Pre-workshop Setup
Lessons
Introduction to the Command Line Introduction
Navigating Files and Directories
Working with Files and Directories
Redirection
Writing Scripts and Working with Data
Breaks
Morning 10:30 - 10:45
Lunch 12:30 - 13:30
Afternoon 15:00 - 15:15

Day 2 : 23rd November (09:00 - 15:00)

Lessons
Introduction to Conda Getting Started with Conda
Working with Environments
Using Packages and Channels
Sharing Environments
Configuring Conda
Breaks
Morning 10:30 - 10:45
Lunch 12:30 - 13:30
Afternoon 15:00 - 15:15

Day 3 : 24th November (09:00 - 16:00)

Lessons
Introduction to Nextflow Getting Started with Nextflow
Workflow parameterization
Channels
Processes 1/2
Operators
Breaks
Morning 10:30 - 10:45
Lunch 12:30 - 13:30
Afternoon 15:00 - 15:15

Day 4 : 25th November (09:00 - 16:00)

Lessons
Introduction to Nextflow Workflow
Nextflow Configuration
Reporting
Checkpointing and Caching
Simple RNA-Seq pipeline
Deploying nf-core pipelines
Breaks
Morning 10:30 - 10:45
Lunch 12:00 - 13:00
Afternoon 15:00 - 15:15

Setup

To participate in a workshop, you will need access to software as described below. In addition, you will need an up-to-date web browser.

We maintain a list of common issues that occur during installation as a reference for instructors that may be useful on the Configuration Problems and Solutions wiki page.

Install the videoconferencing client

If you haven't used Zoom before, go to the official website to download and install the Zoom client for your computer.

Set up your workspace

Like other Carpentries workshops, you will be learning by "coding along" with the Instructors. To do this, you will need to have both the window for the tool you will be learning about (a terminal, RStudio, your web browser, etc..) and the window for the Zoom video conference client open. In order to see both at once, we recommend using one of the following set up options:

This blog post includes detailed information on how to set up your screen to follow along during the workshop.

Please check the “Setup” page of the lesson site for instructions to follow to obtain the software and data you will need to follow the lesson.