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

java issue with v2.0.1 #57

Open
joegeorgeson opened this issue Sep 11, 2022 · 4 comments
Open

java issue with v2.0.1 #57

joegeorgeson opened this issue Sep 11, 2022 · 4 comments
Assignees
Labels

Comments

@joegeorgeson
Copy link

Dear JACUSA2 team,

I am able to use v2.0.0-S-BETA-1 but v2.0.1 gives me the below error (using jre/8.121). Can you advise?

INFO   	00:00:00  Computing overlap between sequence records.
--------------------------------------------------------------------------------
JACUSA2 Version: 2.0.1 pileup -c 9 -q 20 -m 0 -P RF-FIRSTSTRAND -F 3844 -R hg19.fa -r out.jacusa in.bam
--------------------------------------------------------------------------------
INFO   	00:00:00  Thread 1: Working on contig chr1:10001-110000
java.lang.NullPointerException
	at lib.data.DefaultDataContainer.merge(DefaultDataContainer.java:180)
	at lib.data.DefaultDataContainer.merge(DefaultDataContainer.java:1)
	at lib.data.ParallelData.merge(ParallelData.java:134)
	at lib.data.ParallelData.getCombPooledData(ParallelData.java:80)
	at jacusa.method.rtarrest.CoverageStatistic.calculate(CoverageStatistic.java:21)
	at lib.stat.AbstractStat.filter(AbstractStat.java:16)
	at jacusa.worker.PileupWorker.process(PileupWorker.java:48)
	at lib.worker.AbstractWorker.doWork(AbstractWorker.java:139)
	at lib.worker.AbstractWorker.processReady(AbstractWorker.java:197)
	at lib.worker.AbstractWorker.run(AbstractWorker.java:213)
@piechottam piechottam added the bug label Sep 11, 2022
@piechottam piechottam self-assigned this Sep 11, 2022
@piechottam
Copy link
Collaborator

Does the problem persist if you run?
... pileup -c 9 -q 20 -m 0 -P RF-FIRSTSTRAND -F 3844 -R hg19.fa -r out.jacusa in.bam in.bam

@joegeorgeson
Copy link
Author

Does the problem persist if you run?
... pileup -c 9 -q 20 -m 0 -P RF-FIRSTSTRAND -F 3844 -R hg19.fa -r out.jacusa in.bam in.bam

That fixed it! I'm a bit confused, could I have found this in the documentation?

@piechottam
Copy link
Collaborator

You found a bug. JACUSA2 should work with only 1x (condition) "... in.bam". I'll fix it - thank you for your feedback!

@joegeorgeson
Copy link
Author

Thank you very much for the help!!!

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

No branches or pull requests

2 participants