-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
G123_M8
Dataset_DIR:
/restricted/projectnb/waxmanlab/kkarri/G123_Env
Sample_Labels_DIR:
/restricted/projectnb/waxmanlab/kkarri/G123_Env/Scripts/00_Setup_Pipeline
GTF_Files_DIR:
/unprotected/projects/waxmanlab/routines/GTF_Files
MODE:
intersection-nonempty
STRANDEDNESS_HTSeq:
reverse
FEATURE_ID:
gene_id
SCRIPT_DIR:
/restricted/projectnb/waxmanlab/kkarri/G123_Env/Scripts/08a_Extract_Counts_HTSeq
ANNOTATION_FILE:
RefSeq_GeneBody.gtf
FEATURE_TYPE:
exon
-----------------------
End of variable list
-----------------------
==========================================================
Starting on : Tue Dec 18 18:54:01 EST 2018
Running on node : scc-ka5
Current directory : /restricted/projectnb/waxmanlab/kkarri/G123_Env/Scripts/08a_Extract_Counts_HTSeq
Current job ID : 365182
Current job name : Step_08a_G123_M8
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/365182.1.linga

Loading required modules...


List files in scratch directory:

total 1.4G
drwx------   2 kkarri waxmanlab 4.0K Dec 18 18:59 .
drwxrwxrwt. 30 root   root      128K Dec 18 18:53 ..
-rw-r--r--   1 kkarri waxmanlab    0 Dec 18 18:59 G123_M8_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.3G Dec 18 18:58 G123_M8_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab  72M Dec 18 18:59 RefSeq_GeneBody.gtf

Starting to run my commands


Starting samtools and htseq-count

samtools view G123_M8'_sorted'.bam | htseq-count --stranded=reverse --type=exon --idattr=gene_id --order=name --mode=intersection-nonempty - RefSeq_GeneBody.gtf  > G123_M8_HTSeq.out

Ending samtools and htseq-count


List files in scratch

total 3.1G
drwx------   2 kkarri waxmanlab 4.0K Dec 18 19:17 .
drwxrwxrwt. 27 root   root      128K Dec 18 20:15 ..
-rw-r--r--   1 kkarri waxmanlab 245K Dec 18 20:17 G123_M8_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.3G Dec 18 18:58 G123_M8_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab 1.8G Dec 18 19:17 G123_M8_sorted.bam
-rw-r--r--   1 kkarri waxmanlab  72M Dec 18 18:59 RefSeq_GeneBody.gtf
==========================================================
Finished on : Tue Dec 18 20:18:01 EST 2018
1 hours, 24 minutes and 0 seconds elapsed.
==========================================================
