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

Exception in thread "main" java.util.InputMismatchException #100

Open
danli349 opened this issue Dec 2, 2022 · 0 comments
Open

Exception in thread "main" java.util.InputMismatchException #100

danli349 opened this issue Dec 2, 2022 · 0 comments

Comments

@danli349
Copy link

danli349 commented Dec 2, 2022

Hello,

I run

samtools view -H C1.FINAL.BAM | perl -ne 'if(/^@SQ.*?SN:(\w+)\s+LN:(\d+)/){print $1,"\t",$2,"\n"}' > genomeinfo/C1.FINAL.BAM
java -jar ~/HMMRATAC_V1.2.10_exe.jar -b C1.FINAL.BAM -i C1.FINAL.BAM.bai -g genomeinfo/C1.FINAL.BAM

But got this error:

Exception in thread "main" java.util.InputMismatchException
        at java.base/java.util.Scanner.throwFor(Scanner.java:939)
        at java.base/java.util.Scanner.next(Scanner.java:1594)
        at java.base/java.util.Scanner.nextInt(Scanner.java:2258)
        at java.base/java.util.Scanner.nextInt(Scanner.java:2212)
        at GenomeFileReaders.GenomeFileReader.<init>(GenomeFileReader.java:65)
        at HMMR_ATAC.Main_HMMR_Driver.main(Main_HMMR_Driver.java:165)

Can you please let me know how can I fix it?

Thanks a lot.

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

No branches or pull requests

1 participant