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

ERROR: For input string: "9223372036854775808" #43

Closed
1 of 3 tasks
schorlton opened this issue Jun 6, 2022 · 6 comments
Closed
1 of 3 tasks

ERROR: For input string: "9223372036854775808" #43

schorlton opened this issue Jun 6, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@schorlton
Copy link

Another error which seems to be from too few/too short reads as input? But pretty cryptic. Thanks again!!

root@633c29844365:/data/retry# rnabloom -outdir rnabloom_out -t 8 -long filtered.fastq -ntcard
RNA-Bloom v1.4.3
args: [-outdir, rnabloom_out, -t, 8, -long, filtered.fastq, -ntcard]

name:   rnabloom
outdir: rnabloom_out
WARNING: Output directory does not exist!
Created output directory at `rnabloom_out`

K-mer counting with ntCard...
Running command: `ntcard -t 8 -k 17 -c 65535 -p rnabloom_out/rnabloom @rnabloom_out/rnabloom.ntcard.readslist.txt`...
Parsing histogram file `rnabloom_out/rnabloom_k17.hist`...
ERROR: For input string: "9223372036854775808"
java.lang.NumberFormatException: For input string: "9223372036854775808"
        at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.base/java.lang.Long.parseLong(Long.java:696)
        at java.base/java.lang.Long.parseLong(Long.java:817)
        at rnabloom.util.NTCardHistogram.<init>(NTCardHistogram.java:44)
        at rnabloom.RNABloom.getNTCardHistogram(RNABloom.java:5568)
        at rnabloom.RNABloom.main(RNABloom.java:6631)
  • version of RNA-Bloom with java -jar RNA-Bloom.jar -version
  • version of java with java -version
root@633c29844365:/data/retry# java --version
openjdk 11.0.9.1-internal 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1-internal+0-adhoc..src)
OpenJDK 64-Bit Server VM (build 11.0.9.1-internal+0-adhoc..src, mixed mode)
  • exact command used to run RNA-Bloom
@kmnip
Copy link
Collaborator

kmnip commented Jun 6, 2022

Can you please print the first few lines of rnabloom_k17.hist? e.g.

head rnabloom_out/rnabloom_k17.hist

@kmnip kmnip self-assigned this Jun 6, 2022
@kmnip
Copy link
Collaborator

kmnip commented Jun 6, 2022

This number 9223372036854775808 is just larger than the largest 64-bit long integer in Java, i.e. 9,223,372,036,854,775,807.

Can you please report your ntCard version?

ntcard --version

@schorlton
Copy link
Author

>ntcard --version
ntCard 1.2.2
>head rnabloom_out/rnabloom_k17.hist 
F1      270
F0      0
1       9223372036854775808
2       9223372036854775808
3       9223372036854775808
4       9223372036854775808
5       9223372036854775808
6       9223372036854775808
7       9223372036854775808
8       9223372036854775808

@kmnip
Copy link
Collaborator

kmnip commented Jun 7, 2022

This looks like a bug in ntCard. Can you share your read sequences with me?

@schorlton
Copy link
Author

Done! Emailed kmnip@bcgsc.ca. Let me know if you need it to be sent somewhere else.

@kmnip
Copy link
Collaborator

kmnip commented Jun 7, 2022

Thanks, I got your email and I was able to replicate the same issue.
I created an issue for this in ntCard:
bcgsc/ntCard#73

@kmnip kmnip added the bug Something isn't working label Aug 13, 2022
@kmnip kmnip added the to be released An update will be available in the next release label Sep 8, 2022
@kmnip kmnip closed this as completed Mar 17, 2023
@kmnip kmnip removed the to be released An update will be available in the next release label Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants