-
Notifications
You must be signed in to change notification settings - Fork 0
5. Inputs
Pipeline parameters can be adjusted using the following methods:
- At the command line using
--{parameter_name}(e.g.,--input) - In the
nextflow.configfile - In a JSON file via the
-params-fileparameter
It is also possible pass arguments directly to a pipeline process using the ext.args variable in conf/modules.config (see example below):
withName: 'CONDENSE' {
ext.args = ""
ext.when = { }
publishDir = [
[
path: { "${params.outdir}/${taxon}" },
pattern: "none",
mode: 'copy'
]
}
Path to the samplesheet.
samplesheet.csv:
taxon,segmented,segmentSynonyms
Hantavirus,TRUE,s|small;m|medium|middle;l|large
Norovirus,FALSE,
| Column Name | Description |
|---|---|
| taxon | The taxon name. This must be the taxId name used by NCBI if using --ncbi true. |
| segmented | If the genome is segmented (TRUE or FALSE). |
| segment | The segment name. This is only needed if you are supplying sequence and/or sample data. |
| segmentSynonyms | Accepted segment names and their synonyms. Segments are separated by a semicolon (;). Synonyms are separated by a pipe (` |
| assembly | Path to a multi-FASTA file containing input sequence. |
| metadata | Path to a CSV file containing sample data about the input sequence. |
The distance threshold used to create references: 1 - [ % ANI / 100 ].
- Options:
0...1 - Default:
0.02
The sequence length threshold used to filter input sequences: length +- len_threshold*mean(length)
- Options:
0...1 - Default:
0.20
The ratio of ambiguous bases (N) allowed in a sequence.
- Options:
0...1 - Default:
0.02
Maximum number of sequences to include in hierarchal clustering.
- Options:
0...Inf - Default:
1000
Caution
Increasing this value can significantly increase run time and may cause the pipeline to fail.
Maximum number of sequences to include in an alignment.
- Options:
0...Inf - Default:
1000
Note
Sequences are randomly subsampled to this value within each cluster. [!CAUTION] Increasing this value can significantly increase run time and may cause the pipeline to fail.
K-mer size used when calculating average nucleotide identity using Sourmash (for clustering and condensing).
- Options:
?...? - Default:
31
Note
Options are whatever Sourmash allows 🙈
Scaled value used by Sourmash when calculating average nucleotide identity (for clustering and condensing).
- Options:
0...? - Default:
1000
Note
Options are whatever Sourmash allows 🙈
Automatically pull data from NCBI for the taxId name specified in the taxon column.
- Options:
trueorfalse - Default:
true
Create reference set.
- Options:
trueorfalse - Default:
true
Note
This option is useful if you want to make adjustments to the input sequences prior to reference selection. In this case, you would first run the pipeline with --create false --ncbi true and then run again with --ncbi false --create true using the modified datasets, supplied via the assembly and metadata columns.