Skip to main content

Pipeline that runs bcl2fastq and creates additional plots within a Snakemake workflow

Project description

This is is the demultiplex pipeline from the Sequana projet

Overview:Runs bcl2fastq on raw BCL data and create some QC plots to ease the QC step
Input:A valid Illumina base calling directory
Output:a set of PNG files and the expected FastQ files
Citation:Cokelaer et al, (2017), ‘Sequana’: a Set of Snakemake NGS pipelines, Journal of Open Source Software, 2(16), 352, JOSS DOI https://doi:10.21105/joss.00352


You must install Sequana first:

pip install sequana

Then, just install this package:

pip install sequana_demultiplex


sequana_pipelines_demultiplex --help
sequana_pipelines_demultiplex --working-directory DATAPATH --bcl-directory bcldata

This creates a directory fastq. You just need to execute the pipeline:

cd demutliplex
sh  # for a local run

This launch a snakemake pipeline. If you are familiar with snakemake, you can retrieve the demutliplex.rules and config.yaml files and then execute the pipeline yourself with specific parameters:

snakemake -s demutliplex.rules --cores 4 --stats stats.txt

Or use sequanix interface.


This pipelines requires the following executable(s):

  • bcl2fastq 2.20.0


This pipeline runs bcl2fastq 2.20 and creates a set of diagnostics plots to help deciphering common issues such as missing index and sample sheet errors.

Rules and configuration details

Here is the latest documented configuration file to be used with the pipeline. Each rule used in the pipeline may have a section in the configuration file.


Version Description
  • Check the presence of the bcl input directory and samplesheet.
  • More help in the –help message.
  • add –sample-sheet option to replace –samplesheet option
  • Fix the schema file
  • Check for presence of RunParameters.xml and provide information if merging-stratgy is set to None whereas it is a NextSeq run
0.9.3 Fix regression bug
0.9.2 remove warning due to relative paths.
0.9.1 Make the merging options compulsory. Users must tell whether they want to merge the lanes or not. This avoid to do the merging or not whereas the inverse was expected.
0.8.6 Uses 64G/biomics queue and 16 cores on a SLURM scheduler

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sequana-demultiplex, version 0.9.4
Filename, size File type Python version Upload date Hashes
Filename, size sequana_demultiplex-0.9.4.tar.gz (29.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page