I have just started learning bioinformatics in my lab and I am a complete newbie. I am using a genome annotation tool called Kofamscan from NCBI and I am getting an error that could be due to the fact results of multiple processes are being stored in the same temp directory and the files are collapsing. So I want to create separate temp directories per process (temp1 for process1, temp2 for process2,...etc) but I don't know how to write the code that enables it.
files=(`cat kofam_files`) #input files
TASK_ID = `expr ${SGE_TASK_ID} -1`
~/kofamscan/bin/exec_annotation -o marine_kofam.txt --tmp-dir **** ${files[$TASK_ID]}
I probably need to write something in the ****
section of the above code but I don't know how to write them.
Thank you in advance.
Ryohei