MethylSeq
MethylSeq is the TOBI lab version of the nf-core/methylseq pipeline (version 2.6.0). It trims and aligns bisulfite sequencing reads, extracts the methylation calls and summarises the quality control of all samples in a MultiQC report. It can also remove optical duplicates, filter reads with an incomplete bisulfite conversion and estimate the CpG-level sequencing saturation with methurator.
Pipeline overview
Section titled “Pipeline overview”Click the map to open the interactive version, which you can pan, zoom and filter by line.
The pipeline runs one of two workflows, chosen with --aligner: Bismark (bismark, the default, with Bowtie2, or bismark_hisat with HISAT2) or bwa-meth with MethylDackel (bwameth).
| Step | Bismark workflow | bwa-meth workflow |
|---|---|---|
| Generate the reference genome index (optional) | Bismark | bwa-meth |
| Merge re-sequenced FastQ files | cat | cat |
| Raw data QC | FastQC | FastQC |
| Adapter trimming | Trim Galore! | Trim Galore! |
| Align reads | Bismark | bwa-meth |
| Filter reads with an incomplete conversion (optional) | Bismark | - |
| Remove optical duplicates | Picard MarkDuplicates | - |
| Deduplicate alignments | Bismark | Picard MarkDuplicates |
| Extract methylation calls | Bismark | MethylDackel |
| Sample and summary reports | Bismark | - |
| Alignment QC | Qualimap | Qualimap |
| Library complexity (optional) | Preseq | Preseq |
| CpG-level sequencing saturation (optional) | methurator | methurator |
| Project report | MultiQC | MultiQC |
Quick start
Section titled “Quick start”-
Prepare a samplesheet with one row per FastQ file (single-end) or pair of FastQ files (paired-end):
samplesheet.csv sample,fastq_1,fastq_2SAMPLE1_S1,SAMPLE1_S1_R1.fastq.gz,SAMPLE1_S1_R2.fastq.gzSAMPLE2_S2,SAMPLE2_S2_R1.fastq.gz, -
Write the parameters in
params.yaml, with a reference genome given by its iGenomes name (genome) or as a FASTA file (fasta):params.yaml input: ./samplesheet.csvoutdir: ./resultsfasta: ./reference/genome.faaligner: bismarkrrbs: true -
Run the pipeline:
Terminal window nextflow run VIBTOBIlab/MethylSeq -params-file params.yaml -profile dockerTerminal window nextflow run VIBTOBIlab/MethylSeq -params-file params.yaml -profile singularity
The results are described on the output page.
Credits
Section titled “Credits”The original nf-core/methylseq pipeline was written by Phil Ewels (@ewels) for use at the National Genomics Infrastructure at SciLifeLab in Stockholm, Sweden, and is maintained by Felix Krueger (@FelixKrueger), Sateesh Peri (@sateeshperi) and Edmund Miller (@emiller88), with contributions from Rickard Hammarén (@Hammarn), Alexander Peltzer (@apeltzer) and Patrick Hüther (@phue).
This version was modified by Edoardo Giuili (@edogiuili), who maintains it together with Sofie Van de Velde (@sofvdvel).
Citation
Section titled “Citation”If you use this pipeline for your analysis, please cite the nf-core publication:
The nf-core framework for community-curated bioinformatics pipelines.
Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.
Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x
The tools used by the pipeline are listed on the citations page.

