Introduction
This document describes the output produced by the pipeline.
The directories listed below will be created in the results directory after the pipeline has finished. All paths are relative to the top-level results directory. The directories comply with Tree of Life's canonical directory structure.
Pipeline overview
The pipeline is built using Nextflow and processes data using the following steps:
- Contact maps – Contact matrix created using HiC sequencing data
- Genome statistics – Collated assembly information, genome statistics and alignment quality information
- Annotation statistics - Statistics calculated on the annotated protein set for the assembly (if GFF annotation file is provided as input)
- Annotation ancestral - Ancestral linkage plots
- BUSCO - BUSCO results
- BlobToolKit plots - Static BlobToolKit plots
- Genome Note - Data for the generation of a genome-note article.
- MultiQC - Aggregate report describing results from the whole pipeline
- Pipeline information - Report metrics generated during the workflow execution
Contact maps
This pipeline takes aligned HiC reads to create contact maps and chromosomal grids using both Cooler and PretextMap, enabling display on a HiGlass server, in PretextView, or via a pretext snapshot in your preferred image viewer.
Output files
-
contact_maps/<sample>/: One directory per sample. If the sample name contains/, the path will be nested accordingly (e.g.project/samplebecomesproject/sample/).<assembly>.<datatype>.<sample>.chromsizes: chromosomal grid created from the.coolfile<assembly>.<datatype>.<sample>.cool: initial contact matrix created<assembly>.<datatype>.<sample>.mcool: final contact matrix for upload<assembly>.<datatype>.<sample>.pretext: PretextMap for PretextView<assembly>.<datatype>.<sample>.pretext.png: Snapshot file made with Pretext
In output filenames, any
/in the sample name is replaced with..
Genome statistics
This pipeline collates (1) assembly information, statistics and chromosome details from NCBI datasets, (2) genome completeness from BUSCO, (3) consensus quality and k-mer completeness from MerquryFK, and (4) HiC primary mapped percentage from samtools flagstat.
Output files
-
genome_stats/-
<assembly>.gfastats.txt: Assembly summary statistics for this assembly/accession, aggregating metrics collected throughout the pipeline run (e.g. contig count, N50, total length). -
<datatype>/-
<sample>/: One directory per sample. If the sample name contains/, the path will be nested accordingly (e.g.project/samplebecomesproject/sample/).genomescope/<assembly>.<datatype>.<sample>.genomescope.(linear|log)_plot.png: K-mer histogram plot on a linear or log scale.<assembly>.<datatype>.<sample>.genomescope.transformed_(linear|log)_plot.png: Transformed variant of the above plots, rescaled to improve interpretability.<assembly>.<datatype>.<sample>.genomescope.model.txt: Fitted GenomeScope model parameters, including estimated heterozygosity, repeat content, and ploidy.<assembly>.<datatype>.<sample>.genomescope.summary.txt: Human-readable summary of genome size and quality estimates derived from the model.
merqury/<assembly>.<datatype>.<sample>.completeness.stats: K-mer completeness score: the percentage of read k-mers found in the assembly, per haplotype.<assembly>.<datatype>.<sample>.qv: Assembly-level quality value (QV) score, analogous to a Phred score, reflecting base-level accuracy.<assembly>.<datatype>.<sample>.spectra-asm.*.png: K-mer spectra plots coloured by assembly haplotype, visually representing completeness and duplication.<assembly>.<datatype>.<sample>.<target_assembly>.only.bed: Genomic regions (BED) containing k-mers found only in this target haplotype and absent from the others.<assembly>.<datatype>.<sample>.<target_assembly>.qv: Per-target-haplotype quality value score.<assembly>.<datatype>.<sample>.<target_assembly>.spectra-cn.*.png: Copy-number spectra plots for this specific target haplotype, showing k-mer multiplicity distribution.
In output filenames, any
/in the sample name is replaced with..
-
-
Annotation statistics
This pipeline can generate statistics using AGAT and a BUSCO completeness score on the assembly annotation if a genes row is provided in the samplesheet. The annotation input should be a GFF3 file describing the annotated gene/protein set.
Output files
genes/<source>/(sourceissampleofgenesentry in input samplesheet)<assembly>.genes.<source>.agat.sqstats.txt: AGAT basic annotation statistics (sequence stats).<assembly>.genes.<source>.agat.spstats.txt: AGAT protein annotation statistics.<assembly>.genes.<source>.busco.<lineage>.short_summary.txt: BUSCO scores in text format for protein completeness.<assembly>.genes.<source>.busco.<lineage>.short_summary.json: BUSCO scores in JSON format for protein completeness.
Annotation ancestral
This subworkflow uses ancestral linkage tables to plot locations of the putative ancestral chromosomes onto the input species.
Output files
ancestral_plots/<lineage>/<ancestral_table_basename>/(ancestral_table_basenameis the basename of the ancestral table file provided, for exampleMerian_elements_full_table)<assembly>.<lineage>.<ancestral_table_basename>.buscopainter.pdf: PDF copy of the ancestral plot.<assembly>.<lineage>.<ancestral_table_basename>.buscopainter.png: PNG copy of the ancestral plot.
BUSCO
BUSCO results generated by the pipeline (all BUSCO lineages that match the classification of the species).
Output files
busco/<lineage><assembly>.<lineage>.short_summary.{json|tsv|txt}: BUSCO scores in various formats.<assembly>.<lineage>.full_table.tsv: list and coordinates of BUSCO genes that could be found.<assembly>.<lineage>.missing_busco_list.tsv: BUSCO genes that could not be found.<assembly>.<lineage>.{single,multi,fragmented}_busco_sequences.tar.gz: sequence files of the annotated genes.
Blobtoolkit Plots
blobtoolkit/
plots/
<assembly>.blob.png: Standard GC vs coverage scatter plot showing all sequences in the assembly for contamination detection and quality assessment.
<assembly>.blob_chr.png: Chromosome-level blob plot filtered to show only assembled molecules, excluding unlocalized scaffolds.
<assembly>.grid.png: Grid-based positional visualization with genomic position on x-axis showing spatial distribution of sequences.
<assembly>.grid_chr.png: Chromosome-level grid plot combining positional layout with assembled molecule filtering for publication-quality visualization.
<assembly>.snail_plot.png: Snail plot to report on the assembly statistics and quality.
Genome Note
blobtoolkit/plots/<assembly>.blob.png: Standard GC vs coverage scatter plot showing all sequences in the assembly for contamination detection and quality assessment.<assembly>.blob_chr.png: Chromosome-level blob plot filtered to show only assembled molecules, excluding unlocalized scaffolds.<assembly>.grid.png: Grid-based positional visualization with genomic position on x-axis showing spatial distribution of sequences.<assembly>.grid_chr.png: Chromosome-level grid plot combining positional layout with assembled molecule filtering for publication-quality visualization.<assembly>.snail_plot.png: Snail plot to report on the assembly statistics and quality.
Genome Note
Collection of various data into formats suitable for ingesting into a final genome-note article.
Output files
genome_note/<assembly>.csv: collated genome statistics file<assembly>.{docx|xml}: partially completed genome note template file<assembly>.genome_note_consistent.csv: a file of genome metadata parameters pulled from various public data repositories where all source agree on the parameter value.<assembly>.genome_note_inconsistent.csv: a file of genome metadata parameters, and their sources pulled from various public data repositories where the parameter value differs between data sources.
MultiQC
Output files
multiqc_report.html: a standalone HTML file that can be viewed in your web browser.
Output files
multiqc_report.html: a standalone HTML file that can be viewed in your web browser.
MultiQC is a visualization tool that generates a single HTML report summarising all samples in your project. Some of the pipeline results are visualised in the report and further statistics are available in the report data directory.
Results generated by MultiQC collate pipeline from supported tools e.g. BUSCO. The pipeline has special steps which also allow the software versions to be reported in the MultiQC output for future traceability. For more information about how to use MultiQC reports, see http://multiqc.info.
Pipeline information
Output files
pipeline_info/
- Reports generated by Nextflow:
execution_report.html, execution_timeline.html, execution_trace.txt and pipeline_dag.dot/pipeline_dag.svg.
- Reports generated by the pipeline:
pipeline_report.html, pipeline_report.txt and software_versions.yml. The pipeline_report* files will only be present if the --email / --email_on_fail parameter's are used when running the pipeline.
- Reformatted samplesheet files used as input to the pipeline:
samplesheet.valid.csv.
- Parameters used by the pipeline run:
params.json.
Output files
pipeline_info/- Reports generated by Nextflow:
execution_report.html,execution_timeline.html,execution_trace.txtandpipeline_dag.dot/pipeline_dag.svg. - Reports generated by the pipeline:
pipeline_report.html,pipeline_report.txtandsoftware_versions.yml. Thepipeline_report*files will only be present if the--email/--email_on_failparameter's are used when running the pipeline. - Reformatted samplesheet files used as input to the pipeline:
samplesheet.valid.csv. - Parameters used by the pipeline run:
params.json.
- Reports generated by Nextflow:
Nextflow provides excellent functionality for generating various reports relevant to the running and execution of the pipeline. This will allow you to troubleshoot errors with the running of the pipeline, and also provide you with other information such as launch commands, run times and resource usage.