-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
G170_M19
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-kb1
Current directory : /net/waxman-server/mnt/data/waxmanlabvm_home/kkarri/G170/Scripts/08a_Extract_Counts_HTSeq
Current job ID : 9162080
Current job name : Step_08a_G170_M19
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/9162080.1.linga

Loading required modules...


List files in scratch directory:

total 2.0G
drwx------   2 kkarri waxmanlab 4.0K Sep  5 16:30 .
drwxrwxrwt. 49 root   root      4.0K Sep  5 16:03 ..
-rw-r--r--   1 kkarri waxmanlab    0 Sep  5 16:30 G170_M19_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.9G Sep  5 16:29 G170_M19_primary_unique.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M Sep  5 16:29 genes.gtf

Starting to run my commands


Starting samtools and htseq-count

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

Ending samtools and htseq-count


List files in scratch

total 5.8G
drwx------   2 kkarri waxmanlab 4.0K Sep  5 17:00 .
drwxrwxrwt. 51 root   root      4.0K Sep  5 17:56 ..
-rw-r--r--   1 kkarri waxmanlab 243K Sep  5 18:14 G170_M19_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.9G Sep  5 16:29 G170_M19_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab 3.8G Sep  5 17:00 G170_M19_sorted.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M Sep  5 16:29 genes.gtf
==========================================================
Finished on : Thu Sep  5 18:14:11 EDT 2019
2 hours, 10 minutes and 4 seconds elapsed.
==========================================================
