File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11process COGAPS {
22 tag " $meta . id "
33 label ' process_medium'
4- container ' ghcr.io/fertiglab/cogaps@sha256:ce86acbf8677e6ac1dbfcbdb4ccb1fbd7189234eca84df93efd69f1c4d8b7f22 '
4+ container ' ghcr.io/fertiglab/cogaps:master '
55
66 input:
77 tuple val(meta), path(dgCMatrix)
@@ -35,8 +35,8 @@ process COGAPS {
3535 nPatterns = $params . npatterns ,
3636 sparseOptimization = as.logical($params . sparse ),
3737 distributed=$params . distributed );
38- params <- setDistributedParams(params, nSets = 7 );
39- cogapsResult <- CoGAPS(data = data, params = params)
38+ params <- setDistributedParams(params, nSets = $p arams . nsets );
39+ cogapsResult <- CoGAPS(data = data, params = params, nThreads = $p arams . nthreads );
4040 saveRDS(cogapsResult, file = "${ prefix} /cogapsResult.rds")'
4141
4242 cat <<-END_VERSIONS > versions.yml
Original file line number Diff line number Diff line change 22params {
33 outdir = ' out'
44 input = ' '
5+
6+ // cogaps params
57 npatterns = 8
68 nsets = 7
7- niterations = 1000
9+ niterations = 100
810 sparse = 1
911 seed = 42
1012 distributed = ' "genome-wide"'
13+ nthreads = 1
1114
12- max_memory = ' 128 .GB'
13- max_cpus = 8
15+ max_memory = ' 8 .GB'
16+ max_cpus = 4
1417 max_time = ' 48.h'
1518}
1619
You can’t perform that action at this time.
0 commit comments