-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
G170_M25
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:08 EDT 2019
Running on node : scc-kb6
Current directory : /net/waxman-server/mnt/data/waxmanlabvm_home/kkarri/G170/Scripts/08a_Extract_Counts_HTSeq
Current job ID : 9162104
Current job name : Step_08a_G170_M25
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/9162104.1.linga

Loading required modules...


List files in scratch directory:

total 1.9G
drwx------   2 kkarri waxmanlab 4.0K Sep  5 16:31 .
drwxrwxrwt. 33 root   root      4.0K Sep  5 16:03 ..
-rw-r--r--   1 kkarri waxmanlab    0 Sep  5 16:31 G170_M25_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.8G Sep  5 16:28 G170_M25_primary_unique.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M Sep  5 16:28 genes.gtf

Starting to run my commands


Starting samtools and htseq-count

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

Ending samtools and htseq-count


List files in scratch

total 5.3G
drwx------   2 kkarri waxmanlab 4.0K Sep  5 17:15 .
drwxrwxrwt. 36 root   root      4.0K Sep  5 18:43 ..
-rw-r--r--   1 kkarri waxmanlab 241K Sep  5 19:11 G170_M25_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 1.8G Sep  5 16:28 G170_M25_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab 3.5G Sep  5 17:15 G170_M25_sorted.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M Sep  5 16:28 genes.gtf
==========================================================
Finished on : Thu Sep  5 19:11:47 EDT 2019
3 hours, 7 minutes and 39 seconds elapsed.
==========================================================
