You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently this is not completely solved, at least when predictions are requested on the complete chromosome in one run (rather than using --predictionStart and --predictionEnd)
How about changing the type of beginPos, endPos, seqlen, restlen and the return value of getNextCutEndPoint from int to long in namgene.cc.
diff namgene.cc namgene.cc.org
536,537c536,537
< long endPos, beginPos;
< long seqlen = strlen(dna);
---
> int endPos, beginPos;
> int seqlen = strlen(dna);
972,973c972,973
< long NAMGene::getNextCutEndPoint(const char *dna, long beginPos, int maxstep, SequenceFeatureCollection& sfc){
< long restlen = strlen(dna+beginPos);
---
> int NAMGene::getNextCutEndPoint(const char *dna, int beginPos, int maxstep, SequenceFeatureCollection& sfc){
> int restlen = strlen(dna+beginPos);
Using long would increase the memory requirements.
I haven't encountered this error, so sorry if it doesn't work.
Apparently, this is a result of 4Byte
int
not allowing for positions that are 2^31 or larger.Error message
The text was updated successfully, but these errors were encountered: