Skip to content

Issue with the "Intersection of gene_names and tf_names is empty" while running the grnboost2 step of pySCENIC in hpc #616

@npees1

Description

@npees1

Hi, I got this error while running the 1st step of pyscenic in hpc-

2025-05-24 17:33:23,938 - pyscenic.cli.pyscenic - INFO - Loading expression matrix.

2025-05-24 17:33:57,266 - pyscenic.cli.pyscenic - INFO - Inferring regulatory networks.
Traceback (most recent call last):
File "/home/.conda/envs/pyscenic_env/bin/pyscenic", line 8, in
sys.exit(main())
File "/home/.conda/envs/pyscenic_env/lib/python3.7/site-packages/pyscenic/cli/pyscenic.py", line 713, in main
args.func(args)
File "/home/.conda/envs/pyscenic_env/lib/python3.7/site-packages/pyscenic/cli/pyscenic.py", line 111, in find_adjacencies_command
seed=args.seed,
File "/home/.conda/envs/pyscenic_env/lib/python3.7/site-packages/arboreto/algo.py", line 41, in grnboost2
early_stop_window_length=early_stop_window_length, limit=limit, seed=seed, verbose=verbose)
File "/home/.conda/envs/pyscenic_env/lib/python3.7/site-packages/arboreto/algo.py", line 115, in diy
expression_matrix, gene_names, tf_names = _prepare_input(expression_data, gene_names, tf_names)
File "/home/.conda/envs/pyscenic_env/lib/python3.7/site-packages/arboreto/algo.py", line 229, in _prepare_input
raise ValueError('Intersection of gene_names and tf_names is empty.')
ValueError: Intersection of gene_names and tf_names is empty.

As per the input, I took the expression matrix generated from the seurat object in CSV format. It would be great if you have any suggestions in sorting out this issue. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions