perslab/depict

Exception / failure when number of unique loci exceeds 1000

Skybeetle opened this issue · 2 comments

Dear Tune H Pers,
When our number of unique loci exceeds 1000, we are getting an exception and analysis failure.
Could you please correct the following lines (currently 702 and 703) in the code file PerformPathwayAnalysisSusceptibilityLoci.java
From:
nrGenesPerUniqueLociEmpiricPerms = new int[nrPerms + nrReps][1000];
geneStartIndexPermutedLociEmpiricPerms = new int[nrPerms + nrReps][1000];
To:
nrGenesPerUniqueLociEmpiricPerms = new int[nrPerms + nrReps][nrUniqueLoci];
geneStartIndexPermutedLociEmpiricPerms = new int[nrPerms + nrReps][nrUniqueLoci];

This correction and rebuild eliminated the problem for us. We exceed 1500 unique loci. No hurry, we are fine now, but maybe for one of the future builds?

Thank you for making us aware of this error. It has now been resolved.

Dear Tune H Pers,
The error prevails even after correction of this section in the current version.