-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
G123_M3
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:37 EST 2018
Running on node : scc-kb5
Current directory : /restricted/projectnb/waxmanlab/kkarri/G123_Env/Scripts/08a_Extract_Counts_HTSeq
Current job ID : 365162
Current job name : Step_08a_G123_M3
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/365162.1.linga

Loading required modules...


List files in scratch directory:

total 1.3G
drwx------   2 kkarri waxmanlab 4.0K Dec 18 18:55 .
drwxrwxrwt. 40 root   root      268K Dec 18 18:53 ..
-rw-r--r--   1 kkarri waxmanlab    0 Dec 18 18:55 G123_M3_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.2G Dec 18 18:54 G123_M3_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab  72M Dec 18 18:55 RefSeq_GeneBody.gtf

Starting to run my commands


Starting samtools and htseq-count

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

Ending samtools and htseq-count


List files in scratch

total 3.0G
drwx------   2 kkarri waxmanlab 4.0K Dec 18 19:14 .
drwxrwxrwt. 27 root   root      268K Dec 18 20:09 ..
-rw-r--r--   1 kkarri waxmanlab 244K Dec 18 20:09 G123_M3_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.2G Dec 18 18:54 G123_M3_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab 1.7G Dec 18 19:14 G123_M3_sorted.bam
-rw-r--r--   1 kkarri waxmanlab  72M Dec 18 18:55 RefSeq_GeneBody.gtf
==========================================================
Finished on : Tue Dec 18 20:09:43 EST 2018
1 hours, 15 minutes and 6 seconds elapsed.
==========================================================
