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

Input FastQ files.

required
type: string
default: data/*R1.fastq.gz

Use this to specify the location of your input FastQ files. For example:

--input 'path/to/data/sample_*_{1,2}.fastq'  

Please note the following requirements:

  1. The path must be enclosed in quotes
  2. The path must have at least one * wildcard character
  3. When using the pipeline with paired end data, the path must use {1,2} notation to specify read pairs.

If left unspecified, a default pattern is used: data/*{1,2}.fastq.gz

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.

Specifies if TSS-bigwigs should be generated, additionally to the TSS-bed files

type: boolean

Adjust parameters and filtering criteria for read alignments.

Alignment tool to be used

type: string

Minimum number of aligned basepairs of a read to be kept

type: integer
default: 15

Options for the reference genome indices used to align reads.

Name of iGenomes reference.

type: string

If using a reference genome configured in the pipeline using iGenomes, use this parameter to give the ID for the reference. This is then used to build the full paths for all required reference genome files e.g. --genome GRCh38.

See the nf-core website docs for more details.

Path to FASTA genome file.

type: string

This parameter is mandatory if --genome is not specified. If you don't have a bowtie1 or STAR index available, they will be generated for you. Combine with --save_reference to save indices for future runs.

Directory / URL base for iGenomes references.

hidden
type: string
default: s3://ngi-igenomes/igenomes/

Do not load the iGenomes reference config.

hidden
type: boolean

Do not load igenomes.config when running the pipeline. You may choose this option if you observe clashes between custom parameters and those supplied in igenomes.config.

Path to gtf file.

type: string

Path to star index directory.

type: string

Path to bowtie index directory.

type: string

All generated reference files will be saved to the results folder if this flag is set.

type: boolean

Adjust trimming criteria and sequences.

type: boolean

Set to cut the enzyme binding site at the 5' end

type: boolean

Select to cut the linker at the 3' end

type: boolean

Trim the first G at the 5' end, if available

type: boolean

Artifacts, generated in the sequencing process, are cut if this flag is not set to false.

type: boolean

Sequence of the ecoP15 site at the 5' end

type: string
default: CAGCAG

Sequence of the linker at the 3' end

type: string
default: TCGTATGCCGTCTTC

Path to 5' end artifacts

type: string
default: $projectDir/assets/artifacts_5end.fasta

Path to 3' end artifacts

type: string
default: $projectDir/assets/artifacts_3end.fasta

Control the ribosomal RNA removal through SortMeRNA.

Select to remove ribosoamal reads with SortMeRNA

type: boolean

Select to save the ribosomal-free reads

type: boolean

Path to SortMeRNA database file

type: string
default: $projectDir/assets/rrna-db-defaults.txt

The SortMeRNA database file should be a .txt file with a URL/path to a ribisomal fasta file.

Define parameters for paraclu clustering.

Minimum cluster size

type: integer
default: 30

Minimum tags per million a cluster has to have

type: number
default: 0.2

Skip various steps within the workflow.

Skip FastQC run on input reads.

type: boolean

Skip all trimming steps.

type: boolean

Skip FastQC run on trimmed reads.

type: boolean

Skip alignment step.

type: boolean

Skip samtools stats QC step of aligned reads

type: boolean

Skip steps generating CTSS files including clustering, bed/bigwig and count table output generation.

type: boolean

Skip running RSeQC's read distribution QC step on the clustered CTSS.

type: boolean

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.

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})$

This works exactly as with --email, except emails are only sent if the workflow is not successful.

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

Arguments passed to Nextflow clusterOptions.

hidden
type: string
default: false

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