I am trying to obtain time stamps for each run analysis am doing on my samples for a jar program. It is a bioinformatics tool and I am using it to run on my samples however the time statistics are not showing up in the log. I have made use of the same command for running shell or bash programs and obtains the time statistics but with the jar my program is running but it is not giving the time frames for the different stamps I intend to obtain. Below is the piece of chunk am using, can anyone tell me how to make changes to obtain the the time statistics?
#!/bin/sh
#
#$ -N tigar2_run3
#$ -cwd
#$ -e err_tigar2_run3.txt
#$ -o out_tigar2_run3.txt
#$ -S /bin/sh
#$ -M vXXXXX.XX@xxx.com
#$ -m bea
#$ -l h_vmem=25G
REF_GENOME=/my_path/genomes/Homo_sapiens/NCBI_spiked/GRCh38/Sequence/RSEM.STAR/transcriptome.idx.fa
TIGAR2_LOC=/my_path/softwares/tigar2-master
TIGAR_OUT=/my_path/benchmark/QT/tigar
BAM_LOC=/my_path/benchmark/BAM/star.rsem
tf="\n%E elapsed,\n%U user,\n%S system, \n %P CPU, \n%M max-mem footprint in KB, \n%t avg-mem footprint in KB, \n%K Average total (data+stack+text) memory,\n%F major page faults, \n%I file system inputs by the process, \n%O file system outputs by the process, \n%r socket messages received, \n%s socket messages sent, \n%x status"
/my_path/softwares/time -f "$tf" java -Xmx14G -jar $TIGAR2_LOC/Tigar2_1.jar --thread_num 8 $REF_GENOME $BAM_LOC/AJ80.transcript.sorted.bam --is_paired --alpha_zero 0.1 $TIGAR_OUT/AJ80_out.txt
echo "done"
I am getting the output files but not the time statistics in my log