Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • JAVA in mac

    Hi to all, I want to run trinity in the iMAC of my work, it has 10.7 Lion, and I had downloaded thousands of times java from the oracle page, but this is still the answer of trinity, please, help me

    Code:
    ./runMe.sh #!/bin/bash -ve
    
    
    if [ -e reads.right.fq.gz ] && [ ! -e reads.right.fq ]; then
        gunzip -c reads.right.fq.gz > reads.right.fq
    fi
    
    if [ -e reads.left.fq.gz ] && [ ! -e reads.left.fq ]; then
        gunzip -c reads.left.fq.gz > reads.left.fq
    fi
    
    if [ -e reads2.right.fq.gz ] && [ ! -e reads2.right.fq ]; then
        gunzip -c reads2.right.fq.gz > reads2.right.fq
    fi
    
    if [ -e reads2.left.fq.gz ] && [ ! -e reads2.left.fq ]; then
        gunzip -c reads2.left.fq.gz > reads2.left.fq
    fi
    
    
    
    #######################################################
    ##  Run Trinity to Generate Transcriptome Assemblies ##
    #######################################################
    
    ../../Trinity --seqType fq --max_memory 2G --left reads.left.fq.gz,reads2.left.fq.gz --right reads.right.fq.gz,reads2.right.fq.gz --SS_lib_type RF --CPU 4
    Use of uninitialized value $java_version in pattern match (m//) at ../../Trinity line 818.
    
    
    
    ********************************************************************
    ** Warning, Trinity cannot determine which version of Java is being used.  Version 1.7 is required. 
    
    Attempting to continue in 30 seconds
    ********************************************************************
    
    
    Trinity version: v2.0.6
    -currently using the latest production release of Trinity.
    
    Error, cannot find 'java'.  Please be sure it is available within your ${PATH} setting and then try again. at ../../Trinity line 2193.

  • #2
    What happens when you type "java --version"?

    Comment


    • #3
      See if the answer in this thread helps: http://stackoverflow.com/questions/2...t-java-version

      Comment


      • #4
        Ir say java comand not found

        Comment


        • #5
          You don't have Java installed at all?

          Comment


          • #6
            No, evento when I download the dmg, and follow the instructions

            Comment


            • #7
              For 10.7.3 and above, Java 8 from Oracle is supposed to work. Are you at that patch level?
              Last edited by GenoMax; 04-14-2015, 03:48 AM.

              Comment


              • #8
                Lion 10.7.5, I download the java8_40

                Comment


                • #9
                  You do have admin rights to install software on this computer?

                  Comment


                  • #10
                    Yes I have

                    Comment


                    • #11
                      Do you get errors or what? Obviously you need to sort out the java problem first (tried to get Java 1.6 from apple?).

                      Before you go much further, what kind of assembly project do you have in mind? Trinity requires significant amount of RAM and if you are running an iMac (with 10.7) that may become a limiting factor.

                      Comment


                      • #12
                        This is what happend when I try to install JAVA and run ./runMe.sh in mac


                        I'm aware of the limiting factor of the ram, but I just need to run 8M fastq and do nothing more in this mac

                        Comment


                        • #13
                          Since you have now installed java (I think that is what the left half of the screenshot says) I will refer you back to posts #2 and 3. Tell us what happens when you try Brian's suggestion in #2 and then try to set the $java_version variable per #3.

                          Comment


                          • #14
                            java -version
                            -bash: java: command not found

                            Comment


                            • #15
                              I have installed Java from this dmg at least 10 times, and also from the version 7 and 6

                              Comment

                              Latest Articles

                              Collapse

                              • seqadmin
                                Recent Developments in Metagenomics
                                by seqadmin





                                Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                                09-23-2024, 06:35 AM
                              • seqadmin
                                Understanding Genetic Influence on Infectious Disease
                                by seqadmin




                                During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                                Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                                09-09-2024, 10:59 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, 10-02-2024, 04:51 AM
                              0 responses
                              13 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 10-01-2024, 07:10 AM
                              0 responses
                              21 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 09-30-2024, 08:33 AM
                              0 responses
                              25 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 09-26-2024, 12:57 PM
                              0 responses
                              18 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X