Why is Lositan crashing when loading input file?
1
0
Entering edit mode
10.4 years ago
hazelperry ▴ 30

I am using lositan to try and pick out outliers from a couple of large SNP datasets. I have three input files both in genepop format, two of these contain only two populations and one contains 5. When I load one of the two population files into lositan it has no problems, the file will load and run fine but when I load in the other it gets as far as loading population 2 and freezes. The program doesn't freeze completely, I can still look at menu options and the number of loci and populations it shows in the total data are correct but nothing happens (for days), it doesn't give me an Fst value and I can't run the simulation.

When I load the third file in (the one with 5 populations), if I try to use all of the populaitons it works fine but when I try to use only two of the 5 populations (in the data used menu option) I get the same problem, it says loading population 2 but never gets any further.

As one of the files runs with no problems and the other two are identical in format I don't think it can be the input file but have no idea what could be the problem. As the lositan site says to ask for help on here I was hoping someone might be able to tell me what is going wrong?

Thanks
Hazel

Lositan • 4.9k views
ADD COMMENT
0
Entering edit mode

Hi Hazel,

Could you please configure your Java virtual machine (On windows, you can find this on the control panel) to start up the console and always show it? Then run your dataset, get the error that gets out and post it here?

Tiago

PS - Do not forget to use the version for many loci (there are two available)

ADD REPLY
0
Entering edit mode

Hi Tiago,

When I run lositan with the virtual machine console option open this is what I get (from the point of opening lositan to it freezing).

Missing Permissions manifest attribute in main jar: http://popgen.net/soft/lositan/code2/lib/selwb.jar
Windows 7 C:\Users\bspc26 \
*sys-package-mgr*: can't create package cache dir, 'cachedir\packages'
JNLPClassLoader: Finding library jnidispatch.dll
JNLPClassLoader: Finding library jnidispatch.dll
JNLPClassLoader: Finding library msvcrt.dll
985
0.500562 28
Unhandled exception in thread started by <function endRunDatacal at 0x2>
Traceback (most recent call last):
  File "C:\Users\bspc26\.lositan\Main.py", line 365, in endRunDatacal
    if float(lfst)<-10.0: lfst="nan"
ValueError: invalid literal for __float__: -1.#IND00

I have been using the version for many loci so this shouldn't be the issue.

Thanks
Hazel

ADD REPLY
0
Entering edit mode

This is a bug in Lositan. I will try to patch it today and redeploy it. I will get back to you when it is done.

ADD REPLY
0
Entering edit mode
10.4 years ago
tiagoantao ▴ 690

I have deployed a new version here:

http://popgen.net/soft/lositan/3264.html

(do not forget to use this link so that the code updates).

If it still fails, please send me the console output again.

ADD COMMENT
0
Entering edit mode

Hi Tiago,

Sorry for not getting back to you sooner I have only just had chance to check the version you deployed above. Unfortunately it's still not working. The message I get in the console this time is:

Missing Application-Name manifest attribute for: http://popgen.net/soft/lositan/code2/lib/selwb.jar
Missing Permissions manifest attribute in main jar: http://popgen.net/soft/lositan/code2/lib/selwb.jar
Windows 7 C:\Users\bspc26 \
console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0.
985
0.500562 28
Unhandled exception in thread started by <function endRunDatacal at 0x3>
Traceback (most recent call last):
  File "C:\Users\bspc26\.lositan\Main.py", line 369, in endRunDatacal
    locusFst.append((float(lhe), float(lfst)))
ValueError: invalid literal for __float__: -1.#IND00

Thanks
Hazel

ADD REPLY
0
Entering edit mode

I deployed a new version, could you please try again?

ADD REPLY
0
Entering edit mode

Hi Tiago,

That version now loads my files in with no problem but this time I get the same issue as mhmeek (Lositan freezes when producing selection table) in that it loads the input file, runs but freezes when it gets to the preparing selection table bit.

This time the console shows:

Thanks
Hazel

ADD REPLY
0
Entering edit mode

Hi,

Could you please send me (in private) your input file? I think the problem is different from the one reported by the other user (in the other case, I think it is a Mac problem).

Tiago

ADD REPLY
0
Entering edit mode

Emailed to your gmail address.

Hazel

ADD REPLY
0
Entering edit mode

I was able to run this on Linux. I will test it on Windows this evening.

ADD REPLY
0
Entering edit mode

Ok, great thanks.

On a side note I have some other files which I am running through at the moment. Having run them through with a confidence interval of 0.995 it has produced a list of loci. In this list those that have a p value above 0.995 are listed in the FDR column as being outliers (for positive selection) and the majority of these are highlighted red. However there are a few at least that have p values above 0.995 and are marked in the FDR column as being outliers but they are not highlighted red. When I save the loci list and the confidence intervals I loose this highlighting so can I ask why some are highlighted and others are not despite having p values above 0.995?

Thanks
Hazel

ADD REPLY
0
Entering edit mode

Hi Tiago,

I'm having the same issue as hazelperry. LOSITAN keeps freezing when preparing selection table. Were you able to solve this issue on windows? Or do I have to try it on linux?

Thanks in advance.

Andre Leao

ADD REPLY
0
Entering edit mode

Hi again, just writing to say that I found an error in the data sheet and it was it. I was able to run the analyses then. Thanks anyway

ADD REPLY

Login before adding your answer.

Traffic: 1682 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6