-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
LZ_M2
Dataset_DIR:
/restricted/projectnb/waxmanlab/kkarri/liver_zonation
Sample_Labels_DIR:
/restricted/projectnb/waxmanlab/kkarri/liver_zonation/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/liver_zonation/Scripts/07a_Extract_Counts_HTSeq
ANNOTATION_FILE:
genes.gtf
FEATURE_TYPE:
exon
-----------------------
End of variable list
-----------------------
==========================================================
Starting on : Wed May  9 18:45:18 EDT 2018
Running on node : scc-kb2
Current directory : /restricted/projectnb/waxmanlab/kkarri/liver_zonation/Scripts/07a_Extract_Counts_HTSeq
Current job ID : 6138160
Current job name : Step_07a_LZ_M2
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/6138160.1.linga

Loading required modules...


List files in scratch directory:

total 456M
drwx------   2 kkarri waxmanlab 4.0K May  9 18:45 .
drwxrwxrwt. 54 root   root       92K May  9 18:45 ..
-rw-r--r--   1 kkarri waxmanlab    0 May  9 18:45 LZ_M2_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 375M May  9 18:45 LZ_M2_primary_unique.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M May  9 18:45 genes.gtf

Starting to run my commands


Starting samtools and htseq-count

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

Ending samtools and htseq-count


List files in scratch

total 1.1G
drwx------   2 kkarri waxmanlab 4.0K May  9 18:51 .
drwxrwxrwt. 71 root   root       92K May  9 19:19 ..
-rw-r--r--   1 kkarri waxmanlab 236K May  9 19:19 LZ_M2_HTSeq.out
-rw-r--r--   1 kkarri waxmanlab 375M May  9 18:45 LZ_M2_primary_unique.bam
-rw-r--r--   1 kkarri waxmanlab 610M May  9 18:51 LZ_M2_sorted.bam
-rwxr-xr-x   1 kkarri waxmanlab  81M May  9 18:45 genes.gtf
==========================================================
Finished on : Wed May  9 19:19:44 EDT 2018
0 hours, 34 minutes and 26 seconds elapsed.
==========================================================
