Define where the pipeline should find input data and save output data.

Path to comma-separated file containing information about the samples in the experiment.

type: string
pattern: ^\S+\.csv$

You will need to create a design file with information about the samples in your experiment before running the pipeline. Use this parameter to specify its location. It has to be a comma-separated file with 3 columns, and a header row. See usage docs.

The output directory where the results will be saved. You have to use absolute paths to storage on Cloud infrastructure.

type: string

Sample metadata that is included in the multiqc report

type: string
pattern: ^\S+\.[tc]sv$

Email address for completion summary.

type: string
pattern: ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$

Set this parameter to your e-mail address to get a summary e-mail with details of the run sent to you when the workflow exits. If set in your user config file (~/.nextflow/config) then you don't need to specify this on the command line for every run.

Options related to the trimming, low complexity and host removal steps of the reads

Skip read preprocessing and use input reads for downstream analysis

type: boolean

Skip read quality statistics summary tool 'fastqc'

type: boolean

Save reads after the final preprocessing step

type: boolean
default: true

Save reads after every preprocessing step

type: boolean

With or without umi detection

type: boolean

With or without umi extraction

type: boolean
default: true

Specify at what level UMI deduplication should occur.

type: string

Specify the maximum number of mismatches between reads for them to still be considered neighbors.

type: integer
default: 1

Specify the strategy for umi-deduplication directional vs cluster

type: string

Specify the strategy or method for umi-tools deduplication on mapping level

type: string

Discard R1 / R2 if required 0, meaning not to discard

type: integer

The used trimming tool

type: string

Skip read trimming

type: boolean

Use Fastp's deduplicate option

type: boolean

Define the accuracy used for hashes while deduplicating with faspt

type: number

Fasta file of adapters

type: string

Specify true to save files that failed to pass trimming thresholds ending in *.fail.fastq.gz

type: boolean

Specify true to save all merged reads to the a file ending in *.merged.fastq.gz

type: boolean

Inputs with fewer than this reads will be filtered out of the "reads" output channel

type: integer
default: 1

Skip filtering of low complexity regions in reads

type: boolean
default: true

Low-complexity sequences are defined as having commonly found stretches of nucleotides with limited information content (e.g. the dinucleotide repeat CACACACACA). Such sequences can produce a large number of high-scoring but biologically insignificant results in database searches

Reference files containing adapter and/or contaminant sequences for sequence kmer matching (used by bbduk)

type: string

Skip the removal of host read sequences

type: boolean

Kraken2 database used to remove host and conamination

type: string
default: s3://ngi-igenomes/test-data/viralrecon/kraken2_human.tar.gz

Kraken2 library(s) required to remove host and contamination

type: string
default: human

Only used when no host kraken2 database is specified.

Skip the fastqc step after host & contaminants were removed

type: boolean

Parameters used to determine the metagenomic diversity of the sample

Skip determining the metagenomic diversity of the sample

type: boolean

Specify the taxonomic read classifiers, choices are 'kaiju,kraken2'

type: string
default: kraken2,kaiju
pattern: ^(kaiju|kraken2|bracken)(?:,(kaiju|kraken2|bracken)){0,2}$

Save the used databases

type: boolean

Location of the Kraken2 database

type: string
default: https://genome-idx.s3.amazonaws.com/kraken/k2_viral_20230314.tar.gz

Save classified and unclassified reads as fastq files

type: boolean

Save summary overview of read classifications in a txt file

type: boolean

Save kraken2's used minimizers

type: boolean

Location of bracken database

type: string
default: https://genome-idx.s3.amazonaws.com/kraken/k2_viral_20230314.tar.gz

Location of Kaiju database

type: string
default: https://kaiju-idx.s3.eu-central-1.amazonaws.com/2023/kaiju_db_rvdb_2023-05-26.tgz

Level of taxa rank that needs to be determined

type: string

Parameters relating to the used assembly methods

Skip de novo assembly of reads

type: boolean

The specified tools for denovo assembly, multiple options are possible

type: string
default: spades,trinity,megahit
pattern: ^(trinity|spades|megahit)(?:,(trinity|spades|megahit)){0,2}$

specific SPAdes mode to run

type: string

File or directory with amino acid HMMs for Spades HMM-guided mode.

type: string

Path to yml file containing read information.

hidden
type: string

The raw FASTQ files listed in this YAML file MUST be supplied to the respective illumina/pacbio/nanopore input channel(s) in addition to this YML. File entries in this yml must contain only the file name and no paths.

Regex pattern to identify contigs that have been made by the assemblers

type: string

Parameters relating to the refinement of denovo contigs

Skip the refinement/polishing of contigs through reference based scaffolding and read mapping

type: boolean

Save intermediate polishing files

type: boolean

There are multiple processes within the polishing subworkflow that might not contain relevant information

Set of fasta sequences used as potential references for the contigs

type: string
default: https://rvdb.dbi.udel.edu/download/C-RVDBvCurrent.fasta.gz

Skip the preclustering of assemblies to facilitate downstream processing of assemblies

type: boolean

Keep the contigs that could not be classified with the taxonomic databases (kaiju_db & kraken2_db)

type: boolean
default: true

Within the preclustering step, all contigs will get a taxonomic classification using the provided databases for the metagenomic tools. In some cases, the number of unclassified contigs, can be very large if the database is restrictive. This will result in large clusters in downstream processing that can take up a lot of resources despite not being a priority in some analyses. So set it to True if you want to keep unclassified contigs and set it to False if you don't want to keep them.

Specify the metagenomic classifiers to use for contig taxonomy classification: 'kraken2,kaiju'

type: string
default: kraken2,kaiju
pattern: ^(kaiju|kraken2)(,(kaiju|kraken2))?$

Taxon conflict resolution mode, must be 1 (Kaiju), 2 (Kraken), lca, or lowest.

type: string

The option -c determines the method of resolving conflicts in the taxonomic assignment for a read. Possible values are '1', '2', 'lca', 'lowest': '1' -> the taxon id from Kaiju is used. '2' -> the taxon id from Kraken is used. 'lca' -> the least common ancestor of the two taxon ids from both input files is used. 'lowest' -> the lower rank of the two taxa is used if they are within the same lineage. Otherwise the LCA is used.

Level of taxonomic simplification

type: string

The taxonomic classification of the contigs can be simplified to a certain level. This can be done by specifying the taxonomic rank to which the classification should be simplified.

Hard constrain for taxa to exclude from the preclustering, if multiple given make sure to enclose with '"' and separate with a space.

type: string
pattern: ^[\d +]+$

The taxonomic classification of the contigs can be filtered. This can be done by specifying a list of taxa that should be excluded from the results.

Taxon ids to exclude along with all their children from the preclustering, if multiple given make sure to enclose with '"' and separate with a space.

type: string
pattern: ^[\d +]+$

The taxonomic classification of the contigs can be filtered. This can be done by specifying a list of taxa that should be excluded along with all their children from the results.

Taxon ids to exclude along with all their parents from the preclustering, if multiple given make sure to enclose with '"' and separate with a space.

type: string
pattern: ^[\d +]+$

The taxonomic classification of the contigs can be filtered. This can be done by specifying a list of taxa that should be excluded along with all their parents from the results.

Taxon ids to include along with all their children from the preclustering, if multiple given make sure to enclose with '"' and separate with a space.

type: string
pattern: ^[\d +]+$

The taxonomic classification of the contigs can be filtered. This can be done by specifying a list of taxa that should be included along with all their children from the results.

Taxon ids to include along with all their parents from the preclustering, if multiple given make sure to enclose with '"' and separate with a space.

type: string
pattern: ^[\d +]+$

The taxonomic classification of the contigs can be filtered. This can be done by specifying a list of taxa that should be included along with all their parents from the results.

Cluster algorithm used for contigs

type: string

(only with mash) Algorithm to partition the network.

type: string

