Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NGS group
    Member
    • Apr 2013
    • 28

    #1

    Running errors showed by BRIG

    Hi all,

    I am trying to learn using BRIG for genome comparative study. I followed the manual step by step. However, after submitting my work, BRIG gave an error as follow:

    "Rendering CGVIEW image...
    java -Xmx1500m -jar cgview\cgview.jar -f jpg -i C:\NGS\Genomecomparison\Output\scratch\EC338.fa.xml -o C:\NGS\Genomecomparison\Output\EC338.fa.jpg
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    SYS_ERROR:Error: Could not create the Java Virtual Machine.
    SYS_ERROR:Error: A fatal exception has occurred. Program will exit.
    Done."


    I tried to reinstall the Java program, but it was useless. BTW, my computer has 32G memory.

    Is there anyone can tell me how can I solve this problem?

    Thank you very much!

    Victor
  • sromero
    Junior Member
    • Oct 2010
    • 2

    #2
    Hi,

    Although you have that amount of memory you might want to try making smaller the amount of memory that BRIG is using. This can be done in the "Image render memory" option of the BRIG's image settings.

    Hope this helps.

    Comment

    • NGS group
      Member
      • Apr 2013
      • 28

      #3
      Hi Sromero,

      Thanks for your reply. I already solved my problem. However, I get another problem is that I could not get all rings after running finished, even I tried with the Example data from BRIG tutorial. Do you have any idea about that?

      Thank you!

      Comment

      • sromero
        Junior Member
        • Oct 2010
        • 2

        #4
        Hi,

        This I have seen that happens when you don' t specify some data from the data pool to every ring. Yo can check this in the "Customize rings" section that follows after you start a BRIG project. By the way, what was your solution for the previous memory problem?.

        Comment

        • NGS group
          Member
          • Apr 2013
          • 28

          #5
          The memory problem was due to the version of Java. My computer is win 64bit, and both 32bit and 64 bit version of java have been installed. The program would use 32bit version automatically, which does not support memory > 1.5G (the default setting of BRIG). So, the solution is just uninstallation of 32bit version java.

          Anyway, thanks for your helps.

          Comment

          • NGS group
            Member
            • Apr 2013
            • 28

            #6
            I found that this is not the reason of my problem. Are there any other possibilities?


            Originally posted by sromero View Post
            Hi,

            This I have seen that happens when you don' t specify some data from the data pool to every ring. Yo can check this in the "Customize rings" section that follows after you start a BRIG project. By the way, what was your solution for the previous memory problem?.

            Comment

            • mcastro
              Junior Member
              • May 2011
              • 7

              #7
              BRIG error in multi-fasta tutorial

              Hi,
              I have the same problem when I try with multi-fasta example tutorial. I get this error:
              java.lang.IllegalArgumentException: Comparison method violates its general contract!
              at java.util.TimSort.mergeHi(TimSort.java:868)
              at java.util.TimSort.mergeAt(TimSort.java:485)
              at java.util.TimSort.mergeCollapse(TimSort.java:410)
              at java.util.TimSort.sort(TimSort.java:214)
              at java.util.TimSort.sort(TimSort.java:173)
              at java.util.Arrays.sort(Arrays.java:659)
              at brig.Main.reverseBlast(Main.java:206)
              at brig.Main.BlastMaster(Main.java:1494)
              at brig.Main.ParseBlast(Main.java:1352)
              at brig.Three2.compute(Three2.java:337)
              at brig.Three2.access$300(Three2.java:33)
              at brig.Three2$4.run(Three2.java:234)

              The rings corresponding to this error appear empty. Anyone solved this problem?

              Thanks!

              Comment

              • AnaCarol
                Junior Member
                • Sep 2014
                • 1

                #8
                I am receiving the same message. Has anyone solved it yet?

                Comment

                • reubennowell
                  Member
                  • Jan 2013
                  • 18

                  #9
                  Originally posted by mcastro View Post
                  Hi,
                  I have the same problem when I try with multi-fasta example tutorial. I get this error:
                  java.lang.IllegalArgumentException: Comparison method violates its general contract!
                  at java.util.TimSort.mergeHi(TimSort.java:868)
                  at java.util.TimSort.mergeAt(TimSort.java:485)
                  at java.util.TimSort.mergeCollapse(TimSort.java:410)
                  at java.util.TimSort.sort(TimSort.java:214)
                  at java.util.TimSort.sort(TimSort.java:173)
                  at java.util.Arrays.sort(Arrays.java:659)
                  at brig.Main.reverseBlast(Main.java:206)
                  at brig.Main.BlastMaster(Main.java:1494)
                  at brig.Main.ParseBlast(Main.java:1352)
                  at brig.Three2.compute(Three2.java:337)
                  at brig.Three2.access$300(Three2.java:33)
                  at brig.Three2$4.run(Three2.java:234)

                  The rings corresponding to this error appear empty. Anyone solved this problem?

                  Thanks!
                  I was having the same issues, and I think it's do with the version of Java you are running. BRIG was written in Java 1.6, I don't think it works with 1.7 (on my system anyway). On Ubuntu, try
                  Code:
                  java -version
                  to see what version you are running, then you can change to 1.6 with:

                  Code:
                  sudo update-alternatives --config java
                  type the number corresponding to Java 6, hit enter, and try BRIG again. This worked for me at least.

                  Comment

                  • inahw
                    Junior Member
                    • Apr 2015
                    • 1

                    #10
                    Hi all I'm having some issue finding the output image file (.png or .jpg) from BRIG no matter what I run they don't appear in the scratch folder all I get is the .xml and .tab files…

                    I'm new to BRIG and would be really grateful for some help!

                    Thanks

                    Roseina

                    Comment

                    • bastianwur
                      Member
                      • Feb 2014
                      • 98

                      #11
                      I'm not sure why, but there seems to be some incompatibility with the latest java version. Either switch back to an older one (no idea which), or try the developers version (also in the download directory).

                      Comment

                      • fpj
                        Junior Member
                        • Nov 2015
                        • 4

                        #12
                        Running BLAST and that's it!

                        I've previously used BRIG with no problems but this time I click submit and it says Running BLAST..... and that's it. I can leave it for forever and nothing will change. I've tried uninstalling blast+ and reinstalling it, the same with java and no help. Anyone have this problem too and how can I fix it? I don't understand why it's not doing anything!

                        Thanks,
                        Frances

                        Comment

                        • wlud
                          Junior Member
                          • Aug 2012
                          • 1

                          #13
                          Thanks @reubennowell. I was having similar problems with BRIG not displaying rings of BLAST results. Starting BRIG from the command line with Java6 (a.k.a. Java 1.6) fixes my problem.

                          First navigate into the BRIG-x.xx-dist folder on command line and then execute:

                          Code:
                          wlud$ /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java 
                          -Xmx1500M -jar BRIG.jar
                          BRIG now does what it's supposed to do, which is lovely.

                          I'm on MacOSX 10.11.5

                          Comment

                          • melisechaves
                            Junior Member
                            • Aug 2019
                            • 1

                            #14
                            Did you solved this?

                            "I've previously used BRIG with no problems but this time I click submit and it says Running BLAST..... and that's it. I can leave it for forever and nothing will change. I've tried uninstalling blast+ and reinstalling it, the same with java and no help. Anyone have this problem too and how can I fix it? I don't understand why it's not doing anything!"

                            Thanks!
                            Last edited by melisechaves; 06-19-2020, 11:39 AM.

                            Comment

                            • GenoMax
                              Senior Member
                              • Feb 2008
                              • 7142

                              #15
                              A long shot. Blast indexes changed to a new version as of Feb 2020. I am not sure where you are running this but if BRIG has not been updated to account for that, it may be causing this problem.

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                                by SEQadmin2



                                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                                ...
                                10-14-2026, 09:55 AM
                              • SEQadmin2
                                New Genomics Technologies Take Aim at Long-Standing Limits
                                by SEQadmin2


                                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                                ...
                                09-28-2026, 10:25 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Yesterday, 10:52 AM
                              0 responses
                              8 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-14-2026, 05:39 AM
                              0 responses
                              19 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-13-2026, 09:56 AM
                              0 responses
                              15 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-09-2026, 11:14 AM
                              0 responses
                              27 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...