Hello everyone
I was trying to run trinity tool
I tried this command for assembly
perl Trinity \
--seqType fq \
--single /home/tuttu/ngs/trinityrnaseq-2.1.1/011.fq \
--CPU 4 \
--max_memory 10G \
--output /home/tuttu/ngs/trinityrnaseq-2.1.1/trinity_output_data
It outputs the following error
tuttu@kau:~/ngs/trinityrnaseq-2.1.1$ perl Trinity --seqType fq --single /home/tuttuu/ngs/trinityrnaseq-2.1.1/011.fq --CPU 4 --max_memory 10G --output /home/jinu/ngs/trinityrnaseq-2.1.1/trinity_output_data
Trinity version: v2.1.1
-currently using the latest production release of Trinity.
Thursday, November 26, 2015: 17:22:25 CMD: java -Xmx64m -XX:ParallelGCThreads=2 -jar /home/tuttu/ngs/trinityrnaseq-2.1.1/util/support_scripts/ExitTester.jar 0
Thursday, November 26, 2015: 17:22:25 CMD: java -Xmx64m -XX:ParallelGCThreads=2 -jar /home/tuttu/ngs/trinityrnaseq-2.1.1/util/support_scripts/ExitTester.jar 1
Thursday, November 26, 2015: 17:22:26 CMD: mkdir -p /home/tuttu/ngs/trinityrnaseq-2.1.1/trinity_output_data
mkdir: cannot create directory '/home/tuttu/ngs/trinityrnaseq-2.1.1/trinity_output_data': Permission denied
Error, cmd: mkdir -p /home/tuttu/ngs/trinityrnaseq-2.1.1/trinity_output_data died with ret 256 at Trinity line 2183.
Thank you
I don't know whether it is right or wrong when I give sudo before that command now its running .. I am new to linux , if I am doing anything wrong, please let me know , as I am working on my institute server system through SSH,
Thank you
It's a permissions problem on the perl script. You shouldn't have to use sudo to run anything besides administration tasks. I'd recommend asking your system administrator to allow execution of this script by a group ID (gid) that you are a part of, else make it executable by all.