SCENIC+ is a python package to build gene regulatory networks (GRNs) using combined or separate single-cell gene expression (scRNA-seq) and single-cell chromatin accessibility (scATAC-seq) data.
Other
167
stars
27
forks
source link
cistarget - Feather V1 and V2 format - rankings and scores #80
Thank you for the amazing tool! I'm excited to see the results of scenic plus on our multiome data. I am trying to run cistarget on the ATAC after running cistopic. I am using the cluster_SCREEN.regions_vs_motifs.scores.v2.feather and cluster_SCREEN.regions_vs_motifs.scores.v2.feather files, which I downloaded from the aerts lab resources database.
However, upon running cistarget, I get the below error. I changed the name of the files from the aerts lab database to the name used in the scenic plus tutorial since I recall experiencing a similar issue with pyscenic and the fix was simply a name change. However, I am still getting the same error below in both cases.
ValueError: "/cluster/projects/resources/cluster_SCREEN.regions_vs_motifs.scores.v2.feather" is not a cisTarget Feather database in Feather v1 or v2 format.
2022-12-23 17:37:35,253 cisTarget INFO Reading cisTarget database
2022-12-23 17:50:24,013 DEM INFO Reading DEM database
Traceback (most recent call last):
File "cistarget.py", line 53, in <module>
menr['CTX_'+key+'_All'] = run_cistarget(ctx_db = ctx_db,
File "/cluster/home/t114108uhn/.local/lib/python3.7/site-packages/pycistarget/motif_enrichment_dem.py", line 70, in __init__
fraction_overlap)
File "/cluster/home/t114108uhn/.local/lib/python3.7/site-packages/pycistarget/motif_enrichment_dem.py", line 111, in load_db
db = FeatherRankingDatabase(fname, name=name)
File "/cluster/home/t114108uhn/.local/lib/python3.7/site-packages/ctxcore/rnkdb.py", line 110, in __init__
ct_db_filename=self._fname, engine="pyarrow"
File "/cluster/home/t114108uhn/.local/lib/python3.7/site-packages/ctxcore/ctdb.py", line 171, in init_ct_db
f'"{ct_db_filename}" is not a cisTarget Feather database in Feather v1 or v2 format.'
ValueError: "/cluster/projects/resources/hg38_screen_v10_clust.regions_vs_motifs.scores.feather" is not a cisTarget Feather database in Feather v1 or v2 format.
How may I debug this so I can proceed with the workflow?
Also, I am thinking of generating the eregulons using metacells. Is it possible to export the eregulons and score them in another dataset (e.g. the single cell expression matrix) for downstream analysis?
Hello!
Thank you for the amazing tool! I'm excited to see the results of scenic plus on our multiome data. I am trying to run cistarget on the ATAC after running cistopic. I am using the cluster_SCREEN.regions_vs_motifs.scores.v2.feather and cluster_SCREEN.regions_vs_motifs.scores.v2.feather files, which I downloaded from the aerts lab resources database.
However, upon running cistarget, I get the below error. I changed the name of the files from the aerts lab database to the name used in the scenic plus tutorial since I recall experiencing a similar issue with pyscenic and the fix was simply a name change. However, I am still getting the same error below in both cases.
How may I debug this so I can proceed with the workflow?
Also, I am thinking of generating the eregulons using metacells. Is it possible to export the eregulons and score them in another dataset (e.g. the single cell expression matrix) for downstream analysis?
I am using the below code.
I would update the code to this: