----------------------- Need shift 5 command (have more than 9 arguments): ----------------------- ----------------------- Start of variable list: ----------------------- SCRIPT_DIR: /restricted/projectnb/waxmanlab/kkarri/G123_New_Env_PCA/Scripts/09b_DiffExp_3_featureCounts Dataset_DIR: /restricted/projectnb/waxmanlab/kkarri/G123_New Dataset_Label: G123 GTF_Files_DIR: /unprotected/projects/waxmanlab/routines/GTF_Files ANNOTATION_FILE: RefSeq_GeneBody.gtf CONDITION_1_NAME: Female_3h_Vehicle_G123_M9M10 CONDITION_2_NAME: Female_3h_TCPOBOP_G123_M11M12 Lengths_DIR: /unprotected/projects/waxmanlab/routines/GTF_Files/lengths GENE_LENGTHS_FILE: Intron_Only_Regions_Lengths.txt COUNT_DIR: RefSeq_Intron_GTF OUTPUT_PREFIX: DiffExp_v2_Intronic_Only DiffExp_Index: DiffExp_3c COL_SUFFIX: Intronic_Only COUNT_PROGRAM: featureCounts ----------------------- End of variable list ----------------------- ========================================================== Starting on : Wed Feb 27 16:28:59 EST 2019 Running on node : scc-kb2 Current directory : /restricted/projectnb/waxmanlab/kkarri/G123_New_Env_PCA/Scripts/09b_DiffExp_3_featureCounts Current job ID : 3234856 Current job name : Step_09b_DiffExp_3c Task index number : undefined Parameter for multiple cores : 1 ========================================================== Change dir to scratch directory Print scratch directory location: /scratch/3234856.1.linga Loading required modules... ------------------------------------------ Sample_DIR: G123_M9 Sample_ID: G123_M9 Description: Female_3h_Vehicle_1 M_Num: M9 Copy Condition_1 sample count files to Condition_1 folder calculate mapped reads: G123_M9 Sample_DIR: G123_M10 Sample_ID: G123_M10 Description: Female_3h_Vehicle_2 M_Num: M10 Copy Condition_1 sample count files to Condition_1 folder calculate mapped reads: G123_M10 M_Num_Cond1_List: M9M10 ------------------------------------------ ------------------------------------------ Sample_DIR: G123_M11 Sample_ID: G123_M11 Description: Female_3h_TCPOBOP_1 M_Num: M11 Copy Condition_2 sample count files to Condition_2 folder calculate mapped reads: G123_M11 Sample_DIR: G123_M12 Sample_ID: G123_M12 Description: Female_3h_TCPOBOP_2 M_Num: M12 Copy Condition_2 sample count files to Condition_2 folder calculate mapped reads: G123_M12 M_Num_Cond2_List: M11M12 ------------------------------------------ ========================================================== Number of replicates in each condition: NUM_REP_CONDITION1: 2 NUM_REP_CONDITION1: 2 ========================================================== Renaming input count files Counting program: Not HTSeq No lines removed. Counting program: Not HTSeq No lines removed. Counting program: Not HTSeq No lines removed. Counting program: Not HTSeq No lines removed. number of mapped reads 25403837 33681901 31418117 31996155 ========================================================== List files in Input -rw-r--r-- 1 kkarri waxmanlab 244664 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M120.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M120_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 246600 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M121.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M121_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 245912 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M100.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M100_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 245755 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M101.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M101_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 300238 Feb 27 16:29 /scratch/3234856.1.linga/Input/Intron_Only_Regions_Lengths.txt /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M12: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:28 . drwxr-xr-x 4 kkarri waxmanlab 4096 Feb 27 16:28 .. /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M10: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:28 . drwxr-xr-x 4 kkarri waxmanlab 4096 Feb 27 16:28 .. ========================================================== Starting to run my commands Printing Rscript command: Rscript differentialAnalysis.R Female_3h_Vehicle_G123_M9M10 Female_3h_TCPOBOP_G123_M11M12 2 2 RefSeq_GeneBody.gtf /scratch/3234856.1.linga/Input DiffExp_v2_Intronic_Only Intron_Only_Regions_Lengths.txt [1] "Arguments for differentialAnalysisDESeq.R:" [1] "Female_3h_Vehicle_G123_M9M10" [1] "Female_3h_TCPOBOP_G123_M11M12" [1] 2 [1] 2 [1] "RefSeq_GeneBody.gtf" [1] "/scratch/3234856.1.linga/Input" [1] "DiffExp_v2_Intronic_Only" [1] "Intron_Only_Regions_Lengths.txt" load GTF file ... parse attributes ... [1] "output file is in: /scratch/3234856.1.linga/Input/DiffExp_v2_Intronic_Only_Female_3h_Vehicle_G123_M9M10_Female_3h_TCPOBOP_G123_M11M12.txt" ========================================================== Create SEGEX formatted file: Printing Rscript command: Rscript formatForSegex_ver3.R DiffExp_v2_Intronic_Only_Female_3h_Vehicle_G123_M9M10_Female_3h_TCPOBOP_G123_M11M12.txt Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload 1 Intronic_Only Printing Rscript command: Rscript formatForSegex_ver4.R DiffExp_v2_Intronic_Only_Female_3h_Vehicle_G123_M9M10_Female_3h_TCPOBOP_G123_M11M12.txt Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload 1 Intronic_Only Fatal error: cannot open file 'formatForSegex_ver4.R': No such file or directory ========================================================== Comparison_Info: Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10 #---------------------------------------------------------------------------------- Running Diff_Genes.R #---------------------------------------------------------------------------------- Printing Rscript command: Rscript Diff_Genes.R Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_DESeq.txt 2 0.05 DESeq Intronic_Only'_'Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10 [1] "Print arguments:" [1] "-----------------" [1] "Differential expression_Output:" [1] "Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_DESeq.txt" [1] "fold_change_cutoff:" [1] "2" [1] "padj_cutoff:" [1] "0.05" [1] "postfix:" [1] "DESeq" [1] "count_method:" [1] "Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10" [1] "-----------------" [1] "Differential Gene Counts" [1] "Number of significant differential genes with positive fold change (Up Genes):" [1] 125 7 [1] "Number of significant differential genes with negative fold change (Down Genes):" [1] 49 7 [1] "Check out Up_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt!" [1] "Check out Down_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt!" Rscript Diff_Genes.R Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_EdgeR.txt 2 0.05 EdgeR Intronic_Only'_'Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10 [1] "Print arguments:" [1] "-----------------" [1] "Differential expression_Output:" [1] "Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_EdgeR.txt" [1] "fold_change_cutoff:" [1] "2" [1] "padj_cutoff:" [1] "0.05" [1] "postfix:" [1] "EdgeR" [1] "count_method:" [1] "Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10" [1] "-----------------" [1] "Differential Gene Counts" [1] "Number of significant differential genes with positive fold change (Up Genes):" [1] 167 7 [1] "Number of significant differential genes with negative fold change (Down Genes):" [1] 86 7 [1] "Check out Up_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt!" [1] "Check out Down_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt!" #---------------------------------------------------------------------------------- Running Venn_Diff_Genes.R #---------------------------------------------------------------------------------- Printing Rscript command: #---------------------------------------------------------------------------------- Rscript Venn_Diff_Genes.R Down_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt Down_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt Intronic_Only_Counting DiffExp_3c [1] "Print arguments:" [1] "-----------------" [1] "File1:" [1] "Down_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt" [1] "File2:" [1] "Down_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt" [1] "Subtitle:" [1] "Intronic_Only_Counting" [1] "DiffExp_Index:" [1] "DiffExp_3c" [1] "-----------------" [1] "Down.DESeq.Intronic_Only.HTSeq" [1] "Down.EdgeR.Intronic_Only.HTSeq" null device 1 [1] "Removing VennDiagram*.log files" [1] "Check out Venn diagram and Count.Table!" #---------------------------------------------------------------------------------- Rscript Venn_Diff_Genes.R Up_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt Up_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt Intronic_Only_Counting DiffExp_3c [1] "Print arguments:" [1] "-----------------" [1] "File1:" [1] "Up_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt" [1] "File2:" [1] "Up_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt" [1] "Subtitle:" [1] "Intronic_Only_Counting" [1] "DiffExp_Index:" [1] "DiffExp_3c" [1] "-----------------" [1] "Up.DESeq.Intronic_Only.HTSeq" [1] "Up.EdgeR.Intronic_Only.HTSeq" null device 1 [1] "Removing VennDiagram*.log files" [1] "Check out Venn diagram and Count.Table!" #---------------------------------------------------------------------------------- #---------------------------------------------------------------------------------- Merging Count.Table(s) into one text file #---------------------------------------------------------------------------------- Comparison_Info: Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10 #---------------------------------------------------------------------------------- ========================================================== Renaming the Differential_Expression_File ========================================================== List files in Input -rw-r--r-- 1 kkarri waxmanlab 322 Feb 27 16:30 /scratch/3234856.1.linga/Input/DiffExp_3c_Venn_Tables_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt -rw-r--r-- 1 kkarri waxmanlab 6929275 Feb 27 16:30 /scratch/3234856.1.linga/Input/DiffExp_v2_Intronic_Only_Female_3h_Vehicle_G123_M9M10_Female_3h_TCPOBOP_G123_M11M12.txt -rwxr-xr-x 1 kkarri waxmanlab 7394 Feb 27 16:28 /scratch/3234856.1.linga/Input/Diff_Genes.R -rw-r--r-- 1 kkarri waxmanlab 5077 Feb 27 16:30 /scratch/3234856.1.linga/Input/Down_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt -rw-r--r-- 1 kkarri waxmanlab 8761 Feb 27 16:30 /scratch/3234856.1.linga/Input/Down_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt -rw-r--r-- 1 kkarri waxmanlab 244664 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M120.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M120_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 246600 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M121.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M121_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 2330039 Feb 27 16:30 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_DESeq.txt -rw-r--r-- 1 kkarri waxmanlab 2354236 Feb 27 16:30 /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_EdgeR.txt -rw-r--r-- 1 kkarri waxmanlab 245912 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M100.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M100_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 245755 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M101.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M101_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 300238 Feb 27 16:29 /scratch/3234856.1.linga/Input/Intron_Only_Regions_Lengths.txt -rw-r--r-- 1 kkarri waxmanlab 9114 Feb 27 16:30 /scratch/3234856.1.linga/Input/Up_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt -rw-r--r-- 1 kkarri waxmanlab 12593 Feb 27 16:30 /scratch/3234856.1.linga/Input/Up_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10.txt -rwxr-xr-x 1 kkarri waxmanlab 9553 Feb 27 16:28 /scratch/3234856.1.linga/Input/Venn_Diff_Genes.R -rw-r--r-- 1 kkarri waxmanlab 40678 Feb 27 16:30 /scratch/3234856.1.linga/Input/Venn_Down.DESeq.Intronic_Only.HTSeq.Down.EdgeR.Intronic_Only.HTSeq.png -rw-r--r-- 1 kkarri waxmanlab 38202 Feb 27 16:30 /scratch/3234856.1.linga/Input/Venn_Up.DESeq.Intronic_Only.HTSeq.Up.EdgeR.Intronic_Only.HTSeq.png -rwxr-xr-x 1 kkarri waxmanlab 3925 Feb 27 16:28 /scratch/3234856.1.linga/Input/formatForSegex_ver3.R /scratch/3234856.1.linga/Input/Female_3h_TCPOBOP_G123_M11M12: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:28 . drwxr-xr-x 4 kkarri waxmanlab 4096 Feb 27 16:30 .. /scratch/3234856.1.linga/Input/Female_3h_Vehicle_G123_M9M10: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:28 . drwxr-xr-x 4 kkarri waxmanlab 4096 Feb 27 16:30 .. ========================================================== List files in scratch total 72M drwx------ 3 kkarri waxmanlab 4.0K Feb 27 16:30 . drwxrwxrwt. 14 root root 92K Feb 27 16:28 .. -rw-r--r-- 1 kkarri waxmanlab 107 Feb 27 16:28 Condition_1.txt -rw-r--r-- 1 kkarri waxmanlab 109 Feb 27 16:28 Condition_2.txt drwxr-xr-x 4 kkarri waxmanlab 4.0K Feb 27 16:30 Input -rw-r--r-- 1 kkarri waxmanlab 72M Feb 27 16:28 RefSeq_GeneBody.gtf -rwxr-xr-x 1 kkarri waxmanlab 16K Feb 27 16:28 differentialAnalysis.R ========================================================== Re-naming files in OUTPUT_DIR Need to append the COUNT_PROGRAM name to all output files List files in OUTPUT_DIR total 11M drwxr-sr-x 2 kkarri waxmanlab 32K Feb 27 16:30 . drwxr-sr-x 6 kkarri waxmanlab 32K Feb 27 16:28 .. -rw-r--r-- 1 kkarri waxmanlab 322 Feb 27 16:30 DiffExp_3c_Venn_Tables_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 6.7M Feb 27 16:30 DiffExp_v2_Intronic_Only_Female_3h_Vehicle_G123_M9M10_Female_3h_TCPOBOP_G123_M11M12_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 5.0K Feb 27 16:30 Down_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 8.6K Feb 27 16:30 Down_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 2.3M Feb 27 16:30 Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_DESeq_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 2.3M Feb 27 16:30 Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_vs_Female_3h_Vehicle_G123_M9M10_G123_M9M10_DiffExp_v2_Intronic_Only_forSEGEXUpload_EdgeR_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 9.0K Feb 27 16:30 Up_Genes_DESeq_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 13K Feb 27 16:30 Up_Genes_EdgeR_Intronic_Only_Female_3h_TCPOBOP_G123_M11M12_G123_M11M12_Female_3h_Vehicle_G123_M9M10_G123_M9M10_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 40K Feb 27 16:30 Venn_Down.DESeq.Intronic_Only.HTSeq.Down.EdgeR.Intronic_Only.HTSeq_featureCounts.png -rw-r--r-- 1 kkarri waxmanlab 38K Feb 27 16:30 Venn_Up.DESeq.Intronic_Only.HTSeq.Up.EdgeR.Intronic_Only.HTSeq_featureCounts.png ========================================================== ========================================================== Finished on : Wed Feb 27 16:30:39 EST 2019 1 minutes and 40 seconds elapsed. ==========================================================