HiCExplorer icon indicating copy to clipboard operation
HiCExplorer copied to clipboard

hicPlotMatrix "--region 1:10000000-50000000" option is abnormal

Open JiaoLaboratory opened this issue 10 months ago • 1 comments

Welcome to the HiCExplorer GitHub repository! Before opening the issue please check that the following requirements are met :

  • [ ] Search whether this issue (or a similar issue) has been solved before using the search tab above. Link the previous issue if appropriate below.

  • [ ] Paste your HiCExplorer version (hicInfo --version) and your python version (python --version) below.

  • [ ] Have you checked our documentation on hicexplorer.readthedocs.io?

  • [ ] Do you use conda to install HiCExplorer?

  • [ ] Do you use the latest HiCExplorer release? If not, please install it via a conda environment: conda create --name hicexplorer hicexplorer=3.6 python=3.8 -c bioconda -c conda-forge and activate the environment: conda activate hicexplorer. Retry your command. You can exit a conda environment via conda deactivate. To learn more about conda and environments, please consider the following documentation.

Retry your command, is it solved now? If not please continue with the following:

  • [ ] Paste the full HiCExplorer command that produces the issue below (ignore if you simply spotted the issue in the code/documentation).

  • [ ] Paste the output printed on screen from the command that produces the issue below (ignore if you simply spotted the issue in the code/documentation). Hi, I want to draw heatmap as below: my version: hicInfo 3.7.2 Python 3.7.12

hicConvertFormat -m ../inter_30.hic --inputFormat hic --outputFormat cool -o matrix.cool -resolutions 100000

hicPlotMatrix -m matrix_100000.cool -o matrix_100000.cool_chr1.png --clearMaskedBins --log1p --region 1 image

While when i use the --region option: hicPlotMatrix -m matrix_100000.cool -o matrix_100000.cool_chr1_10M_50M.png --clearMaskedBins --log1p --region 1:10000000-50000000

the map looks logged . image could you give me some advice? what happend?

JiaoLaboratory avatar Aug 28 '23 03:08 JiaoLaboratory

Hi, It seems to be a bug between --region and --clearMaskedBins. Can you try without --clearMaskedBins? Unfortunately we are lacking man power to address this issue. Is plotting triangle instead of square possible for you? If yes, please, use pyGenomeTracks, I think we don't have this bug.

lldelisle avatar Sep 12 '23 07:09 lldelisle