Skip to content

naobservatory/basecall-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nanopore Basecalling Workflow

This Nextflow pipeline is designed to process Oxford Nanopore raw signal data (POD5 files) through basecalling and optional demultiplexing steps. It supports both simplex and duplex basecalling modes using Dorado.

Pipeline Description

Overview

The pipeline consists of a single workflow that processes Nanopore POD5 files through several phases:

  1. A batching phase where POD5 files are grouped into batches to allow parallelized basecalling
  2. A basecalling phase using Dorado in either simplex or duplex mode
  3. An optional demultiplexing phase for barcoded samples
  4. A final conversion phase to generate FASTQ files from BAM output

Pipeline Outputs

The workflow produces the following key outputs:

  1. raw/: Directory containing the final FASTQ files
  2. summary/: Directory containing basecalling summary statistics

Using the Workflow

Installation & Setup

  1. Install Nextflow (23.04.0+)
  2. Install Docker
  3. Set up AWS BATCH
  4. Clone this repository

Running the Pipeline

Basic usage:

nextflow run main.nf -profile <profile_name> --pod_5_dir <path_to_pod5_files> --kit <kit_name>

Key Parameters:

  • --pod_5_dir: Directory containing POD5 files
  • --kit: Sequencing kit used (e.g., "dna_r10.4.1_e8.2_400bps_sup")
  • --batch_size: Number of POD5 files per batch (default: 10)
  • --duplex: Enable duplex basecalling (default: false). Change parameter in config file.
  • --demux: Enable demultiplexing (default: false). Change parameter in config file.

Troubleshooting

Common issues and their solutions:

  1. Insufficient Memory: Increase available memory or reduce batch size
  2. Missing POD5 Files: Verify input directory path and check if your AWS credentials are set up properly
  3. Docker Issues: Ensure Docker is running and has sufficient resources

About

Nextflow workflow to run basecalling on Nanopore data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published