-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
G170_M16
Dataset_DIR:
/net/waxman-server/mnt/data/waxmanlabvm_home/kkarri/G170
Sample_Labels_DIR:
/net/waxman-server/mnt/data/waxmanlabvm_home/kkarri/G170/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:
/net/waxman-server/mnt/data/waxmanlabvm_home/kkarri/G170/Scripts/08a_Extract_Counts_HTSeq
ANNOTATION_FILE:
genes.gtf
FEATURE_TYPE:
exon
-----------------------
End of variable list
-----------------------
==========================================================
Starting on : Thu Sep  5 16:04:07 EDT 2019
Running on node : scc-kb4
Current directory : /net/waxman-server/mnt/data/waxmanlabvm_home/kkarri/G170/Scripts/08a_Extract_Counts_HTSeq
Current job ID : 9162068
Current job name : Step_08a_G170_M16
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/9162068.1.linga

Loading required modules...


List files in scratch directory:

total 2.8G
drwx------   2 kkarri waxmanlab 4.0K Sep  5 16:32 .
drwxrwxrwt. 46 root   root      4.0K Sep  5 16:03 ..
-rw-r--r--   1 kkarri waxmanlab    0 Sep  5 16:32 G170_M16_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 2.8G Sep  5 16:32 G170_M16_primary_unique.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M Sep  5 16:32 genes.gtf

Starting to run my commands


Starting samtools and htseq-count

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

Ending samtools and htseq-count


List files in scratch

total 8.4G
drwx------   2 kkarri waxmanlab 4.0K Sep  5 17:15 .
drwxrwxrwt. 44 root   root      4.0K Sep  5 18:58 ..
-rw-r--r--   1 kkarri waxmanlab 246K Sep  5 19:13 G170_M16_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 2.8G Sep  5 16:32 G170_M16_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab 5.6G Sep  5 17:15 G170_M16_sorted.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M Sep  5 16:32 genes.gtf
==========================================================
Finished on : Thu Sep  5 19:13:30 EDT 2019
3 hours, 9 minutes and 23 seconds elapsed.
==========================================================
