icbi-lab / infercnvpy

Infer copy number variation (CNV) from scRNA-seq data. Plays nicely with Scanpy.

Home Page:https://infercnvpy.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copycat memory issue

YubinXie opened this issue · comments

commented

Report

I ran into memory issue when I ran the copycat. The gene and cell number are shown below. I was wondering if there is a general guide on the number of cells for this method. Many thanks!!

[1] "running copykat v1.1.0"
[1] "step1: read and filter data ..."
[1] "22318 genes, 73901 cells in raw data"
[1] "8197 genes past LOW.DR filtering"
[1] "step 2: annotations gene coordinates ..."
[1] "start annotation ..."
[1] "step 3: smoothing data with dlm ..."
WARNING:rpy2.rinterface_lib.callbacks:R[write to console]: Error in mcfork() : 
  unable to fork, possible reason: Cannot allocate memory
Calls: <Anonymous> ... <Anonymous> -> copykat -> <Anonymous> -> lapply -> FUN -> mcfork

Version information

No response

commented

I reduced the number of jobs and now it works.

Hi @YubinXie, as infercnvpy is just a thin wrapper around the copycat function, it's best to ask this question in the copykat repo!

Cheers,
Gregor