Open JiaweiDai-create opened 3 years ago
just in case you still didn't figure it out, you should simply edit db_names in STEP 4: Cellular enrichment aka AUCell from def derive_regulons(motifs, db_names=('hg19-tss-centered-10kb-10species', 'hg19-500bp-upstream-10species', 'hg19-tss-centered-5kb-10species')):
to
def derive_regulons(motifs, db_names=('hg19-tss-centered-10kb-10species.mc9nr', 'hg19-500bp-upstream-10species.mc9nr', 'hg19-tss-centered-5kb-10species.mc9nr')):
thanks,
Noori
Thank you, Noori. I have realized this problem and run this code successfully.
Best, Jiawei
Hi, Thank you for developing SCENIC. I'm a new user of pyscenic. When I tried to rerun the case study "GSE103322 - Head and Neck Squamous Cell Carcinoma (HNSC)", an unexpected problem occured. When I ran "regulons = derive_regulons(df_motifs)" at STEP 4 , I got an error:
Then I checked the function deriveregulons(), I found the problem was happened in the following code: `motifs = motifs[np.fromiter(map(compose(op.not, contains('weight>50.0%')), df_motifs.Context), dtype=np.bool) & np.fromiter(map(contains(*db_names), df_motifs.Context), dtype=np.bool) & np.fromiter(map(contains('activating'), df_motifs.Context), dtype=np.bool)]` It returned:
I'm confused because I just completely repeated the code in the tutorial. And it seems that df_motifs is not abnormal:
Do you have any idea how I could fix this issue? Would be greteful for your kind help!
Besies, I also used the docker image of SCENIC to analyse PMBC and finally I got a file named auc_mtx.csv. I wonder what should I do next to plot interpretable figures like heatmap.
Best, Jiawei