Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hi,
    I am new to NGS bioinformatics and am trying to use Fastqc on Illumina paired end reads. I keep getting the error:

    Exception in thread "main" java.lang.NoClassDefFoundError: uk.ac.babraham.FastQC.FastQCApplication
    at java.lang.Class.initializeClass(libgcj.so.10)
    Caused by: java.lang.ClassFormatError: uk.ac.babraham.FastQC.Modules.QCModule (erroneous constant pool tag)


    Any insight would be very helpful. Thank you in advance for your help!

    Comment


    • What version of FastQC are you using,

      and what is the command you used to run FastQC?

      Comment


      • This looks like the download you have is corrupted. That error is an internal error in the validation of the class files.

        I suspect if you go back and re-download and extract the fastqc install again it will fix itself.

        Comment


        • Thank you for all the help! You're right the download was corrupted.

          Comment


          • Hello there

            I can't solve that problem by myself I have this error , I have no idea to solve it. I would need some good advice. Here it is below
            Thx.

            nono@nono-VGN-NS31M-W:~/FastQC$ fastqc ~/bioinfo/ngs/exercice_edgeR/reads/Galaxy5-\[brain_2.fastq\].fa
            Started analysis of Galaxy5-[brain_2.fastq].fa
            Approx 5% complete for Galaxy5-[brain_2.fastq].fa
            Approx 10% complete for Galaxy5-[brain_2.fastq].fa
            Approx 15% complete for Galaxy5-[brain_2.fastq].fa
            Approx 20% complete for Galaxy5-[brain_2.fastq].fa
            Approx 25% complete for Galaxy5-[brain_2.fastq].fa
            Approx 30% complete for Galaxy5-[brain_2.fastq].fa
            Approx 35% complete for Galaxy5-[brain_2.fastq].fa
            Approx 40% complete for Galaxy5-[brain_2.fastq].fa
            Approx 45% complete for Galaxy5-[brain_2.fastq].fa
            Approx 50% complete for Galaxy5-[brain_2.fastq].fa
            Approx 55% complete for Galaxy5-[brain_2.fastq].fa
            Approx 60% complete for Galaxy5-[brain_2.fastq].fa
            Approx 65% complete for Galaxy5-[brain_2.fastq].fa
            Approx 70% complete for Galaxy5-[brain_2.fastq].fa
            Approx 75% complete for Galaxy5-[brain_2.fastq].fa
            Approx 80% complete for Galaxy5-[brain_2.fastq].fa
            Approx 85% complete for Galaxy5-[brain_2.fastq].fa
            Approx 90% complete for Galaxy5-[brain_2.fastq].fa
            Approx 95% complete for Galaxy5-[brain_2.fastq].fa
            Approx 100% complete for Galaxy5-[brain_2.fastq].fa
            Analysis complete for Galaxy5-[brain_2.fastq].fa
            Failed to process file Galaxy5-[brain_2.fastq].fa
            java.lang.NullPointerException
            at uk.ac.babraham.FastQC.Report.HTMLReportArchive.startDocument(HTMLReportArchive.java:170)
            at uk.ac.babraham.FastQC.Report.HTMLReportArchive.<init>(HTMLReportArchive.java:60)
            at uk.ac.babraham.FastQC.Analysis.OfflineRunner.analysisComplete(OfflineRunner.java:157)
            at uk.ac.babraham.FastQC.Analysis.AnalysisRunner.run(AnalysisRunner.java:108)
            at java.lang.Thread.run(Thread.java:744)
            Gene R' Us!

            Comment


            • Originally posted by shurjo View Post
              Hi Simon,

              I would really like to use FastQC for my project but am getting the following error message when I try to run it non-interactively on our Linux cluster:

              $ java -Xmx250m -cp ~/bin/fastqc/FastQC

              uk.ac.bbsrc.babraham.FastQC.FastQCApplication testFastQC.fastq
              Exception in thread "main" java.awt.HeadlessException:
              No X11 DISPLAY variable was set, but this program performed an operation which requires it.
              at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
              at java.awt.Window.<init>(Window.java:431)
              at java.awt.Frame.<init>(Frame.java:403)
              at java.awt.Frame.<init>(Frame.java:368)
              at javax.swing.JFrame.<init>(JFrame.java:158)
              at uk.ac.bbsrc.babraham.FastQC.FastQCApplication.<init>(FastQCApplication.java:197)
              at uk.ac.bbsrc.babraham.FastQC.FastQCApplication.main(FastQCApplication.java:63)

              These are the details for our java installation:

              [sensh@saturn FastQC]$ java -version
              java version "1.6.0_17"
              Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
              Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

              Any pointers?

              Thanks,

              Shurjo

              I know this is basic and sorry if you would have tried... But if you have SSH server, try to connect with this

              ssh -XY user@yourserver

              And try to open your graphical programs with terminal.

              Comment


              • Thank you but it didn't help. The error is different I don't have a graphical problem, it's more about a class that java doesn't find when it wants to create the HTML fastqc file. Anybody help ?
                Gene R' Us!

                Comment


                • I had a look in the code. That error suggests that you might have deleted or moved the Templates/Icons directory in the fastqc install. You are free to add more stuff into the templates directory to customise your reports but you have to leave the icons which come with the program in place.

                  Comment


                  • I've just seen that there are two conversations which seem to be getting conflated here. Just to be clear, it's le.nono who has the problem with the templates directory, and shurjo who is trying to run FastQC interactively in a unix session without an X tunnel set up.

                    Comment


                    • Got it thank you Simon!
                      Gene R' Us!

                      Comment


                      • Well I've reinstall fastqc, still have the same error. I've tried on Galaxy, with the same file it works fine...
                        Gene R' Us!

                        Comment


                        • My problem is solved thank you! Your comment helped me to investigate, and came from my user Ubuntu access rights.
                          Gene R' Us!

                          Comment


                          • Hi,
                            I have installed FastQC on OSX 10.9.1 and have java version java version "1.6.0_65"
                            Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
                            Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

                            but when I run FastQC, I get error:
                            Exception in thread "main" java.lang.NoClassDefFoundError: uk/ac/babraham/FastQC/FastQCApplication
                            Caused by: java.lang.ClassNotFoundException: uk.ac.babraham.FastQC.FastQCApplication
                            at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                            at java.security.AccessController.doPrivileged(Native Method)
                            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
                            at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                            Any suggession to solve it?
                            Thanks

                            Comment


                            • Originally posted by F_KVH View Post
                              Hi,
                              I have installed FastQC on OSX 10.9.1 and have java version java version "1.6.0_65"
                              Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
                              Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

                              but when I run FastQC, I get error:
                              Exception in thread "main" java.lang.NoClassDefFoundError: uk/ac/babraham/FastQC/FastQCApplication
                              Caused by: java.lang.ClassNotFoundException: uk.ac.babraham.FastQC.FastQCApplication
                              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
                              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
                              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
                              Any suggession to solve it?
                              Thanks
                              This error suggests that the program isn't able to find the installation folder correctly to find its other resources. There are a number of possible reasons for this included corrupted downloads or mis-extracted zip files, but the most common cause we've seen is that the fastqc program has been copied out of the installation folder to another location (often /usr/local/bin/ so it ends up in the path). If you want to add fastqc to your path then you need to link (using ln -s ) rather than copy the fastqc launcher program into your path.

                              A quick check to see if this is the case would be to run

                              which fastqc

                              The location returned should either be the fastqc program inside the full installation folder, or a link to that file. If it's anything else then that will be why the launcher is failing.

                              If it's not that then I'd suggest re-downloading and extracting the software as it could be that there are simply files missing from the installation.

                              Comment


                              • Dear Simon,
                                Thanks for your help. I installed again & now it works. Do you think I need to install xcode app?
                                Best regards

                                Comment

                                Latest Articles

                                Collapse

                                • seqadmin
                                  Strategies for Sequencing Challenging Samples
                                  by seqadmin


                                  Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                                  03-22-2024, 06:39 AM
                                • seqadmin
                                  Techniques and Challenges in Conservation Genomics
                                  by seqadmin



                                  The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                                  Avian Conservation
                                  Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                                  03-08-2024, 10:41 AM

                                ad_right_rmr

                                Collapse

                                News

                                Collapse

                                Topics Statistics Last Post
                                Started by seqadmin, Yesterday, 06:37 PM
                                0 responses
                                8 views
                                0 likes
                                Last Post seqadmin  
                                Started by seqadmin, Yesterday, 06:07 PM
                                0 responses
                                8 views
                                0 likes
                                Last Post seqadmin  
                                Started by seqadmin, 03-22-2024, 10:03 AM
                                0 responses
                                49 views
                                0 likes
                                Last Post seqadmin  
                                Started by seqadmin, 03-21-2024, 07:32 AM
                                0 responses
                                67 views
                                0 likes
                                Last Post seqadmin  
                                Working...
                                X