Skip to content

Commit

Permalink
Merge pull request #206 from genomic-medicine-sweden/path_params
Browse files Browse the repository at this point in the history
Add path parameters
  • Loading branch information
jfy133 authored Dec 23, 2022
2 parents 59fd676 + 6ebfdcd commit 2de0493
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions workflows/taxprofiler.nf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ WorkflowTaxprofiler.initialise(params, log)

// TODO nf-core: Add all file path parameters for the pipeline to the list below
// Check input path parameters to see if they exist
def checkPathParamList = [ params.input, params.databases, params.hostremoval_reference,
params.shortread_hostremoval_index, params.multiqc_config,
params.shortread_qc_adapterlist
def checkPathParamList = [ params.input, params.genome, params.databases,
params.outdir, params.longread_hostremoval_index
params.hostremoval_reference, params.shortread_hostremoval_index,
params.multiqc_config, params.shortread_qc_adapterlist,
params.krona_taxonomy_directory
]
for (param in checkPathParamList) { if (param) { file(param, checkIfExists: true) } }

Expand Down

0 comments on commit 2de0493

Please sign in to comment.