Open Citugulia40 opened 11 months ago
Hi @Citugulia40
Thanks for opening an issue. It looks like the regions in your region sets are not overlapping with the cistarget database you are using.
Which database are you using? Did you create a custom one based on your dataset?
Can you show the output of?:
region_sets
Best,
Seppe
The region_sets
output:
{'topics_otsu': {'Topic1': +--------------+-----------+-----------+ | Chromosome | Start | End | | (category) | (int64) | (int64) | |--------------+-----------+-----------| | chr1 | 35192543 | 35193043 | | chr1 | 73997502 | 73998002 | | chr1 | 9690509 | 9691009 | | chr1 | 108149602 | 108150102 | | ... | ... | ... | | chrX | 51341387 | 51341887 | | chrX | 63760345 | 63760845 | | chrX | 148602031 | 148602531 | | chrX | 129577059 | 129577559 | | chrY | 19701689 | 19702189 | +--------------+-----------+-----------+ Unstranded PyRanges object has 256 rows and 3 columns from 24 chromosomes. For printing, the PyRanges was sorted on Chromosome., 'Topic2': +--------------+-----------+-----------+ | Chromosome | Start | End | | (category) | (int64) | (int64) | |--------------+-----------+-----------| | chr1 | 15524141 | 15524641 | | chr1 | 58783879 | 58784379 | | chr1 | 161389869 | 161390369 | | chr1 | 110338851 | 110339351 | | ... | ... | ... | | chrX | 17736981 | 17737481 | | chrX | 23743058 | 23743558 | | chrX | 46836672 | 46837172 | | chrX | 47217776 | 47218276 | | chrY | 13479857 | 13480357 | | chrY | 19567021 | 19567521 | | chrY | 2935735 | 2936235 | +--------------+-----------+-----------+ Unstranded PyRanges object has 6,465 rows and 3 columns from 24 chromosomes. For printing, the PyRanges was sorted on Chromosome.}, 'topics_top_3': {'Topic1': +--------------+-----------+-----------+ | Chromosome | Start | End | | (category) | (int64) | (int64) | |--------------+-----------+-----------| | chr1 | 35192543 | 35193043 | | chr1 | 73997502 | 73998002 | | chr1 | 9690509 | 9691009 | | chr1 | 108149602 | 108150102 | | ... | ... | ... | | chrY | 14839383 | 14839883 | | chrY | 14518523 | 14519023 | | chrY | 6601166 | 6601666 | | chrY | 20575611 | 20576111 | +--------------+-----------+-----------+ Unstranded PyRanges object has 2,677 rows and 3 columns from 24 chromosomes. For printing, the PyRanges was sorted on Chromosome., 'Topic2': +--------------+-----------+-----------+ | Chromosome | Start | End | | (category) | (int64) | (int64) | |--------------+-----------+-----------| | chr1 | 15524141 | 15524641 | | chr1 | 58783879 | 58784379 | | chr1 | 161389869 | 161390369 | | chr1 | 110338851 | 110339351 | | ... | ... | ... | | chrX | 16786133 | 16786633 | | chrX | 10014954 | 10015454 | | chrX | 18425128 | 18425628 | | chrX | 149505021 | 149505521 | +--------------+-----------+-----------+ Unstranded PyRanges object has 2,829 rows and 3 columns from 23 chromosomes. For printing, the PyRanges was sorted on Chromosome.}, 'DARs': {}}
I am taking the databases from
https://resources.aertslab.org/cistarget/databases/homo_sapiens/hg38/screen/mc_v10_clust/region_based/
.tbl file from
https://resources.aertslab.org/cistarget/motif2tf/
Thank you so much for your help.
Hi @Citugulia40
The reason for the error is that you don't have any regions for "DARs", see
'DARs': {}
Best,
Seppe
Hi Seppe, I have the same issue with the dataset I'm analyzing currently. I can't detect any DARs- I tweaked some of the QC filters to get some signal. But still nothing. Does that simply mean that the landscape is not different? Do you have any thoughts on why this can happen?
HI @skoturan
It's difficult to answer this question on a general basis without any more information. I might be able to help if you provide some more context (with example outputs etc).
All the best,
Seppe
Hi,
Thanks for Scenic+.
I am running the Scenic+ and getting an error on my data as well as the pbmc data after running
`from scenicplus.wrappers.run_pycistarget import run_pycistarget run_pycistarget( region_sets = region_sets, species = 'homo_sapiens', save_path = os.path.join(work_dir, 'motifs'), ctx_db_path = rankings_db, dem_db_path = scores_db, path_to_motif_annotations = motif_annotation, run_without_promoters = True, n_cpu = 1,
_temp_dir = os.path.join(tmp_dir, 'ray_spill'),
2023-07-24 20:07:12,591 pycisTarget_wrapper INFO pbmc_tutorial/motifs/DEM_topics_top_3_No_promoters folder already exists. 2023-07-24 20:07:12,772 pycisTarget_wrapper INFO Loading cisTarget database for DARs 2023-07-24 20:07:12,773 cisTarget INFO Reading cisTarget database
Please help me in solving this.
Thanks in advance.