Mash creates a distance matrix that gets translated into a network of connectected nodes where the edges represent the similarity. This network is then split up using the specified method.

  • leiden algorithm: a hierarchical clustering algorithm, that recursively merges communities into single nodes by greedily optimizing the modularity
  • [connected_components] algorithm: a clustering algorithm that defines the largest possible communities where each node within a subset is reachable from every other node in the same subset via any edge .

Skip creation of the hybrid consensus, instead keep the scaffold with ambiguous bases if the depth of scaffolds is not high enough.

type: boolean

Identity threshold value used in clustering algorithms

type: number
default: 0.6

Minimum allowed contig size

type: integer
default: 500

Setting this to a low value will result in a large number of questionable contigs and an increase in computation time

Maximum allowed contig size

type: integer
default: 10000000

Define the maximum percentage of ambiguous bases in a contig

type: integer
default: 50

Skip the filtering of contigs that did not cluster together with other contigs

type: boolean

Setting this to true will cause the pipeline not to remove contigs that don't have similar contigs. Filtering settings can be further specified with min_contig_size and max_n_100kbp.

Define parameters for iterations to update denovo consensus using reference based improvements

Don't realign reads to consensus sequences and redefine the consensus through (multiple) iterations

type: boolean

number of iterations

type: integer
default: 2

mapping tool used during iterations

type: string

variant caller used during iterations

type: string

call variants during the iterations

type: boolean

Will always be done when iterative consensus caller is bcftools

consensus tool used for calling new consensus during iterations

type: string
default: bcftools

calculate summary statistics during iterations

type: boolean
default: true

Parameters relating to the analysis of variants associated to contigs and scaffolds

Skip the analysis of variants for the external reference or contigs

type: boolean

Define which mapping tool needs to be used when mapping reads to reference

type: string

Sequence to use as a mapping reference instead of the de novo contigs or scaffolds

type: string

deduplicate the reads

type: boolean
default: true

If used with umi's, umi tools will be used to group and call consensus of each indiual read group. If not used with umi's use PicardsMarkDuplicates.

Define the variant caller to use: 'ivar' or 'bcftools'

type: string

consensus tool used for calling new consensus in final iteration

type: string

UMI seperator in fastq header.

type: string
default: :

If you have used an alternative method which does not separate the read id and UMI with a “_”, such as bcl2fastq which uses “:”, you can specify the separator with the option --umi_separator=<sep>, replacing <sep> with e.g “:”.

Specify the sketch size, the number of (non-redundant) min-hashes that are kept.

type: integer
default: 4000

Larger sketches will better represent the sequence, but at the cost of larger sketch files and longer comparison times.

Specify the kmer size for mash to create their hashes

type: integer
default: 15

larger k-mers will provide more specificity, while smaller k-mers will provide more sensitivity. Larger genomes will also require larger k-mers to avoid k-mers that are shared by chance

Define the minimum number of mapped reads in order to continue the variant and consensus calling

type: integer
default: 200

calculate summary statistics in final iteration

type: boolean
default: true

Directory containing the mutliqc headers for multiple tables like 'clusters_summary_mqc.txt', 'blast_mqc.txt', ...

hidden
type: string
default: ${projectDir}/assets/mqc_comment
hidden
type: string

Apply different quality control techniques on the generated consensus genomes

Skip the quality measurements on consensus genomes

type: boolean

Skip the use of checkv for quality check

type: boolean

Reference database used by checkv for consensus quality control

type: string

If not given, the most recent one is downloaded.

Skip the annotation of the consensus constructs

type: boolean

Database used for annotation of the cosensus constructs

type: string
default: https://viralzone.expasy.org/resources/Virosaurus/2020%5F4/virosaurus90%5Fvertebrate-20200330.fas.gz

The metada fields are stored in the fasta comment as key1:"value1"|key2:"value2"|... see docs/databases.md for more information.

Skip the use of QUAST for quality check

type: boolean

Skip the blast search of contigs to the provided reference DB

type: boolean

Skip creating an alignment of each the collapsed clusters and each iterative step

type: boolean

