-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
G160_M2
Dataset_DIR:
/restricted/projectnb/waxmanlab/kkarri/G160_Samples
Sample_Labels_DIR:
/restricted/projectnb/waxmanlab/kkarri/G160_Samples/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/G160_Samples/Scripts/08a_Extract_Counts_HTSeq
ANNOTATION_FILE:
Intron_Only_Regions.gtf
FEATURE_TYPE:
Intronic_Only
-----------------------
End of variable list
-----------------------
==========================================================
Starting on : Wed Aug 30 20:41:49 EDT 2017
Running on node : scc-kb2
Current directory : /restricted/projectnb/waxmanlab/kkarri/G160_Samples/Scripts/08a_Extract_Counts_HTSeq
Current job ID : 473949
Current job name : Step_08a_G160_M2
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/473949.1.linga

Loading required modules...


List files in scratch directory:

total 1.8G
drwxr-xr-x   2 kkarri pulmseq 4.0K Aug 30 20:41 .
drwxrwxrwt. 56 root   root     92K Aug 30 20:41 ..
-rw-r--r--   1 kkarri pulmseq    0 Aug 30 20:41 G160_M2_HTSeq.out
-rw-r--r--   1 kkarri pulmseq 1.8G Aug 30 20:41 G160_M2_primary_unique.bam
-rw-r--r--   1 kkarri pulmseq  18M Aug 30 20:41 Intron_Only_Regions.gtf

Starting to run my commands


Starting samtools and htseq-count


Starting splice read filter


Ending splice read filter

samtools view G160_M2'_sorted'.bam | htseq-count --stranded=reverse --type=Intronic_Only --idattr=gene_id --order=name --mode=intersection-nonempty - Intron_Only_Regions.gtf  > G160_M2_HTSeq.out

Ending samtools and htseq-count


List files in scratch

total 38G
drwxr-xr-x   2 kkarri pulmseq 4.0K Aug 30 22:55 .
drwxrwxrwt. 53 root   root     92K Aug 30 22:50 ..
-rw-r--r--   1 kkarri pulmseq 244K Aug 30 22:55 G160_M2_HTSeq.out
-rw-r--r--   1 kkarri pulmseq 1.7G Aug 30 21:03 G160_M2_primary_no_splice.bam
-rw-r--r--   1 kkarri pulmseq 1.8G Aug 30 20:41 G160_M2_primary_unique.bam
-rw-r--r--   1 kkarri pulmseq 2.3G Aug 30 21:30 G160_M2_sorted.bam
-rw-r--r--   1 kkarri pulmseq   98 Aug 30 22:55 HTSeq_Extra_Lines.txt
-rw-r--r--   1 kkarri pulmseq  919 Aug 30 20:44 Header.txt
-rw-r--r--   1 kkarri pulmseq  18M Aug 30 20:41 Intron_Only_Regions.gtf
-rwxr-xr-x   1 kkarri pulmseq  38K Aug 30 22:55 RefSeq_Genes_Zero_Count.txt
-rw-r--r--   1 kkarri pulmseq  12G Aug 30 20:47 temp1.sam
-rw-r--r--   1 kkarri pulmseq  11G Aug 30 20:49 temp2.sam
-rw-r--r--   1 kkarri pulmseq  11G Aug 30 20:52 temp3.sam
==========================================================
Finished on : Wed Aug 30 22:55:25 EDT 2017
2 hours, 13 minutes and 36 seconds elapsed.
==========================================================
