nf-core/mag
Assembly and binning of metagenomes
2.2.1
). The latest
stable release is
3.3.0
.
Introduction
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.
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.
Pipeline overview
The pipeline is built using Nextflow and processes data using the following steps:
- Quality control of input reads - trimming and contaminant removal
- Taxonomic classification of trimmed reads
- Assembly of trimmed reads
- Protein-coding gene prediction of assemblies
- Binning and binning refinement of assembled contigs
- Taxonomic classification of binned genomes
- Genome annotation of binned genomes
- Additional summary for binned genomes
- Ancient DNA
- MultiQC - aggregate report, describing results of the whole pipeline
- Pipeline information - Report metrics generated during the workflow execution
Note that when specifying the parameter --coassemble_group
, for the corresponding output filenames/directories of the assembly or downsteam processes the group ID, or more precisely the term group-[group_id]
, will be used instead of the sample ID.
Quality control
These steps trim away the adapter sequences present in input reads, trims away bad quality bases and sicard reads that are too short. It also removes host contaminants and sequencing controls, such as PhiX or the Lambda phage. FastQC is run for visualising the general quality metrics of the sequencing runs before and after trimming.
FastQC
Output files
QC_shortreads/fastqc/
[sample]_[1/2]_fastqc.html
: FastQC report, containing quality metrics for your untrimmed raw fastq files[sample].trimmed_[1/2]_fastqc.html
: FastQC report, containing quality metrics for trimmed and, if specified, filtered read files
FastQC gives general quality metrics about your sequenced reads. It provides information about the quality score distribution across your reads, per base sequence content (%A/T/G/C), adapter contamination and overrepresented sequences. For further reading and documentation see the FastQC help pages.
fastp
fastp is a all-in-one fastq preprocessor for read/adapter trimming and quality control. It is used in this pipeline for trimming adapter sequences and discard low-quality reads. Its output is in the results folder and part of the MultiQC report.
Output files
QC_shortreads/fastp/[sample]/
fastp.html
: Interactive reportfastp.json
: Report in json format
AdapterRemoval2
AdapterRemoval searches for and removes remnant adapter sequences from High-Throughput Sequencing (HTS) data and (optionally) trims low quality bases from the 3’ end of reads following adapter removal. It is popular in the field of palaeogenomics. The output logs are stored in the results folder, and as a part of the MultiQC report.
Output files
QC_shortreads/adapterremoval/[sample]/
[sample]_ar2.log
: AdapterRemoval log file (normally called.settings
by AdapterRemoval.)
Remove PhiX sequences from short reads
The pipeline uses bowtie2 to map the reads against PhiX and removes mapped reads.
Output files
QC_shortreads/remove_phix/
[sample].phix_removed.bowtie2.log
: Contains a brief log file indicating how many reads have been retained.
Host read removal
The pipeline uses bowtie2 to map short reads against the host reference genome specified with --host_genome
or --host_fasta
and removes mapped reads. The information about discarded and retained reads is also included in the MultiQC report.
Output files
QC_shortreads/remove_host/
[sample].host_removed.bowtie2.log
: Contains the bowtie2 log file indicating how many reads have been mapped.[sample].host_removed.mapped*.read_ids.txt
: Contains a file listing the read ids of discarded reads.
Remove Phage Lambda sequences from long reads
The pipeline uses Nanolyse to map the reads against the Lambda phage and removes mapped reads.
Output files
QC_longreads/NanoLyse/
[sample]_nanolyse.log
: Contains a brief log file indicating how many reads have been retained.
Filtlong and porechop
The pipeline uses filtlong and porechop to perform quality control of the long reads that are eventually provided with the TSV input file.
No direct host read removal is performed for long reads.
However, since within this pipeline filtlong uses a read quality based on k-mer matches to the already filtered short reads, reads not overlapping those short reads might be discarded.
The lower the parameter --longreads_length_weight
, the higher the impact of the read qualities for filtering.
For further documentation see the filtlong online documentation.
Quality visualisation for long reads
NanoPlot is used to calculate various metrics and plots about the quality and length distribution of long reads. For more information about NanoPlot see the online documentation.
Output files
QC_longreads/NanoPlot/[sample]/
raw_*.[png/html/txt]
: Plots and reports for raw datafiltered_*.[png/html/txt]
: Plots and reports for filtered data
Taxonomic classification of trimmed reads
Kraken
Kraken2 classifies reads using a k-mer based approach as well as assigns taxonomy using a Lowest Common Ancestor (LCA) algorithm.
Output files
Taxonomy/kraken2/[sample]/
kraken2.report
: Classification in the Kraken report format. See the kraken2 manual for more detailstaxonomy.krona.html
: Interactive pie chart produced by KronaTools
Centrifuge
Centrifuge is commonly used for the classification of DNA sequences from microbial samples. It uses an indexing scheme based on the Burrows-Wheeler transform (BWT) and the Ferragina-Manzini (FM) index.
More information on the Centrifuge website
Output files
Taxonomy/centrifuge/[sample]/
report.txt
: Tab-delimited result file. See the centrifuge manual for information about the fieldskreport.txt
: Classification in the Kraken report format. See the kraken2 manual for more detailstaxonomy.krona.html
: Interactive pie chart produced by KronaTools
Assembly
Trimmed (short) reads are assembled with both megahit and SPAdes. Hybrid assembly is only supported by SPAdes.
MEGAHIT
MEGAHIT is a single node assembler for large and complex metagenomics short reads.
Output files
Assembly/MEGAHIT/
[sample/group].contigs.fa.gz
: Compressed metagenome assembly in fasta format[sample/group].log
: Log fileQC/[sample/group]/
: Directory containing QUAST files and Bowtie2 mapping logsMEGAHIT-[sample].bowtie2.log
: Bowtie2 log file indicating how many reads have been mapped from the sample that the metagenome was assembled from, only present if--coassemble_group
is not set.MEGAHIT-[sample/group]-[sampleToMap].bowtie2.log
: Bowtie2 log file indicating how many reads have been mapped from the respective sample (“sampleToMap”).
SPAdes
SPAdes was originally a single genome assembler that later added support for assembling metagenomes.
Output files
Assembly/SPAdes/
[sample/group]_scaffolds.fasta.gz
: Compressed assembled scaffolds in fasta format[sample/group]_graph.gfa.gz
: Compressed assembly graph in gfa format[sample/group]_contigs.fasta.gz
: Compressed assembled contigs in fasta format[sample/group].log
: Log fileQC/[sample/group]/
: Directory containing QUAST files and Bowtie2 mapping logsSPAdes-[sample].bowtie2.log
: Bowtie2 log file indicating how many reads have been mapped from the sample that the metagenome was assembled from, only present if--coassemble_group
is not set.SPAdes-[sample/group]-[sampleToMap].bowtie2.log
: Bowtie2 log file indicating how many reads have been mapped from the respective sample (“sampleToMap”).
SPAdesHybrid
SPAdesHybrid is a part of the SPAdes software and is used when the user provides both long and short reads.
Output files
Assembly/SPAdesHybrid/
[sample/group]_scaffolds.fasta.gz
: Compressed assembled scaffolds in fasta format[sample/group]_graph.gfa.gz
: Compressed assembly graph in gfa format[sample/group]_contigs.fasta.gz
: Compressed assembled contigs in fasta format[sample/group].log
: Log fileQC/[sample/group]/
: Directory containing QUAST files and Bowtie2 mapping logsSPAdesHybrid-[sample].bowtie2.log
: Bowtie2 log file indicating how many reads have been mapped from the sample that the metagenome was assembled from, only present if--coassemble_group
is not set.SPAdesHybrid-[sample/group]-[sampleToMap].bowtie2.log
: Bowtie2 log file indicating how many reads have been mapped from the respective sample (“sampleToMap”).
Metagenome QC with QUAST
QUAST is a tool that evaluates metagenome assemblies by computing various metrics. The QUAST output is also included in the MultiQC report, as well as in the assembly directories themselves.
Output files
Assembly/[assembler]/QC/[sample/group]/QUAST/
report.*
: QUAST report in various formats, such as html, pdf, tex, tsv, or txttransposed_report.*
: QUAST report that has been transposed into wide format (tex, tsv, or txt)quast.log
: QUAST log filemetaquast.log
: MetaQUAST log fileicarus.html
: Icarus main menu with links to interactive viewersicarus_viewers/contig_size_viewer.html
: Diagram of contigs that are ordered from longest to shortestbasic_stats/cumulative_plot.pdf
: Shows the growth of contig lengths (contigs are ordered from largest to shortest)basic_stats/GC_content_plot.pdf
: Shows the distribution of GC content in the contigsbasic_stats/[assembler]-[sample/group]_GC_content_plot.pdf
: Histogram of the GC percentage for the contigsbasic_stats/Nx_plot.pdf
: Plot of Nx values as x varies from 0 to 100%.predicted_genes/[assembler]-[sample/group].rna.gff
: Contig positions for rRNA genes in gff version 3 formatpredicted_genes/barrnap.log
: Barrnap log file (ribosomal RNA predictor)
Gene prediction
Protein-coding genes are predicted for each assembly.
Output files
Prodigal/
[sample/group].gff
: Gene Coordinates in GFF format[sample/group].faa
: The protein translation file consists of all the proteins from all the sequences in multiple FASTA format.[sample/group].fna
: Nucleotide sequences of the predicted proteins using the DNA alphabet, not mRNA (so you will see ‘T’ in the output and not ‘U’).[sample/group]_all.txt
: Information about start positions of genes.
Binning and binning refinement
Contig sequencing depth
Sequencing depth per contig and sample is generated by MetaBAT2’s jgi_summarize_bam_contig_depths --outputDepth
. The values correspond to (sum of exactly aligned bases) / ((contig length)-2*75)
. For example, for two reads aligned exactly with 10
and 9
bases on a 1000 bp long contig the depth is calculated by (10+9)/(1000-2*75)
(1000bp length of contig minus 75bp from each end, which is excluded).
These depth files are used for downstream binning steps.
Output files
GenomeBinning/depths/contigs/
[assembler]-[sample/group]-depth.txt.gz
: Sequencing depth for each contig and sample or group, only for short reads.
MetaBAT2
MetaBAT2 recovers genome bins (that is, contigs/scaffolds that all belongs to a same organism) from metagenome assemblies.
Output files
GenomeBinning/MetaBAT2/
bins/[assembler]-[binner]-[sample/group].*.fa.gz
: Genome bins retrieved from input assemblyunbinned/[assembler]-[binner]-[sample/group].unbinned.[1-9]*.fa.gz
: Contigs that were not binned with other contigs but considered interesting. By default, these are at least 1 Mbp (--min_length_unbinned_contigs
) in length and at most the 100 longest contigs (--max_unbinned_contigs
) are reported
All the files and contigs in these folders will be assessed by QUAST and BUSCO.
Output files
GenomeBinning/MetaBAT2/discarded/
*.lowDepth.fa.gz
: Low depth contigs that are filtered by MetaBAT2*.tooShort.fa.gz
: Too short contigs that are filtered by MetaBAT2
GenomeBinning/MetaBAT2/unbinned/discarded/
*.unbinned.pooled.fa.gz
: Pooled unbinned contigs equal or above--min_contig_size
, by default 1500 bp.*.unbinned.remaining.fa.gz
: Remaining unbinned contigs below--min_contig_size
, by default 1500 bp, but not in any other file.
All the files in this folder contain small and/or unbinned contigs that are not further processed.
Files in these two folders contain all contigs of an assembly.
MaxBin2
MaxBin2 recovers genome bins (that is, contigs/scaffolds that all belongs to a same organism) from metagenome assemblies.
Output files
GenomeBinning/MaxBin2/
bins/[assembler]-[binner]-[sample/group].*.fa.gz
: Genome bins retrieved from input assemblyunbinned/[assembler]-[binner]-[sample/group].noclass.[1-9]*.fa.gz
: Contigs that were not binned with other contigs but considered interesting. By default, these are at least 1 Mbp (--min_length_unbinned_contigs
) in length and at most the 100 longest contigs (--max_unbinned_contigs
) are reported.
All the files and contigs in these folders will be assessed by QUAST and BUSCO.
Output files
GenomeBinning/MaxBin2/discarded/
*.tooshort.gz
: Too short contigs that are filtered by MaxBin2
GenomeBinning/MaxBin2/unbinned/discarded/
*.noclass.pooled.fa.gz
: Pooled unbinned contigs equal or above--min_contig_size
, by default 1500 bp.*.noclass.remaining.fa.gz
: Remaining unbinned contigs below--min_contig_size
, by default 1500 bp, but not in any other file.
All the files in this folder contain small and/or unbinned contigs that are not further processed.
Files in these two folders contain all contigs of an assembly.
DAS Tool
DAS Tool is an automated binning refinement method that integrates the results of a flexible number of binning algorithms to calculate an optimized, non-redundant set of bins from a single assembly. nf-core/mag uses this tool to attempt to further improve bins based on combining the MetaBAT2 and MaxBin2 binning output, assuming sufficient quality is met for those bins.
DAS Tool will remove contigs from bins that do not pass additional filtering criteria, and will discard redundant lower-quality output from binners that represent the same estimated ‘organism’, until the single highest quality bin is represented.
Output files
GenomeBinning/DASTool/
[assembler]-[sample/group]_allBins.eval
: Tab-delimited description with quality and completeness metrics for the input bin sets. Quality and completeness are estimated by DAS TOOL using a scoring function based on the frequency of bacterial or archaeal reference single-copy genes (SCG). Please see note at the bottom of this section on file names.[assembler]-[sample/group]_DASTool_summary.tsv
: Tab-delimited description with quality and completeness metrics for the refined output bin sets.[assembler]-[sample/group]_DASTool_contig2bin.tsv
: File describing which contig is associated to which bin from the input binners.[assembler]-[sample/group]_DASTool.log
: Log file from the DAS Tool run describing the command executed and additional runtime information.[assembler]-[sample/group].seqlength
: Tab-delimited file describing the length of each contig.bins/[assembler]-[binner]Refined-[sample/group].*.fa
: Refined bins in fasta format.unbinned/[assembler]-DASToolUnbinned-[sample/group].*.fa
: Unbinned contigs from bin refinement in fasta format.
By default, only the raw bins (and unbinned contigs) from the actual binning methods, but not from the binning refinement with DAS Tool, will be used for downstream bin quality control, annotation and taxonomic classification. The parameter --postbinning_input
can be used to change this behaviour.
⚠️ Due to ability to perform downstream QC of both raw and refined bins in parallel (via --postbinning_input)
, bin names in DAS Tools’s *_allBins.eval
file will include Refined
. However for this particular file, they actually refer to the ‘raw’ input bins. The pipeline renames the input files prior to running DASTool to ensure they can be disambuguated from the original bin files in the downstream QC steps.
Bin sequencing depth
For each bin or refined bin the median sequencing depth is computed based on the corresponding contig depths.
Output files
GenomeBinning/depths/bins/
bin_depths_summary.tsv
: Summary of bin sequencing depths for all samples. Depths are available for samples mapped against the corresponding assembly, i.e. according to the mapping strategy specified with--binning_map_mode
. Only for short reads.bin_refined_depths_summary.tsv
: Summary of sequencing depths for refined bins for all samples, if refinement was performed. Depths are available for samples mapped against the corresponding assembly, i.e. according to the mapping strategy specified with--binning_map_mode
. Only for short reads.[assembler]-[binner]-[sample/group]-binDepths.heatmap.png
: Clustered heatmap showing bin abundances of the assembly across samples. Bin depths are transformed to centered log-ratios and bins as well as samples are clustered by Euclidean distance. Again, sample depths are available according to the mapping strategy specified with--binning_map_mode
.
QC for metagenome assembled genomes with QUAST
QUAST is a tool that evaluates genome assemblies by computing various metrics. The QUAST output is in the bin directories shown below. This QUAST output is not shown in the MultiQC report.
Output files
GenomeBinning/QC/QUAST/[assembler]-[bin]/
report.*
: QUAST report in various formats, such as html, pdf, tex, tsv, or txttransposed_report.*
: QUAST report that has been transposed into wide format (tex, tsv, or txt)quast.log
: QUAST log filemetaquast.log
: MetaQUAST log fileicarus.html
: Icarus main menu with links to interactive viewersicarus_viewers/contig_size_viewer.html
: Diagram of contigs that are ordered from longest to shortestbasic_stats/cumulative_plot.pdf
: Shows the growth of contig lengths (contigs are ordered from largest to shortest)basic_stats/GC_content_plot.pdf
: Shows the distribution of GC content in the contigsbasic_stats/[assembler]-[bin]_GC_content_plot.pdf
: Histogram of the GC percentage for the contigsbasic_stats/Nx_plot.pdf
: Plot of Nx values as x varies from 0 to 100%.predicted_genes/[assembler]-[bin].rna.gff
: Contig positions for rRNA genes in gff version 3 formatpredicted_genes/barrnap.log
: Barrnap log file (ribosomal RNA predictor)
GenomeBinning/QC/
quast_summary.tsv
: QUAST output for all bins summarized
QC for metagenome assembled genomes with BUSCO
BUSCO is a tool used to assess the completeness of a genome assembly. It is run on all the genome bins and high quality contigs obtained by the applied binning and/or binning refinement methods (depending on the --postbinning_input
parameter). By default, BUSCO is run in automated lineage selection mode in which it first tries to select the domain and then a more specific lineage based on phylogenetic placement. If available, result files for both the selected domain lineage and the selected more specific lineage are placed in the output directory. If a lineage dataset is specified already with --busco_reference
, only results for this specific lineage will be generated.
Output files
GenomeBinning/QC/BUSCO/
[assembler]-[bin]_busco.log
: Log file containing the standard output of BUSCO.[assembler]-[bin]_busco.err
: File containing potential error messages returned from BUSCO.short_summary.domain.[lineage].[assembler]-[bin].txt
: BUSCO summary of the results for the selected domain when run in automated lineage selection mode. Not available for bins for which a viral lineage was selected.short_summary.specific_lineage.[lineage].[assembler]-[bin].txt
: BUSCO summary of the results in case a more specific lineage than the domain could be selected or for the lineage provided via--busco_reference
.[assembler]-[bin]_buscos.[lineage].fna.gz
: Nucleotide sequence of all identified BUSCOs for used lineages (domain or specific).[assembler]-[bin]_buscos.[lineage].faa.gz
: Aminoacid sequence of all identified BUSCOs for used lineages (domain or specific).[assembler]-[bin]_prodigal.gff
: Genes predicted with Prodigal.
If the parameter --save_busco_reference
is set, additionally the used BUSCO lineage datasets are stored in the output directy.
Output files
GenomeBinning/QC/BUSCO/
busco_downloads/
: All files and lineage datasets downloaded by BUSCO when run in automated lineage selection mode. (Can currently not be used to reproduce analysis, see the nf-core/mag website documentation how to achieve reproducible BUSCO results).reference/*.tar.gz
: BUSCO reference lineage dataset that was provided via--busco_reference
.
Besides the reference files or output files created by BUSCO, the following summary files will be generated:
Output files
GenomeBinning/QC/
busco_summary.tsv
: A summary table of the BUSCO results, with % of marker genes found. If run in automated lineage selection mode, both the results for the selected domain and for the selected more specific lineage will be given, if available.
CAT
CAT is a toolkit for annotating contigs and bins from metagenome-assembled-genomes. The nf-core/mag pipeline uses CAT to assign taxonomy to genome bins based on the taxnomy of the contigs.
Output files
Taxonomy/CAT/[assembler]/[binner]/
[assembler]-[binner]-[sample/group].ORF2LCA.names.txt.gz
: Tab-delimited files containing the lineage of each contig, with full lineage names[assembler]-[binner]-[sample/group].bin2classification.names.txt.gz
: Taxonomy classification of the genome bins, with full lineage names
Taxonomy/CAT/[assembler]/[binner]/raw/
[assembler]-[binner]-[sample/group].concatenated.predicted_proteins.faa.gz
: Predicted protein sequences for each genome bin, in fasta format[assembler]-[binner]-[sample/group].concatenated.predicted_proteins.gff.gz
: Predicted protein features for each genome bin, in gff format[assembler]-[binner]-[sample/group].ORF2LCA.txt.gz
: Tab-delimited files containing the lineage of each contig[assembler]-[binner]-[sample/group].bin2classification.txt.gz
: Taxonomy classification of the genome bins[assembler]-[binner]-[sample/group].log
: Log files
If the parameters --cat_db_generate
and --save_cat_db
are set, additionally the generated CAT database is stored:
Output files
Taxonomy/CAT/CAT_prepare_*.tar.gz
: Generated and used CAT database.
GTDB-Tk
GTDB-Tk is a toolkit for assigning taxonomic classifications to bacterial and archaeal genomes based on the Genome Database Taxonomy GTDB. nf-core/mag uses GTDB-Tk to classify binned genomes which satisfy certain quality criteria (i.e. completeness and contamination assessed with the BUSCO analysis).
Output files
Taxonomy/GTDB-Tk/[assembler]/[binner]/[sample/group]/
gtdbtk.[assembler]-[binner]-[sample/group].{bac120/ar122}.summary.tsv
: Classifications for bacterial and archaeal genomes (see the GTDB-Tk documentation for details.gtdbtk.[assembler]-[binner]-[sample/group].{bac120/ar122}.classify.tree.gz
: Reference tree in Newick format containing query genomes placed with pplacer.gtdbtk.[assembler]-[binner]-[sample/group].{bac120/ar122}.markers_summary.tsv
: A summary of unique, duplicated, and missing markers within the 120 bacterial marker set, or the 122 archaeal marker set for each submitted genome.gtdbtk.[assembler]-[binner]-[sample/group].{bac120/ar122}.msa.fasta.gz
: FASTA file containing MSA of submitted and reference genomes.gtdbtk.[assembler]-[binner]-[sample/group].{bac120/ar122}.filtered.tsv
: A list of genomes with an insufficient number of amino acids in MSA.gtdbtk.[assembler]-[binner]-[sample/group].*.log
: Log files.gtdbtk.[assembler]-[binner]-[sample/group].failed_genomes.tsv
: A list of genomes for which the GTDB-Tk analysis failed, e.g. because Prodigal could not detect any genes.
Taxonomy/GTDB-Tk/gtdbtk_summary.tsv
: A summary table of the GTDB-Tk classification results for all bins, also containing bins which were discarded based on the BUSCO QC, which were filtered out by GTDB-Tk ((listed in*.filtered.tsv
) or for which the analysis failed (listed in*.failed_genomes.tsv
).
Genome annotation of binned genomes
Prokka
Whole genome annotation is the process of identifying features of interest in a set of genomic DNA sequences, and labelling them with useful information. Prokka is a software tool to annotate bacterial, archaeal and viral genomes quickly and produce standards-compliant output files.
Output files
Prokka/[assembler]/[bin]/
[bin].gff
: annotation in GFF3 format, containing both sequences and annotations[bin].gbk
: annotation in GenBank format, containing both sequences and annotations[bin].fna
: nucleotide FASTA file of the input contig sequences[bin].faa
: protein FASTA file of the translated CDS sequences[bin].ffn
: nucleotide FASTA file of all the prediction transcripts (CDS, rRNA, tRNA, tmRNA, misc_RNA)[bin].sqn
: an ASN1 format “Sequin” file for submission to Genbank[bin].fsa
: nucleotide FASTA file of the input contig sequences, used by “tbl2asn” to create the .sqn file[bin].tbl
: feature Table file, used by “tbl2asn” to create the .sqn file[bin].err
: unacceptable annotations - the NCBI discrepancy report.[bin].log
: contains all the output that Prokka produced during its run[bin].txt
: statistics relating to the annotated features found[bin].tsv
: tab-separated file of all features (locus_tag, ftype, len_bp, gene, EC_number, COG, product)
Additional summary for binned genomes
Output files
GenomeBinning/bin_summary.tsv
: Summary of bin sequencing depths together with BUSCO, QUAST and GTDB-Tk results, if at least one of the later was generated. This will also include refined bins if--refine_bins_dastool
binning refinement is performed.
Ancient DNA
Optional, only running when parameter -profile ancient_dna
is specified.
PyDamage
Pydamage, is a tool to automate the process of ancient DNA damage identification and estimation from contigs. After modelling the ancient DNA damage using the C to T transitions, Pydamage uses a likelihood ratio test to discriminate between truly ancient, and modern contigs originating from sample contamination.
Output files
Ancient_DNA/pydamage/analyze
[sample/group]/pydamage_results/pydamage_results.csv
: PyDamage raw result tabular file in.csv
format. Format described here: pydamage.readthedocs.io/en/0.62/output.html
Ancient_DNA/pydamage/filter
[sample/group]/pydamage_results/pydamage_results.csv
: PyDamage filtered result tabular file in.csv
format. Format described here: pydamage.readthedocs.io/en/0.62/output.html
variant_calling
Because of aDNA damage, de novo assemblers sometimes struggle to call a correct consensus on the contig sequence. To avoid this situation, the consensus is re-called with a variant calling software using the reads aligned back to the contigs
Output files
variant_calling/consensus
[sample/group].fa
: contigs sequence with re-called consensus from read-to-contig alignment
variant_calling/unfiltered
[sample/group].vcf.gz
: raw variant calls of the reads aligned back to the contigs.
variant_calling/filtered
[sample/group].filtered.vcf.gz
: quality filtered variant calls of the reads aligned back to the contigs.
MultiQC
Output files
multiqc/
multiqc_report.html
: a standalone HTML file that can be viewed in your web browser.multiqc_data/
: directory containing parsed statistics from the different tools used in the pipeline.multiqc_plots/
: directory containing static images from the report in various formats.
MultiQC is a visualization 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 the report data directory.
Results generated by MultiQC collate pipeline QC from supported tools e.g. FastQC. 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
andpipeline_dag.dot
/pipeline_dag.svg
. - Reports generated by the pipeline:
pipeline_report.html
,pipeline_report.txt
andsoftware_versions.yml
. Thepipeline_report*
files will only be present if the--email
/--email_on_fail
parameter’s are used when running the pipeline.
- 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.