diff --git a/processes/aucell.nf b/processes/aucell.nf index 9609dfb..be43e21 100644 --- a/processes/aucell.nf +++ b/processes/aucell.nf @@ -40,6 +40,7 @@ process AUCELL { throw new Exception("walltime is missing in params.sc.scenic.aucell") } outputFileName = "numRuns" in toolParams && toolParams.numRuns > 1 ? sampleId + "__run_" + runId +"__auc_" + type + ".loom": sampleId + "__auc_" + type + ".loom" + seed = "numRuns" in toolParams && toolParams.numRuns > 1 ? (params.seed + runId) : params.seed """ pyscenic aucell \ $filteredLoom \ @@ -47,6 +48,7 @@ process AUCELL { -o "${outputFileName}" \ --cell_id_attribute ${toolParams.cell_id_attribute} \ --gene_attribute ${toolParams.gene_attribute} \ + --seed ${seed} \ --num_workers ${processParams.numWorkers} """ diff --git a/scenic.config b/scenic.config index bcc7bc0..ed29d07 100644 --- a/scenic.config +++ b/scenic.config @@ -21,7 +21,6 @@ params { gene_attribute = 'Gene' grn { algorithm = 'grnboost2' // also available: 'genie3' - seed = '' // cluster options: pmem = '2gb' maxForks = 1