Specify the search algorithm to use for mmseqs. 0: auto 1: amino acid, 2: translated, 3: nucleotide, 4: translated nucleotide alignment

type: integer
default: 4

Only search-type 3 supports both forward and reverse search 1 - BLASTP; 2 - TBLASTN; 3 - BLASTN; 4 - TBLASTX

Parameters used to describe centralised config profiles. These should not be edited.

Git commit id for Institutional configs.

hidden
type: string
default: master

Base directory for Institutional configs.

hidden
type: string
default: https://raw.githubusercontent.com/nf-core/configs/master

If you're running offline, Nextflow will not be able to fetch the institutional config files from the internet. If you don't need them, then this is not a problem. If you do need them, you should download the files from the repo and tell Nextflow where to find them with this parameter.

Institutional config name.

hidden
type: string

Institutional config description.

hidden
type: string

Institutional config contact information.

hidden
type: string

Institutional config URL link.

hidden
type: string

Set the top limit for requested resources for any single job.

Maximum number of CPUs that can be requested for any single job.

hidden
type: integer
default: 16

Use to set an upper-limit for the CPU requirement for each process. Should be an integer e.g. --max_cpus 1

Maximum amount of memory that can be requested for any single job.

hidden
type: string
default: 128.GB
pattern: ^\d+(\.\d+)?\.?\s*(K|M|G|T)?B$

Use to set an upper-limit for the memory requirement for each process. Should be a string in the format integer-unit e.g. --max_memory '8.GB'

Maximum amount of time that can be requested for any single job.

hidden
type: string
default: 240.h
pattern: ^(\d+\.?\s*(s|m|h|d|day)\s*)+$

Use to set an upper-limit for the time requirement for each process. Should be a string in the format integer-unit e.g. --max_time '2.h'

Less common options for the pipeline, typically set in a config file.

Display help text.

hidden
type: boolean

Display version and exit.

hidden
type: boolean

Method used to save pipeline results to output directory.

hidden
type: string

The Nextflow publishDir option specifies which intermediate files should be saved to the output directory. This option tells the pipeline what method should be used to move these files. See Nextflow docs for details.

Email address for completion summary, only when pipeline fails.

hidden
type: string
pattern: ^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$

An email address to send a summary email to when the pipeline is completed - ONLY sent if the pipeline does not exit successfully.

Send plain-text email instead of HTML.

hidden
type: boolean

File size limit when attaching MultiQC reports to summary emails.

hidden
type: string
default: 25.MB
pattern: ^\d+(\.\d+)?\.?\s*(K|M|G|T)?B$

Do not use coloured log outputs.

hidden
type: boolean

Incoming hook URL for messaging service

hidden
type: string

Incoming hook URL for messaging service. Currently, MS Teams and Slack are supported.

MultiQC report title. Printed as page header, used for filename if not otherwise specified.

hidden
type: string

Custom config file to supply to MultiQC.

hidden
type: string

Custom logo file to supply to MultiQC. File name must also be set in the MultiQC config file

hidden
type: string

Custom MultiQC yaml file containing HTML including a methods description.

type: string

Delete the output directory if the pipeline fails

hidden
type: boolean

Custom yaml file contian g the table column names selection and new names.

hidden
type: string
default: ${projectDir}/assets/custom_table_headers.yml

Boolean whether to validate parameters against the schema at runtime

hidden
type: boolean
default: true

Show all params when using --help

hidden
type: boolean

By default, parameters set as hidden in the schema are not shown on the command line when a user runs with --help. Specifying this option will tell the pipeline to show all parameters.

Validation of parameters fails when an unrecognised parameter is found.

hidden
type: boolean

By default, when an unrecognised parameter is found, it returns a warinig.

type: string
default: global_prefix

Validation of parameters in lenient more.

hidden
type: boolean

Allows string values that are parseable as numbers or booleans. For further information see JSONSchema docs.

Prefix of all output files followed by [date][pipelineversion][runName]

type: string

Use '--global_prefix' to not have metadata embedded.

Global prefix set if you don't want metadata embedded in the prefix

type: string