This document describes the output produced by the pipeline. Most of the plots are taken from the MultiQC report, which summarises results at the end of the pipeline.
Note that nf-core/methylseq contains two workflows - one for Bismark, one for bwa-meth. The results files produced will vary depending on which variant is run.
The pipeline is built using Nextflow and processes data using the following steps:
FastQC gives general quality metrics about your reads. It provides information about the quality score distribution across your reads, the per base sequence content (%T/A/G/C). You get information about adapter contamination and other overrepresented sequences.
For further reading and documentation see the FastQC help.
NB: The FastQC plots displayed in the MultiQC report shows untrimmed reads. They may contain adapter sequence and potentially regions with low quality. To see how your reads look after trimming, look at the FastQC reports in the
trim_galoredirectory.
Output directory: results/fastqc
sample_fastqc.htmlsample_fastqc.zipThe nf-core/methylseq pipeline uses TrimGalore! for removal of adapter contamination and trimming of low quality regions. TrimGalore is a wrapper around Cutadapt and runs FastQC after it finishes.
MultiQC reports the percentage of bases removed by Cutadapt in the General Statistics table, along with a line plot showing where reads were trimmed.
Output directory: results/trim_galore
Contains FastQ files with quality and adapter trimmed reads for each sample, along with a log file describing the trimming.
sample_val_1.fq.gz, sample_val_2.fq.gz--save_trimmed has been specified.logs/sample_val_1.fq.gz_trimming_report.txtFastQC/sample_val_1_fastqc.zipSingle-end data will have slightly different file names and only one FastQ file per sample.
Bismark and bwa-meth convert all Cytosines contained within the sequenced reads to Thymine in-silico and then align against a three-letter reference genome. This method avoids methylation-specific alignment bias. The alignment produces a BAM file of genomic alignments.
Bismark output directory: results/bismark_alignments/
Note that bismark can use either use Bowtie2 (default) or HISAT2 as alignment tool and the output file names will not differ between the options.
sample.bam--save_align_intermeds, --skip_deduplication or --rrbs is specified when running the pipeline.logs/sample_PE_report.txtunmapped/unmapped_reads_1.fq.gz, unmapped/unmapped_reads_2.fq.gz--unmapped specified when running the pipeline.bwa-meth output directory: results/bwa-mem_alignments/
sample.bam--save_align_intermeds is usedsample.sorted.bam--save_align_intermeds, --skip_deduplication or --rrbs is specified when running the pipeline.sample.sorted.bam.bai--save_align_intermeds, --skip_deduplication or --rrbs is specified when running the pipeline.logs/sample_flagstat.txtlogs/sample_stats.txtThis step removes alignments with identical mapping position to avoid technical duplication in the results. Note that it is skipped if --save_align_intermeds, --skip_deduplication or --rrbs is specified when running the pipeline.
Bismark output directory: results/bismark_deduplicated/
deduplicated.bamlogs/deduplication_report.txtbwa-meth output directory: results/bwa-mem_markDuplicates/
NB: The bwa-meth step doesn't remove duplicate reads from the BAM file, it just labels them.
sample.sorted.markDups.bamsample.sorted.markDups.bam.bailogs/sample.sorted.markDups_metrics.txtThe methylation extractor step takes a BAM file with aligned reads and generates files containing cytosine methylation calls. It produces a few different output formats, described below.
Note that the output may vary a little depending on whether you specify --comprehensive or --non_directional when running the pipeline.
Filename abbreviations stand for the following reference alignment strands:
OT - original top strandOB - original bottom strandCTOT - complementary to original top strandCTOB - complementary to original bottom strandBismark output directory: results/bismark_methylation_calls/
NB:
CTOTandCTOBare not aligned unless--non_directionalspecified.
methylation_calls/XXX_context_sample.txt.gzmethylation_coverage/sample.bismark.cov.gzbedGraph/sample.bedGraph.gzm-bias/sample.M-bias.txtlogs/sample_splitting_report.txtbwa-meth workflow output directory: results/MethylDackel/
sample.bedGraphBismark generates a HTML reports describing results for each sample, as well as a summary report for the whole run.
Output directory: results/bismark_reports
Output directory: results/bismark_summary
Qualimap BamQC is a general-use quality-control tool that generates a number of statistics about aligned BAM files. It's not specific to bisulfite data, but it produces several useful stats - for example, insert size and coverage statistics.
Output directory: results/qualimap
sample/qualimapReport.htmlsample/genome_results.txt, sample/raw_data_qualimapReport/*.txtPreseq estimates the complexity of a library, showing how many additional unique reads are sequenced for increasing the total read count. A shallow curve indicates that the library has reached complexity saturation and further sequencing would likely not add further unique reads. The dashed line shows a perfectly complex library where total reads = unique reads.
Note that these are predictive numbers only, not absolute. The MultiQC plot can sometimes give extreme sequencing depth on the X axis - click and drag from the left side of the plot to zoom in on more realistic numbers.
Output directory: results/preseq
sample_ccurve.txtMultiQC is a visualisation tool that generates a single HTML report summarising all samples in your project. Most of the pipeline QC results are visualised in the report and further statistics are available in within the report data directory.
The pipeline has special steps which allow the software versions used to be reported in the MultiQC output for future traceability.
Output directory: results/multiqc
Project_multiqc_report.htmlProject_multiqc_data/For more information about how to use MultiQC reports, see MultiQC
Nextflow has several built-in reporting tools that give information about the pipeline run.
Output directory: results/pipeline_info
pipeline_dag.svgexecution_report.htmlexecution_timeline.htmlexecution_trace.txtpipeline_report.html--email was specified.pipeline_report.txt