Skip to content

adolfmukama/pre-hackathon_training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pre-hackathon_training

Materials for nf-core preh-hackathon training KEMRI-wellcome Trust Program site

Schedule

Date/Time Topic
Mar 03, 4:00pm - 5:00pm Introduction to nextflow
Mar 05, 3:00pm - 4:30pm Channels and processes
Mar 10, 4:00pm - 5:00pm Workflow and operators
Mar 12, 3:00pm - 4:00pm Reporting and config files
Mar 17, 4:00pm - 5:00pm Worflow caching and checkpointing
Mar 19, 3:00pm - 4:00pm Hands on: A simple nextflow pipeline

Day 01

Learning Objectives

  • what a workflow management system is.
  • The benefits of using a workflow management system.
  • Explain the benefits of using Nextflow as part of your bioinformatics workflow.
  • Explain the components of a Nextflow script.
  • How to install nextflow
  • Run a Nextflow script.

Practical Session

  • Ensure that you've conda installed. Incase you don't you can follow these steps First navigate to your home directory
cd ~ 
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"

Then run the command below. Type yes for all the prompts

bash Miniforge3-$(uname)-$(uname -m).sh

Then restart your terminal

source ~/.bashrc

Create a conda environment and install nextflow in that env

conda create -n nextflow bioconda::nextflow

Overview for today's practical session

We shalll create a small pipeline that performs quality control on sequencing reads using FastQC and fastp, generates a summary report using MultiQC, and assembles the genome using shovill.

Initially, we will write the pipeline as a single script and later modularize it.

We shall use 2 paired end sequences of Sars-cov2 as our test data

Key parts of the pipeline include;

  • Defining parameters to parse our test data into the pipeline
  • defining processes for fastqc, fastp, multiqc and shovill.
  • Creating a workflow
  • creating a config file

Requirements

Please have the following software and user accounts ready.

A preconfigured Nextflow development environment is available using Gitpod. To run Gitpod:

  • Click the following URL: https://gitpod.io/#https://github.com/nextflow-io/training -- This is nextflows GitHub repository URL, prefixed with https://gitpod.io/#
  • Log in to your GitHub account (and allow authorization).
  • Once you have signed in, Gitpod should load (skip prebuild if asked).
  • If you decided to use the Gitpod environment, you don`t need to install anything into your local computer! But still, you would need to have github and docker accounts

To follow the training on your computer, you will need the following software and files:

Resources

Documentation and reference material for nextflow:

Docker for beginners:

Github Actions & GitHub CI:

Do you have any questions? mail to [email protected]

Contributors :

  • Firas Zemzem : PhD student ,Laboratory of Cytogenetics, Molecular Genetics and Biology of Reproduction CHU Farhat Hached Sousse, Higher institute of Biotechnology of Monastir, University of Monastir, Tunisia

About

Materials for nf-core preh-hackathon training KEMRI-wellcome Trust Program site

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published