Parameters

Input/output options

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

--input

type: 'string'

Path to YAML file describing the input data.

required

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.

pattern: ^\S+\.(yaml|yml)$

--outdir

type: 'string'

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

required

--email

type: 'string'

Email address for completion summary.

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.

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

Assembly options

Options relating to metagenomic de-novo assembly.

--enable_assembly

type: 'boolean'

Enable de-novo assembly of HiFi reads.

default: 1

--enable_metamdbg

type: 'boolean'

Enable assembly with metaMDBG.

default: 1

Assembly QC options

--enable_rrna_prediction

type: 'boolean'

Predict ribosomal RNA (rRNA) genes in assemblies using Infernal and the included Rfam covariance models.

default: 1

--rfam_rrna_cm

type: 'string'

Covariance model for rRNA preditiction from RFAM.

default: '${projectDir}/assets/rRNA.cm'

--enable_genomad

type: 'boolean'

Enable Genomad for classification of circular contigs for determination of plasmid status.

default: 1

--genomad_db

type: 'string'

Path to a directory containing a Genomad database. If not provided, the database will be downloaded automatically.

--genomad_splits

type: 'integer'

The number of chunks to split the Genomad database into when running searches. Increasing this value decreases memory usage at the expense of runtime.

default: 1

Read mapping options

--hic_mapping_cram_bin_size

type: 'integer'

When mapping Hi-C, map each CRAM file in slices of this size.

default: 10000

--hic_mapping_minq

type: 'integer'

Minimum map quality for a Hi-C read to be passed on for binning by Bin3C or Metator.

default: 60

--hic_mapping_merge_mode

type: 'string'

Which method to use to merge the chunked Hi-C bam files back together. One of "merge" (samtools merge) or "cat" (samtools cat).

"merge" is safer and uses samtools merge, which will ensure that the name sorting is retained among all reads in the final output bam. However, in cases where there is a lot of Hi-C data, the merge operation can be very slow. In this case, "cat" is presented as an alternative, using heuristics to concatenate the bam files together using samtools cat. This requires that the initial input CRAM files are sorted by read name so that the chunks represent sets of consecutively named reads, and may fall down when there are multiple Hi-C CRAM libraries, especially if there are multiple read groups in a single library.

Binning options

Options relating to binning of de-novo metagenome assemblies.

--enable_binning

type: 'boolean'

Enable binning of metagenomes into genome bins.

default: 1

--enable_metabat2

type: 'boolean'

Enable binning with Metabat2.

default: 1

--enable_maxbin2

type: 'boolean'

Enable binning with MaxBin2.

default: 1

--enable_bin3c

type: 'boolean'

Enable binning with Bin3C.

default: 1

--enable_metator

type: 'boolean'

Enable binning with MetaTor.

default: 1

--minimum_contig_size

type: 'integer'

The minimum size of contig to be considered when binning. This option applies to MetaBat2, MaxBin2, and Bin3C, but not Metator.

default: 3000

--minimum_hifi_perc_identity

type: 'integer'

The minimum required percent identity of a read mapping to the assembly to be counted during coverage estimation for MetaBat2 and MaxBin2.

default: 97

--minimum_bin_size

type: 'integer'

The minimum size of a bin, in basepairs, to be emitted. This parameter is currently respected by MetaBat2 and Bin3C, but not Metator or MaxBin2.

default: 150000

Bin refinement options

Options relating to the refinement of genome bins.

--enable_bin_refinement

type: 'boolean'

Enable refinement of genome bins.

default: 1

--enable_dastool

type: 'boolean'

Enable bin refinement using DAS_Tool.

default: 1

--enable_magscot

type: 'boolean'

Enable bin refinement using MagScoT.

default: 1

--hmm_gtdb_pfam

type: 'string'

Path to the GTDB r207 Pfam HMM database.

default: '${projectDir}/assets/gtdbtk_rel207_Pfam-A.hmm'

--hmm_gtdb_tigrfam

type: 'string'

Path to the GTDB r207 TigrFam HMM database.

default: '${projectDir}/assets/gtdbtk_rel207_tigrfam.hmm'

Bin QC options

Options relating to the quality checking of genome bins.

--enable_binqc

type: 'boolean'

Enable quality checks of genome bins.

default: 1

--enable_checkm2

type: 'boolean'

Enable QC using CheckM2.

default: 1

--checkm2_db

type: 'string'

Path to a local diamond database file for CheckM2. If not provided, the CheckM2 database will automatically be downloaded.

--enable_trnascan_se

type: 'boolean'

Predict tRNAs in genome bins using tRNAscan-SE.

default: 1

Bin taxonomy options

Options relating to the taxonomic classification of genome bins.

--enable_taxonomy

type: 'boolean'

Enable taxonomic classification of genome bins.

default: 1

--enable_gtdbtk

type: 'boolean'

Enable taxonomic classification with GTDB-Tk.

default: 1

--gtdbtk_db

type: 'string'

Path to a directory containing the GTDB-Tk database.

--gtdb_bac120_metadata

type: 'string'

Path to the GTDB-Tk bac120 metadata file.

default: 'https://data.ace.uq.edu.au/public/gtdb/data/releases/release220/220.0/bac120_metadata_r220.tsv.gz'

--gtdb_ar53_metadata

type: 'string'

Path to the GTDB-Tk ar53 metadata file.

default: 'https://data.ace.uq.edu.au/public/gtdb/data/releases/release220/220.0/ar53_metadata_r220.tsv.gz'

--gtdbtk_mash_db

type: 'string'

Path to a mash database built using the GTDB genomes.

--gtdbtk_min_completeness

type: 'integer'

Minimum CheckM2 completeness required for a bin to be classified by GTDB-Tk.

default: 50

--gtdbtk_max_contamination

type: 'integer'

Maximum contamination allowed CheckM2 completeness for a bin to be classified by GTDB-Tk.

default: 10

--ncbi_taxonomy_dir

type: 'string'

Path to directory containing the names.dmp, nodes.dmp, delnodes.dmp, and merged.dmp files from the NCBI taxdump archive (ftp://ftp.ncbi.nih.gov/pub/taxonomy/taxdump.tar.gz)

Summary options

General options relating to pipeline operation.

--enable_summary

type: 'boolean'

Produce a final summary file about each genome bin.

default: 1

--completeness_score

type: 'integer'

Multiplier for completeness when scoring bins for the bin summary. Used in formula (compleneness_score completeness - contamination_score contamination).

default: 1

--contamination_score

type: 'number'

Multiplier for contamination when scoring bins for the bin summary. Used in formula (compleneness_score completeness - contamination_score contamination).

default: 0.5

Institutional config options

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

hidden

The centralised nf-core configuration profiles use a handful of pipeline parameters to describe themselves. This information is then printed to the Nextflow log when you run a pipeline. You should not need to change these values when you run a pipeline.

--custom_config_version

type: 'string'

Git commit id for Institutional configs.

default: 'master'
hidden

--custom_config_base

type: 'string'

Base directory for Institutional configs.

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

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.

--config_profile_name

type: 'string'

Institutional config name.

hidden

--config_profile_description

type: 'string'

Institutional config description.

hidden

--config_profile_contact

type: 'string'

Institutional config contact information.

hidden

--config_profile_url

type: 'string'

Institutional config URL link.

hidden

Generic options

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

hidden

These options are common to all nf-core pipelines and allow you to customise some of the core preferences for how the pipeline runs.

Typically these options would be set in a Nextflow config file loaded for all pipeline runs, such as ~/.nextflow/config.

--version

type: 'boolean'

Display version and exit.

hidden

--publish_dir_mode

type: 'string'

Method used to save pipeline results to output directory.

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_on_fail

type: 'string'

Email address for completion summary, only when pipeline fails.

hidden

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

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

--plaintext_email

type: 'boolean'

Send plain-text email instead of HTML.

hidden

--monochrome_logs

type: 'boolean'

Do not use coloured log outputs.

hidden

--hook_url

type: 'string'

Incoming hook URL for messaging service

hidden

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

--validate_params

type: 'boolean'

Boolean whether to validate parameters against the schema at runtime

default: 1
hidden

--pipelines_testdata_base_path

type: 'string'

Base URL or local path to location of pipeline test dataset files

default: 'https://raw.githubusercontent.com/nf-core/test-datasets/'
hidden

--mgasm_pipelines_testdata_base_path

type: 'string'

Base URL or local path to location of pipeline test dataset files

default: 'https://tolit.cog.sanger.ac.uk/test-data/'
hidden

--trace_report_suffix

type: 'string'

Suffix to add to the trace report filename. Default is the date and time in the format yyyy-MM-dd_HH-mm-ss.

hidden

The following uncommon parameters have been hidden: --custom_config_version, --custom_config_base, --config_profile_name, --config_profile_description, --config_profile_contact, --config_profile_url, --version, --publish_dir_mode, --email_on_fail, --plaintext_email, --monochrome_logs, --hook_url, --validate_params, --pipelines_testdata_base_path, --mgasm_pipelines_testdata_base_path, --trace_report_suffix

to show all hidden params.