Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

thresh.txt #6

Open
ph09 opened this issue Oct 28, 2021 · 1 comment
Open

thresh.txt #6

ph09 opened this issue Oct 28, 2021 · 1 comment

Comments

@ph09
Copy link

ph09 commented Oct 28, 2021

cat: thresh.txt: No such file or directory

Is this a file that I would need to provide? Or it is an issue with PEASTools.jar?

--- Getting insert size threshold. ---
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:61)
Caused by: java.lang.NullPointerException
at java.util.TreeMap.put(TreeMap.java:563)
at org.jax.peastools.insertmetrics.PeakThreshold.getThreshold(PeakThreshold.java:85)
at org.jax.peastools.insertmetrics.PeakThreshold.doIt(PeakThreshold.java:62)
at org.jax.peastools.insertmetrics.PeakThreshold.main(PeakThreshold.java:36)
at org.jax.peastools.Main.main(Main.java:34)
... 5 more
cat: thresh.txt: No such file or directory

@ajt986
Copy link
Member

ajt986 commented Oct 29, 2021

PEASTools.jar is supposed to write the thresh.txt file. For some reason the data structure storing the chromosome writers is throwing a null pointer exception upon initialization. My best guess is that it's not reading the input chromosomes correctly. Are you providing your own chromosomes? It's also possible that the last arguments to the shell script are being incorrectly loaded as a chromosome file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants