diff --git a/astrocyte_pkg.yml b/astrocyte_pkg.yml index 492039e56f5f2177b853a39e1aa4d23ae89737a6..baa412c8178e94ef427d62b96cc9ca34ea201aae 100755 --- a/astrocyte_pkg.yml +++ b/astrocyte_pkg.yml @@ -126,11 +126,11 @@ workflow_parameters: - id: version type: select - default: 3.0.2 + default: '3.0.2' choices: - - [ 3.0.2, '3.0.2'] - - [ 3.0.1, '3.0.1'] - - [ 2.1.1, '2.1.1'] + - [ '3.0.2', '3.0.2'] + - [ '3.0.1', '3.0.1'] + - [ '2.1.1', '2.1.1'] required: true description: | 10x cellranger version. diff --git a/workflow/main.nf b/workflow/main.nf index 2e15c89dec62c43b1618fd660569938f572c5d1d..f16d221dfe2dca69cee8a08e5dc99027890744d6 100755 --- a/workflow/main.nf +++ b/workflow/main.nf @@ -9,7 +9,7 @@ params.designFile = "$baseDir/../test_data/design.csv" params.genome = '/project/apps_database/cellranger/refdata-cellranger-GRCh38-1.2.0' params.expectCells = 10000 params.forceCells = 0 -params.version = 3.0.2 +params.version = '3.0.2' // Define regular variables designLocation = Channel @@ -90,7 +90,7 @@ process count211 { file("**/outs/**") into outPaths211 when: - version == 211 + version == '2.1.1' script: if (forceCells211 == 0){ @@ -121,7 +121,7 @@ process count301 { file("**/outs/**") into outPaths301 when: - version == 301 + version == '3.0.1' script: if (forceCells301 == 0){ @@ -152,7 +152,7 @@ process count302 { file("**/outs/**") into outPaths302 when: - version == 302 + version == '3.0.2' script: if (forceCells302 == 0){