ABC-Enhancer-Gene-Prediction icon indicating copy to clipboard operation
ABC-Enhancer-Gene-Prediction copied to clipboard

run.neighborhoods.py Dimension Mismatch

Open ahelv opened this issue 4 years ago • 8 comments

Hi, I am getting an AssertionError: dimension mismatch when running run.neighborhoods.py. The error produced is included below. Any insight as to what is causing the error is appreciated!

thanks, Annika

Screen Shot 2020-09-04 at 9 21 36 AM

ahelv avatar Sep 04 '20 15:09 ahelv

Hi, could you try this branch and see if it fixes the issue: https://github.com/broadinstitute/ABC-Enhancer-Gene-Prediction/tree/use_pysam

thouis avatar Sep 23 '20 12:09 thouis

Hi, I tried running with the branch you posted but the issue persists.

ahelv avatar Oct 30 '20 00:10 ahelv

Hi Annika,

Is there some way we could get copies of the data you're trying to run this on?

thouis avatar Oct 30 '20 11:10 thouis

Indeed, I first ran into this issue using publicly available data:

DHS: SRX1161152 (replicate 1), and SRX1161153 (replicate 2) H3k27Ac: SRX3083139

I did not have any issue when using the following H3k27Ac data instead H3k27Ac: SRX5806607 (replicate 1) and SRX5806608 (replicate 2)

I have again encountered this same error with some "in house" data.

ahelv avatar Oct 30 '20 15:10 ahelv

Great. Which gene annotation file were you using?

thouis avatar Oct 30 '20 18:10 thouis

I used RefSeqCurated.170308.bed.CollapsedGeneBounds.bed

ahelv avatar Oct 30 '20 18:10 ahelv

Could I ask you to try one more thing before I align these files and try to run:

  • Could you make sure the ABC_output directory has been removed (to make sure no files are being cached).
  • Could you try the no_promoter_overlaps branch?

thouis avatar Oct 30 '20 19:10 thouis

I tried this and I am still getting the same error

ahelv avatar Nov 02 '20 02:11 ahelv

We've revamped the codebase. Please check out https://github.com/broadinstitute/ABC-Enhancer-Gene-Prediction/tree/main and reopen your issue if it still exists

atancoder avatar Dec 07 '23 23:12 atancoder