1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-25 00:19:55 +00:00

Add path parameters

This commit is contained in:
sofstam 2022-12-23 13:40:22 +01:00
parent 59fd676ab3
commit 6ebfdcd017

View file

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