Unconfigured Ad

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

    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
                                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by SEQadmin2


                                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                                Here are nine questions we think about, in roughly the order they matter, before...
                                06-18-2026, 07:11 AM
                              • SEQadmin2
                                From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                                by SEQadmin2


                                Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                                The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                                ...
                                06-02-2026, 10:05 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Yesterday, 05:37 AM
                              0 responses
                              6 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-26-2026, 11:10 AM
                              0 responses
                              16 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-17-2026, 06:09 AM
                              0 responses
                              50 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-09-2026, 11:58 AM
                              0 responses
                              110 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...