-----------------------
Need shift 1 command (have more than 9 arguments):
-----------------------
-----------------------
Start of variable list:
-----------------------
Sample_ID:
G160_M6
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:42:06 EDT 2017
Running on node : scc-ka7
Current directory : /restricted/projectnb/waxmanlab/kkarri/G160_Samples/Scripts/08a_Extract_Counts_HTSeq
Current job ID : 473981
Current job name : Step_08a_G160_M6
Task index number : undefined
Parameter for multiple cores : 1
==========================================================

Change dir to scratch directory


Print scratch directory location:

/scratch/473981.1.linga

Loading required modules...


List files in scratch directory:

total 831M
drwxr-xr-x   2 kkarri pulmseq 4.0K Aug 30 20:42 .
drwxrwxrwt. 71 root   root    340K Aug 30 20:42 ..
-rw-r--r--   1 kkarri pulmseq    0 Aug 30 20:42 G160_M6_HTSeq.out
-rw-r--r--   1 kkarri pulmseq 814M Aug 30 20:42 G160_M6_primary_unique.bam
-rw-r--r--   1 kkarri pulmseq  18M Aug 30 20:42 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_M6'_sorted'.bam | htseq-count --stranded=reverse --type=Intronic_Only --idattr=gene_id --order=name --mode=intersection-nonempty - Intron_Only_Regions.gtf  > G160_M6_HTSeq.out

Ending samtools and htseq-count


List files in scratch

total 25G
drwxr-xr-x   2 kkarri pulmseq 4.0K Aug 30 22:12 .
drwxrwxrwt. 70 root   root    340K Aug 30 22:10 ..
-rw-r--r--   1 kkarri pulmseq 224K Aug 30 22:12 G160_M6_HTSeq.out
-rw-r--r--   1 kkarri pulmseq 793M Aug 30 20:53 G160_M6_primary_no_splice.bam
-rw-r--r--   1 kkarri pulmseq 814M Aug 30 20:42 G160_M6_primary_unique.bam
-rw-r--r--   1 kkarri pulmseq 1.3G Aug 30 21:10 G160_M6_sorted.bam
-rw-r--r--   1 kkarri pulmseq   98 Aug 30 22:12 HTSeq_Extra_Lines.txt
-rw-r--r--   1 kkarri pulmseq  918 Aug 30 20:43 Header.txt
-rw-r--r--   1 kkarri pulmseq  18M Aug 30 20:42 Intron_Only_Regions.gtf
-rwxr-xr-x   1 kkarri pulmseq  38K Aug 30 22:12 RefSeq_Genes_Zero_Count.txt
-rw-r--r--   1 kkarri pulmseq 7.3G Aug 30 20:45 temp1.sam
-rw-r--r--   1 kkarri pulmseq 7.2G Aug 30 20:46 temp2.sam
-rw-r--r--   1 kkarri pulmseq 7.2G Aug 30 20:47 temp3.sam
==========================================================
Finished on : Wed Aug 30 22:12:41 EDT 2017
1 hours, 30 minutes and 35 seconds elapsed.
==========================================================
