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.
Comment