----------------------- 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_4_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_27h_Vehicle_G123_M13M14 CONDITION_2_NAME: Female_27h_TCPOBOP_G123_M15M16 Lengths_DIR: /unprotected/projects/waxmanlab/routines/GTF_Files/lengths GENE_LENGTHS_FILE: Exon_Regions_Lengths.txt COUNT_DIR: RefSeq_Exon_GTF OUTPUT_PREFIX: DiffExp_v2_GeneBody DiffExp_Index: DiffExp_4a COL_SUFFIX: GeneBody 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_4_featureCounts Current job ID : 3234857 Current job name : Step_09b_DiffExp_4a Task index number : undefined Parameter for multiple cores : 1 ========================================================== Change dir to scratch directory Print scratch directory location: /scratch/3234857.1.linga Loading required modules... ------------------------------------------ Sample_DIR: G123_M13 Sample_ID: G123_M13 Description: Female_27h_Vehicle_1 M_Num: M13 Copy Condition_1 sample count files to Condition_1 folder calculate mapped reads: G123_M13 Sample_DIR: G123_M14 Sample_ID: G123_M14 Description: Female_27h_Vehicle_2 M_Num: M14 Copy Condition_1 sample count files to Condition_1 folder calculate mapped reads: G123_M14 M_Num_Cond1_List: M13M14 ------------------------------------------ ------------------------------------------ Sample_DIR: G123_M15 Sample_ID: G123_M15 Description: Female_27h_TCPOBOP_1 M_Num: M15 Copy Condition_2 sample count files to Condition_2 folder calculate mapped reads: G123_M15 Sample_DIR: G123_M16 Sample_ID: G123_M16 Description: Female_27h_TCPOBOP_2 M_Num: M16 Copy Condition_2 sample count files to Condition_2 folder calculate mapped reads: G123_M16 M_Num_Cond2_List: M15M16 ------------------------------------------ ========================================================== 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 29753135 41817847 35844361 26909698 ========================================================== List files in Input -rw-r--r-- 1 kkarri waxmanlab 291522 Feb 27 16:29 /scratch/3234857.1.linga/Input/Exon_Regions_Lengths.txt -rw-r--r-- 1 kkarri waxmanlab 249787 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M160.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M160_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 251944 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M161.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M161_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 251029 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M140.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M140_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 249376 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M141.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M141_num_mapped_reads.txt /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M16: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:29 . drwxr-xr-x 4 kkarri waxmanlab 4096 Feb 27 16:29 .. /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M14: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:29 . drwxr-xr-x 4 kkarri waxmanlab 4096 Feb 27 16:29 .. ========================================================== Starting to run my commands Printing Rscript command: Rscript differentialAnalysis.R Female_27h_Vehicle_G123_M13M14 Female_27h_TCPOBOP_G123_M15M16 2 2 RefSeq_GeneBody.gtf /scratch/3234857.1.linga/Input DiffExp_v2_GeneBody Exon_Regions_Lengths.txt [1] "Arguments for differentialAnalysisDESeq.R:" [1] "Female_27h_Vehicle_G123_M13M14" [1] "Female_27h_TCPOBOP_G123_M15M16" [1] 2 [1] 2 [1] "RefSeq_GeneBody.gtf" [1] "/scratch/3234857.1.linga/Input" [1] "DiffExp_v2_GeneBody" [1] "Exon_Regions_Lengths.txt" load GTF file ... parse attributes ... [1] "output file is in: /scratch/3234857.1.linga/Input/DiffExp_v2_GeneBody_Female_27h_Vehicle_G123_M13M14_Female_27h_TCPOBOP_G123_M15M16.txt" ========================================================== Create SEGEX formatted file: Printing Rscript command: Rscript formatForSegex_ver3.R DiffExp_v2_GeneBody_Female_27h_Vehicle_G123_M13M14_Female_27h_TCPOBOP_G123_M15M16.txt Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload 1 GeneBody Printing Rscript command: Rscript formatForSegex_ver4.R DiffExp_v2_GeneBody_Female_27h_Vehicle_G123_M13M14_Female_27h_TCPOBOP_G123_M15M16.txt Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload 1 GeneBody Fatal error: cannot open file 'formatForSegex_ver4.R': No such file or directory ========================================================== Comparison_Info: Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14 #---------------------------------------------------------------------------------- Running Diff_Genes.R #---------------------------------------------------------------------------------- Printing Rscript command: Rscript Diff_Genes.R Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_DESeq.txt 2 0.05 DESeq GeneBody'_'Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14 [1] "Print arguments:" [1] "-----------------" [1] "Differential expression_Output:" [1] "Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_DESeq.txt" [1] "fold_change_cutoff:" [1] "2" [1] "padj_cutoff:" [1] "0.05" [1] "postfix:" [1] "DESeq" [1] "count_method:" [1] "GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14" [1] "-----------------" [1] "Differential Gene Counts" [1] "Number of significant differential genes with positive fold change (Up Genes):" [1] 370 7 [1] "Number of significant differential genes with negative fold change (Down Genes):" [1] 249 7 [1] "Check out Up_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt!" [1] "Check out Down_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt!" Rscript Diff_Genes.R Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_EdgeR.txt 2 0.05 EdgeR GeneBody'_'Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14 [1] "Print arguments:" [1] "-----------------" [1] "Differential expression_Output:" [1] "Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_EdgeR.txt" [1] "fold_change_cutoff:" [1] "2" [1] "padj_cutoff:" [1] "0.05" [1] "postfix:" [1] "EdgeR" [1] "count_method:" [1] "GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14" [1] "-----------------" [1] "Differential Gene Counts" [1] "Number of significant differential genes with positive fold change (Up Genes):" [1] 459 7 [1] "Number of significant differential genes with negative fold change (Down Genes):" [1] 303 7 [1] "Check out Up_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt!" [1] "Check out Down_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt!" #---------------------------------------------------------------------------------- Running Venn_Diff_Genes.R #---------------------------------------------------------------------------------- Printing Rscript command: #---------------------------------------------------------------------------------- Rscript Venn_Diff_Genes.R Down_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt Down_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt GeneBody_Counting DiffExp_4a [1] "Print arguments:" [1] "-----------------" [1] "File1:" [1] "Down_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt" [1] "File2:" [1] "Down_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt" [1] "Subtitle:" [1] "GeneBody_Counting" [1] "DiffExp_Index:" [1] "DiffExp_4a" [1] "-----------------" [1] "Down.DESeq.GeneBody.HTSeq" [1] "Down.EdgeR.GeneBody.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_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt Up_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt GeneBody_Counting DiffExp_4a [1] "Print arguments:" [1] "-----------------" [1] "File1:" [1] "Up_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt" [1] "File2:" [1] "Up_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt" [1] "Subtitle:" [1] "GeneBody_Counting" [1] "DiffExp_Index:" [1] "DiffExp_4a" [1] "-----------------" [1] "Up.DESeq.GeneBody.HTSeq" [1] "Up.EdgeR.GeneBody.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_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14 #---------------------------------------------------------------------------------- ========================================================== Renaming the Differential_Expression_File ========================================================== List files in Input -rw-r--r-- 1 kkarri waxmanlab 294 Feb 27 16:30 /scratch/3234857.1.linga/Input/DiffExp_4a_Venn_Tables_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 7571168 Feb 27 16:30 /scratch/3234857.1.linga/Input/DiffExp_v2_GeneBody_Female_27h_Vehicle_G123_M13M14_Female_27h_TCPOBOP_G123_M15M16.txt -rwxr-xr-x 1 kkarri waxmanlab 7394 Feb 27 16:28 /scratch/3234857.1.linga/Input/Diff_Genes.R -rw-r--r-- 1 kkarri waxmanlab 30281 Feb 27 16:30 /scratch/3234857.1.linga/Input/Down_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 38024 Feb 27 16:30 /scratch/3234857.1.linga/Input/Down_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 291522 Feb 27 16:29 /scratch/3234857.1.linga/Input/Exon_Regions_Lengths.txt -rw-r--r-- 1 kkarri waxmanlab 249787 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M160.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M160_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 251944 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M161.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M161_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 2378401 Feb 27 16:30 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_DESeq.txt -rw-r--r-- 1 kkarri waxmanlab 2378401 Feb 27 16:30 /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_EdgeR.txt -rw-r--r-- 1 kkarri waxmanlab 251029 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M140.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M140_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 249376 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M141.out -rw-r--r-- 1 kkarri waxmanlab 9 Feb 27 16:28 /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M141_num_mapped_reads.txt -rw-r--r-- 1 kkarri waxmanlab 27161 Feb 27 16:30 /scratch/3234857.1.linga/Input/Up_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 34130 Feb 27 16:30 /scratch/3234857.1.linga/Input/Up_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14.txt -rwxr-xr-x 1 kkarri waxmanlab 9553 Feb 27 16:28 /scratch/3234857.1.linga/Input/Venn_Diff_Genes.R -rw-r--r-- 1 kkarri waxmanlab 41989 Feb 27 16:30 /scratch/3234857.1.linga/Input/Venn_Down.DESeq.GeneBody.HTSeq.Down.EdgeR.GeneBody.HTSeq.png -rw-r--r-- 1 kkarri waxmanlab 38746 Feb 27 16:30 /scratch/3234857.1.linga/Input/Venn_Up.DESeq.GeneBody.HTSeq.Up.EdgeR.GeneBody.HTSeq.png -rwxr-xr-x 1 kkarri waxmanlab 3925 Feb 27 16:28 /scratch/3234857.1.linga/Input/formatForSegex_ver3.R /scratch/3234857.1.linga/Input/Female_27h_TCPOBOP_G123_M15M16: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:29 . drwxr-xr-x 4 kkarri waxmanlab 4096 Feb 27 16:30 .. /scratch/3234857.1.linga/Input/Female_27h_Vehicle_G123_M13M14: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Feb 27 16:29 . 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 111 Feb 27 16:28 Condition_1.txt -rw-r--r-- 1 kkarri waxmanlab 111 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 12M 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 294 Feb 27 16:30 DiffExp_4a_Venn_Tables_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 7.3M Feb 27 16:30 DiffExp_v2_GeneBody_Female_27h_Vehicle_G123_M13M14_Female_27h_TCPOBOP_G123_M15M16_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 30K Feb 27 16:30 Down_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 38K Feb 27 16:30 Down_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 2.3M Feb 27 16:30 Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_DESeq_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 2.3M Feb 27 16:30 Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_G123_M13M14_DiffExp_v2_GeneBody_forSEGEXUpload_EdgeR_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 27K Feb 27 16:30 Up_Genes_DESeq_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 34K Feb 27 16:30 Up_Genes_EdgeR_GeneBody_Female_27h_TCPOBOP_G123_M15M16_G123_M15M16_Female_27h_Vehicle_G123_M13M14_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 42K Feb 27 16:30 Venn_Down.DESeq.GeneBody.HTSeq.Down.EdgeR.GeneBody.HTSeq_featureCounts.png -rw-r--r-- 1 kkarri waxmanlab 38K Feb 27 16:30 Venn_Up.DESeq.GeneBody.HTSeq.Up.EdgeR.GeneBody.HTSeq_featureCounts.png ========================================================== ========================================================== Finished on : Wed Feb 27 16:30:37 EST 2019 1 minutes and 38 seconds elapsed. ==========================================================