pySCENIC
pySCENIC copied to clipboard
OSError: Unable to open file (message not aligned)
Hello, when I was running the GRN process in SCENIC, I got the following error: "OSError: Unable to open file (message not aligned)". There are many similar errors in the network, but there is no indication of "message not aligned".I successfully ran another file with the same program before.
pyscenic grn
--num_workers 20
--output adj.sample.tsv
--method grnboost2
sample.loom
hs_hgnc_tfs.txt OMP: Info #276: omp_set_nested routine deprecated, please use omp_set_max_active_levels instead.
2022-06-03 08:54:50,219 - pyscenic.cli.pyscenic - INFO - Loading expression matrix.
Traceback (most recent call last):
File "/home/lmj/.conda/envs/pyscenic/bin/pyscenic", line 8, in
This directory contains the following files, and verify that they are available before: hg38__refseq-r80__10kb_up_and_down_tss.mc9nr.feather; motifs-v9-nr.hgnc-m0.001-o0.0.tbl ; sample.loom ; hs_hgnc_tfs.txt
- Error encountered:
...
Expected behavior A clear and concise description of what you expected to happen.
Please complete the following information:
- pySCENIC version:pyscenic==0.11.2
- Installation method: [Pip]
- Run environment: [ Nextflow]
- OS: [ Ubuntu]
- Package versions: [obtain using
pip freeze
,conda list
, or skip this if using Docker/Singularity]:
...
Mayb try to set --num_workers 20
to a lower value.
It could be that you are running out of filedescriptors.
You can see the current limits with:
# Open files soft limit.
❯ ulimit -aS | grep 'open files'
open files (-n) 1024
# Open files hard limit.
❯ ulimit -aH | grep 'open files'
open files (-n) 1048576
Try to increase the hard limit if it only allows a few thousand file descriptors.