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.

required
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.

required
type: string

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.

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

type: string

Options for the genome and proteome reference.

Specifies the human reference genome version.

type: string

This defines against which human reference genome the pipeline performs the analysis including the incorporation of genetic variants e.g..

Specifies the reference proteome.

type: string

Specifies the reference proteome files that are used for self-filtering. Should be either a folder of FASTA files or a single FASTA file containing the reference proteome(s).

Reference genome related files and options required for the workflow.

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.

Options for the peptide prediction step.

Filter against human proteome.

type: boolean

Specifies that peptides should be filtered against the specified human proteome references.

Specifies the maximum peptide length.

type: integer
default: 11

Specifies the maximum peptide length (not applied when --peptides is specified). Default: MHC class I: 11 aa, MHC class II: 16 aa

Specifies the minimum peptide length.

type: integer
default: 8

Specifies the minimum peptide length (not applied when --peptides is specified). Default: MCH class I: 8 aa, MHC class II: 15 aa

Specifies the maximum peptide length for MHC class II peptides.

type: integer
default: 16

Specifies the minimum peptide length for MHC class II peptides.

type: integer
default: 15

Specifies the prediction tool(s) to use.

type: string
default: syfpeithi

Specifies the tool(s) to use. Multiple tools can be combined in a list separated by comma.
Available are: syfpeithi, mhcflurry, mhcnuggets-class-1, mhcnuggets-class-2,netmhcpan-4.0,netmhcpan-4.1,netmhc-4.0,netmhciipan-4.1.

Specifies tool-specific binder thresholds in a JSON file. This can be used to override the given default binder threshold values.

type: string

Default thresholds to determine whether a peptide is considered as a binder are the following: syfpeithi > 50, mhcflurry <=500, mhcnuggets-class-1 <= 500, mhcnuggets-class-2 <= 500, netmhc <= 2, netmhcpan <= 2, netmhcii <= 5, netmhciipan <= 5. Note that the default threshold for NetMHC tools is based on the rank metric. The remaining predictors thresholds are based on affinities. Thresholds can be customized in a JSON file: tool-name:value

Specifies the affinity metric instead of the rank metric used for determining whether a peptide is considered as a binder.

type: boolean

Switches the prediction metric of netMHC tools from rank to affinity. Default: netmhc <= 500, netmhcpan <= 500, netmhcii <= 500, netmhciipan <= 500.

Specifies whether wild-type sequences should be predicted.

type: boolean

Specifies whether wild-type sequences of mutated peptides should be predicted as well.

Specifies that sequences of proteins, affected by provided variants, will be written to a FASTA file.

type: boolean

Specifies that sequences of proteins that are affected by the provided genomic variants are written to a FASTA file. The resulting FASTA file will contain the wild-type and mutated protein sequences.

Writes out supported prediction models.

type: boolean

Writes out supported models. Does not run any predictions.

Options for optimising the pipeline run execution.

Split VCF file into multiple files by number of variants.

type: boolean

Number of variants that should be written into one file. Default: number of variants divided by ten

type: integer

Number of nucleotides between previous and current variant across split.

type: integer
default: 110000

This can be used to avoid that variants end up in separate splits that fall onto the same transcript and therefore potentially contribute to the same mutated protein.

Specifies the maximum number of peptide chunks.

type: integer
default: 100

Used in combination with --peptides or --proteins. Maximum number of peptide chunks that will be created for parallelisation.

Specifies the minimum number of peptides that should be written into one chunk.

type: integer
default: 5000

Used in combination with --peptides or --proteins: minimum number of peptides that should be written into one chunk.

External MHC binding prediction software that is not shipped with the pipeline.

Specifies the path to the JSON file with meta information on external prediction tools.

type: string
default: ${projectDir}/assets/external_tools_meta.json

Specifies the operating system in use (Linux or Darwin). This is only necessary if conda is used.

type: string
default: linux

To use the 'netmhcpan' tool, specify the path to the original software tarball for NetMHCpan 4.0 here.

type: string
default: None

To use the 'netmhc' tool, specify the path to the original software tarball for NetMHC 4.0 here.

type: string
default: None

To use the 'netmhciipan' tool, specify the path to the original software tarball for NetMHCIIpan 3.1 here.

type: string
default: None

To use the 'netmhcii' tool, specify the path to the original software tarball for NetMHCII 2.2 here.

type: string
default: None

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 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|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

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

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

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.

Run this workflow with Conda. You can also use '-profile conda' instead of providing this parameter.

hidden
type: boolean