java.lang.ArrayIndexOutOfBoundsException when use -Sc
Closed this issue · 3 comments
I have created an issue "Something wrong for -Sc", but didn't get any reply.
Now I am doing another simulation, and confirm that when using -Sc, condition on time 0, will cause this exception.
But when I use other switching combinations, do the same thing, indeed, with through -Sc switching, everything goes OK.
Please have a check!
Many thanks.
No "something wrong for -Sc" comes up in my git hub sorry.
Blow is my post
Something wrong for -Sc
I am using -Sc to simulate selection, it works for this parameter combination:
msms 120 1000 -I 1 120 -t 18000 -N 100000 -r 15600 -en 0.0005 1 0.24 -SI .005 1 0.001 -Sc 0.001 1 1600 800 0 -Sp 0.5 -Smark -SFC -threads 30
But it will not work when change the time from 0.001 to 0.( actually less than 0.001, eg 0.0001)
msms 120 1000 -I 1 120 -t 18000 -N 100000 -r 15600 -en 0.0005 1 0.24 -SI .005 1 0.001 -Sc 0 1 1600 800 0 -Sp 0.5 -Smark -SFC -threads 30
java.lang.ArrayIndexOutOfBoundsException
at at.mabs.model.selection.SuperFrequencyTrace.getFrequencys(SuperFrequencyTrace.java:142)
at at.mabs.model.selection.SelectionData.getFrequency(SelectionData.java:268)
at at.mabs.model.selection.SelectionData.coalescentCumulantIntegration(SelectionData.java:296)
at at.mabs.coalescent.CoalescentEventCalculator.nextCoalescentSelection(CoalescentEventCalculator.java:361)
Look forward to your reply !
Best
My issues posted on git hub.
Something wrong for -Sc
I am using -Sc to simulate selection, it works for this parameter
combination:
msms 120 1000 -I 1 120 -t 18000 -N 100000 -r 15600 -en 0.0005 1 0.24 -SI
.005 1 0.001 -Sc 0.001 1 1600 800 0 -Sp 0.5 -Smark -SFC -threads 30
But it will not work when change the time from 0.001 to 0.( actually
less than 0.001, eg 0.0001)
msms 120 1000 -I 1 120 -t 18000 -N 100000 -r 15600 -en 0.0005 1 0.24 -SI
.005 1 0.001 -Sc 0 1 1600 800 0 -Sp 0.5 -Smark -SFC -threads 30
java.lang.ArrayIndexOutOfBoundsException
at
at.mabs.model.selection.SuperFrequencyTrace.getFrequencys(SuperFrequencyTrace.java:142)
at
at.mabs.model.selection.SelectionData.getFrequency(SelectionData.java:268)
at
at.mabs.model.selection.SelectionData.coalescentCumulantIntegration(SelectionData.java:296)
at
at.mabs.coalescent.CoalescentEventCalculator.nextCoalescentSelection(CoalescentEventCalculator.java:361)
Look forward to your reply !
Best
On 3/21/13 12:39 AM, Greg wrote:
No "something wrong for -Sc" comes up in my git hub sorry.
—
Reply to this email directly or view it on GitHub
#11 (comment).