Entering edit mode
8.2 years ago
mink2mink2
•
0
Hi, people.
$sudo fastqc abc.basecaller.bam -o /mgm_test/
Exception in thread "main" java.lang.NoClassDefFoundError: htsjdk/samtools/SAMFormatException
at uk.ac.babraham.FastQC.Sequence.SequenceFactory.getSequenceFile(SequenceFactory.java:100)
at uk.ac.babraham.FastQC.Sequence.SequenceFactory.getSequenceFile(SequenceFactory.java:62)
at uk.ac.babraham.FastQC.Analysis.OfflineRunner.processFile(OfflineRunner.java:129)
at uk.ac.babraham.FastQC.Analysis.OfflineRunner.<init>(OfflineRunner.java:102)
at uk.ac.babraham.FastQC.FastQCApplication.main(FastQCApplication.java:316)
Caused by: java.lang.ClassNotFoundException: htsjdk.samtools.SAMFormatException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 5 more
Somebody help me...what's wrong here?
I am getting the same error. Anyone knows the solution? help!
Consider @Devon's solutions first. Are you using a FastQC install that is known to work?
Hi. Thanks for your reply. Yes, FastQC I am used works fine with fastq files, both from the terminal level and when using GUI. However it displays this error when .sam or .bam is used as input (same with or without sudo).
OK. Solved. Reinstalling (likely also updating) Java helped.