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

The input design file for the pipeline.

required
type: string

Use this to specify the location of your input design file. For example:

--input 'design_hybrid.tsv'  

An example of properly formatted input files can be found at the nf-core/testData. Exemplarily, this is the input used for a hybrid assembly in testing:

ID R1 R2 LongFastQ Fast5 GenomeSize  
ERR044595 https://github.com/nf-core/test-datasets/raw/bacass/ERR044595_1M_1.fastq.gz https://github.com/nf-core/test-datasets/raw/bacass/ERR044595_1M_2.fastq.gz https://github.com/nf-core/test-datasets/raw/bacass/nanopore/subset15000.fq.gz NA 2.8m  
  • ID The identifier to use for handling the dataset e.g. sample name
  • R1 The forward reads in case of available short-read data
  • R2 The reverse reads in case of available short-read data
  • LongFastQ The long*read FastQ file with reads in FASTQ format
  • Fast5 The folder containing the basecalled FAST5 files
  • GenomeSize The expected genome size of the assembly. Only used by the canu assembler.

Missing values (e.g. FAST5 folder in case of short reads) can be omitted by using a NA in the TSV file. The pipeline will handle such cases appropriately then.

The output directory where the results will be saved.

type: string
default: ./results

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.

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

Display help text.

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.

Workflow name.

hidden
type: string

A custom name for the pipeline run. Unlike the core nextflow -name option with one hyphen this parameter can be reused multiple times, for example if using -resume. Passed through to steps such as MultiQC and used for things like report filenames and titles.

Send plain-text email instead of HTML.

hidden
type: boolean

Set to receive plain-text e-mails instead of HTML formatted.

File size limit when attaching MultiQC reports to summary emails.

hidden
type: string
default: 25.MB

If file generated by pipeline exceeds the threshold, it will not be attached.

Do not use coloured log outputs.

hidden
type: boolean

Set to disable colourful command line output and live life in monochrome.

Custom config file to supply to MultiQC.

hidden
type: string

Directory to keep pipeline Nextflow logs and reports.

hidden
type: string
default: ${params.outdir}/pipeline_info
type: string
default: s3://ngi-igenomes/igenomes/
type: string
default: true

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

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

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'

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

Git commit id for Institutional configs.

hidden
type: string
default: master

Provide git commit id for custom Institutional configs hosted at nf-core/configs. This was implemented for reproducibility purposes. Default: master.

## Download and use config file with following git commit id  
--custom_config_version d52db660777c4bf36546ddb188ec530c3ada1b96  

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 the custom_config_base option. For example:

## Download and unzip the config files  
cd /path/to/my/configs  
wget https://github.com/nf-core/configs/archive/master.zip  
unzip master.zip  
  
## Run the pipeline  
cd /path/to/my/data  
nextflow run /path/to/pipeline/ --custom_config_base /path/to/my/configs/configs-master/  

Note that the nf-core/tools helper package has a download command to download all required pipeline files + singularity containers + institutional configs in one go for you, to make this process easier.

Institutional configs hostname.

hidden
type: string

Institutional config description.

hidden
type: string

Institutional config contact information.

hidden
type: string

Institutional config URL link.

hidden
type: string

Path to Kraken2 database.

type: string

See Kraken2 homepage for download
links. Minikraken2 8GB is a reasonable choice, since we run Kraken here mainly just to check for
sample purity.

Parameters for the assembly

The assembler to use for assembly. Available options are Unicycler, Canu, Miniasm. The latter two are only available for long-read data, whereas Unicycler can be used for short or hybrid assembly projects.

type: string
default: unicycler

Which type of assembly to perform.

type: string
default: short

This adjusts the type of assembly done with the input data and can be any of long, short or hybrid. Short & Hybrid assembly will always run Unicycler, whereas long-read assembly can be configured separately using the --assembler parameter.

Extra arguments for Unicycler

type: string

This advanced option allows you to pass extra arguments to Unicycler (e.g. "--mode conservative" or "--no_correct"). For this to work you need to quote the arguments and add at least one space.

This can be used to supply extra options to the Canu assembler. Will be ignored when other assemblers are used.

type: string

The annotation method to annotate the final assembly. Default choice is prokka, but the dfast tool is also available. For the latter, make sure to create your specific config if you're not happy with the default one provided. See #dfast_config to find out how.

type: string
default: prokka

Extra arguments for prokka annotation tool.

type: string

This advanced option allows you to pass extra arguments to Prokka (e.g. " --rfam" or " --genus name"). For this to work you need to quote the arguments and add at least one space between the arguments. Example:

--prokka_args `--rfam --genus Escherichia Coli`  

Specifies a configuration file for the DFAST annotation method. This can be used instead of PROKKA if required to specify a specific config file for annotation. If you want to know how to create your config file, please refer to the DFAST readme on how to create one. > The default config is just included for testing, so if you want to annotate using DFAST, you have to create a config!

type: string
default: /Users/alexanderpeltzer/IDEA/nf-core/bacass/assets/test_config_dfast.py

Which assembly polishing method to use.

type: string
default: medaka

Can be used to define which polishing method is used by default for long reads. Default is medaka, available options are nanopolish or medaka.

Skip running Kraken2 classifier on reads.

type: string

Skip annotating the assembly with Prokka /DFAST.

type: string

Skip running PycoQC on long read input.

type: string

Skip polishing the long-read assembly with FAST5 input. Will not affect short/hybrid assemblies.

type: string