This document describes the parameter options used by the pipeline.
- Running the pipeline
- Inputs and outputs
- Workflow modifying parameters
- Read filtering parameters
- Subsampling parameters
- Variant calling parameters
- Advanced parameters
- Additional parameters
- Software dependencies
- Other command line parameters
The main command for running the pipeline is as follows:
nextflow run genepi/umi-pipeline-nf [OPTIONS]
Note that the pipeline will create files in your working directory:
work/ # Directory containing the nextflow working files
.nextflow.log # Log file from Nextflow
.nextflow/ # Nextflow cache and history information
Specify the path to the directory containing the demultiplexed reads. [default: "null"]
Specify the name of the output directory to save the results. [default: "null"]
Specify the path to the reference genome in fasta format. [default: "null"]
Specify the path to the reference index file. [default: "null"]
Specify the path to the bed file containing the target name, start and end position. [default: "null"]
Specify if the raw reads per barcode should be subsampled. [default: false]
Specify if the variants in the final consensus sequences should be called. [default: false]
Note: If set to true, the (variant caller
)[ must be specified
Specify the minimal read length of the raw reads. [default: 0]
Specify the minimal Q-score of the raw reads. [default: 0]
Specify the seed for pseudo-random subsampling. [default: 11]
Specify the number of reads that should be preserved after subsampling. [default: 100,000]
Specify the variant caller that should be used for variant calling. [default: null]
Specify the minimal number of raw reads per barcode. [default: 1000]
Note: Barcodes with fewer reads will be filtered before the analysis.
Specify the number of deviating positions per read of each UMI cluster. [default: 3]
Specify the minimal number of reads per cluster. [default: 20] Note: Clusters with fewer reads will be excluded from the analysis.
Specify the maximal number of reads per cluster. [default: 60]
Note: Clusters with more reads will be downsampled
according to the cluster filtering strategy
.
Specify the output format until the cluster filtering step. [default: "fastq"]
Note: Only the "fastq" option can be used to filter reads by the quality and requires FASTQ input reads.
Specify filter strategy to downsample cluster above the maximal reads per cluster parameter. [default: "quality"]
Note: "quality" filter strategy only goes in hand with "fastq" output format.
Specify if reports of the pipeline should be saved. [default: true]
Specify the number of threads that are allocated for the pipeline. [default: all available processors - 1]
Specify the minimal overlap of the mapped raw reads to the reference sequence. [default: 0.90]
Specify if secondary mappings should be included in the analysis. [default: false]
Specify if the number of forward and reverse reads per cluster should be equalized. [default: true]
Specify the medaka model that is used for cluster polishing. [default: "r1041_e82_400bps_hac_g615"]
Note: The models are specific for Chemistry, basecalling algorithm and sequencing speed.
Specify the pattern of the forward UMI primer. [default: "TTTVVVVTTVVVVTTVVVVTTVVVVTTT"]
Specify the pattern of the reverse UMI primer. [default: "AAABBBBAABBBBAABBBBAABBBBAAA"]
Specify the minimal length of the extracted UMI sequences. [default: 40]
Specify the maximal length of the extracted UMI sequences. [default: 60]
Specify the minimap2 parameters. [default: "-ax map-ont -k 13]
Specify in order to prevent Nextflow from clearing the work dir cache following a successful pipeline completion. [default: off]
When called with nextflow run genepi/umi-pipeline-nf --version
this will display the pipeline version and quit.
When called with nextflow run genepi/umi-pipeline-nf --help
this will display the parameter options and quit.
Use this parameter to choose a preset configuration profile. Profiles available with the pipeline are:
standard
- The default profile, is used if
-profile
is not specified. - Uses sensible resource allocation for, runs using the
local
executor (native system calls) and expects all software to be installed and available on the$PATH
. - This profile is mainly designed to be used as a starting point for other configurations and is inherited by most of the other profiles below.
- The default profile, is used if
conda
- Builds a conda environment from the environment.yml file provided by the pipeline
- Requires conda to be installed on your system.
docker
- Launches a docker image pulled from genepi/umi-pipeline-nf (ADAPT)
- Requires docker to be installed on your system.
singularity
- Launches a singularity image pulled from genepi/umi-pipeline-nf (ADAPT)
- Requires singularity to be installed on your system.
custom
- No configuration at all. Useful if you want to build your own config from scratch and want to avoid loading in the default
base
config for process resource allocation.
- No configuration at all. Useful if you want to build your own config from scratch and want to avoid loading in the default
If you wish to provide your own package containers it is possible to do so by setting the standard
or custom
profile and then providing your custom package with the command line flags below. These are not required with the other profiles.
Flag to enable conda. You can provide either a pre-built environment or a *.yml file.
Specify the path to a custom work directory for the pipeline to run with (eg. on a scratch directory)
Provide a file with specified parameters to avoid typing them out on the command line. This is useful for carrying out repeated analyses. A template params file assets/params.config
has been made available in the pipeline repository.
Provide a custom config file for adapting the pipeline to run on your own computing infrastructure. A template config file assets/custom.config
has been made available in the pipeline repository. This file can be used as a boilerplate for building your own custom config.
Specify this when restarting a pipeline. Nextflow will use cached results from any pipeline steps where the inputs are the same, continuing from where they got previously. Give a specific pipeline name as an argument to resume it, otherwise, Nextflow will resume the most recent. NOTE: This will not work if the specified run finished successfully and the cache was automatically cleared. (see: --debug
)
Name for the pipeline run. If not specified, Nextflow will automatically generate a random mnemonic.