Question: RcisTarget error with multicore processing
gravatar for jka8119
11 months ago by
jka811910 wrote:



I am getting the error below running 

> runSCENIC_2_createRegulons(scenicOptions)
05:53 Step 2. Identifying regulons

 top5perTarget top10perTarget           w005          top50 top50perTarget 
           198            531            870            944           1254 
05:53 RcisTarget: Calculating AUC
Scoring database:  [Source file: mm9-500bp-upstream-7species.mc9nr.feather]
Scoring database:  [Source file: mm9-tss-centered-10kb-7species.mc9nr.feather]
06:41 RcisTarget: Adding motif annotation
Error in .local(x, ...) : 
  cannot create 286 workers; 125 connections available in this session
Calls: runSCENIC_2_createRegulons ... bplapply -> bplapply -> bpstart -> bpstart -> .local
Execution halted
> sessionInfo()

R version 3.5.0 (2018-04-23)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server 7.2 (Maipo)

Matrix products: default
BLAS: /sc/wo/app/R/v3.5.0/lib64/R/lib/
LAPACK: /sc/wo/app/R/v3.5.0/lib64/R/lib/

 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C

attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets
[8] methods   base

other attached packages:
 [1] SingleCellExperiment_1.2.0  SummarizedExperiment_1.10.1
 [3] DelayedArray_0.6.1          BiocParallel_1.14.1
 [5] matrixStats_0.53.1          Biobase_2.40.0
 [7] GenomicRanges_1.32.3        GenomeInfoDb_1.16.0
 [9] IRanges_2.14.10             S4Vectors_0.18.3
[11] BiocGenerics_0.26.0         RColorBrewer_1.1-2
[13] foreach_1.4.4               AUCell_1.2.4
[15] RcisTarget_1.0.2            SCENIC_0.99.0-03

loaded via a namespace (and not attached):
 [1] lattice_0.20-35        htmltools_0.3.6        blob_1.1.1
 [4] XML_3.98-1.11          rlang_0.2.1            R.oo_1.22.0
 [7] later_0.7.3            pillar_1.2.3           DBI_1.0.0
[10] R.utils_2.6.0          bit64_0.9-7            GenomeInfoDbData_1.1.0
[13] zlibbioc_1.26.0        R.methodsS3_1.7.1      codetools_0.2-15
[16] memoise_1.1.0          httpuv_1.4.4.1         AnnotationDbi_1.42.1
[19] GSEABase_1.42.0        Rcpp_0.12.17           xtable_1.8-2
[22] promises_1.0.1         feather_0.3.1          graph_1.58.0
[25] annotate_1.58.0        XVector_0.20.0         mime_0.5
[28] bit_1.1-14             hms_0.4.2              digest_0.6.15
[31] shiny_1.1.0            grid_3.5.0             tools_3.5.0
[34] bitops_1.0-6           magrittr_1.5           RCurl_1.95-4.10
[37] RSQLite_2.1.1          tibble_1.4.2           pkgconfig_2.0.1
[40] Matrix_1.2-14          data.table_1.11.4      iterators_1.0.9
[43] R6_2.2.2               compiler_3.5.0

Any help would be appreciated!



aucell scenic rcistarget • 172 views
ADD COMMENTlink modified 11 months ago by Martin Morgan ♦♦ 23k • written 11 months ago by jka811910
Answer: RcisTarget error with multicore processing
gravatar for Martin Morgan
11 months ago by
Martin Morgan ♦♦ 23k
United States
Martin Morgan ♦♦ 23k wrote:

Try registering a default number of cores that you'd like to use, e.g.,


but actually I don't know where the script runSCENIC_2_createRegulons() comes from, so am only guessing...

ADD COMMENTlink written 11 months ago by Martin Morgan ♦♦ 23k

Thanks. The runSCENIC_2_createRegulons command is part of the latest version of SCENIC (


ADD REPLYlink written 11 months ago by jka811910

The help page suggests setting the number of cores as

ADD REPLYlink written 11 months ago by Martin Morgan ♦♦ 23k


Thanks for the quick reply. Some other users also came up with similar errors, so I will update the tutorial to make it more explicit.

Thank you!

ADD REPLYlink written 11 months ago by saibar20

Thanks for the help! I will try to run SCENIC with the multicore parameters adjusted as you suggested.

ADD REPLYlink written 11 months ago by jka811910
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 290 users visited in the last hour