----------------------- Need shift 5 command (have more than 9 arguments): ----------------------- ----------------------- Start of variable list: ----------------------- SCRIPT_DIR: /restricted/projectnb/waxmanlab/kkarri/G123_New/Scripts/09c_DiffExp_4_lncRNA_featureCounts Dataset_DIR: /restricted/projectnb/waxmanlab/kkarri/G123_New Dataset_Label: G123 ANNOTATION_FILE_DIR: /unprotected/projects/waxmanlab/routines/GTF_Files ANNOTATION_FILE: /unprotected/projects/waxmanlab/routines/GTF_Files/ncRNA_output_filtered_final_gene.txt CONDITION_1_NAME: Female_27h_Vehicle CONDITION_2_NAME: Female_27h_TCPOBOP Lengths_DIR: /unprotected/projects/waxmanlab/routines/GTF_Files/lengths GENE_LENGTHS_FILE: intronic_only_gene_models_ncRNA_for_counting_lengths.txt COUNT_DIR: LncRNA_Intronic_Only_GTF OUTPUT_PREFIX: DiffExp_v2_LncRNA_Intronic_Only DiffExp_Index: DiffExp_4g COL_SUFFIX: LncRNA_Intronic_Only COUNT_PROGRAM: featureCounts ----------------------- End of variable list ----------------------- ========================================================== Starting on : Sat Dec 8 01:23:53 EST 2018 Running on node : scc-kb7 Current directory : /restricted/projectnb/waxmanlab/kkarri/G123_New/Scripts/09c_DiffExp_4_lncRNA_featureCounts Current job ID : 29172 Current job name : Step_09c_DiffExp_4g Task index number : undefined Parameter for multiple cores : 1 ========================================================== Change dir to scratch directory Print scratch directory location: /scratch/29172.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 Copy Condition_1 sample count summary files to Condition_1 folder 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 Copy Condition_1 sample count summary files to Condition_1 folder 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 Copy Condition_2 sample count summary files to Condition_2 folder 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 Copy Condition_2 sample count summary files to Condition_2 folder M_Num_Cond2_List: M15M16 ------------------------------------------ ========================================================== Number of replicates in each condition: NUM_REP_CONDITION1: 2 NUM_REP_CONDITION1: 2 ========================================================== Renaming input count files number of mapped reads (feature count summary) Status G123_M15_sorted.bam Assigned 4311186 Unassigned_Ambiguity 381119 Unassigned_MultiMapping 0 Unassigned_NoFeatures 10251229 Unassigned_Unmapped 0 Unassigned_MappingQuality 0 Unassigned_FragmentLength 0 Unassigned_Chimera 0 Unassigned_Secondary 0 Unassigned_Nonjunction 0 Unassigned_Duplicate 0 Status G123_M16_sorted.bam Assigned 5933888 Unassigned_Ambiguity 475231 Unassigned_MultiMapping 0 Unassigned_NoFeatures 14586445 Unassigned_Unmapped 0 Unassigned_MappingQuality 0 Unassigned_FragmentLength 0 Unassigned_Chimera 0 Unassigned_Secondary 0 Unassigned_Nonjunction 0 Unassigned_Duplicate 0 Status G123_M13_sorted.bam Assigned 4804044 Unassigned_Ambiguity 306202 Unassigned_MultiMapping 0 Unassigned_NoFeatures 12896952 Unassigned_Unmapped 0 Unassigned_MappingQuality 0 Unassigned_FragmentLength 0 Unassigned_Chimera 0 Unassigned_Secondary 0 Unassigned_Nonjunction 0 Unassigned_Duplicate 0 Status G123_M14_sorted.bam Assigned 3476016 Unassigned_Ambiguity 236983 Unassigned_MultiMapping 0 Unassigned_NoFeatures 9768050 Unassigned_Unmapped 0 Unassigned_MappingQuality 0 Unassigned_FragmentLength 0 Unassigned_Chimera 0 Unassigned_Secondary 0 Unassigned_Nonjunction 0 Unassigned_Duplicate 0 ========================================================== List files in Input -rw-r--r-- 1 kkarri waxmanlab 354399 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP0.out -rw-r--r-- 1 kkarri waxmanlab 299 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP0.summary -rw-r--r-- 1 kkarri waxmanlab 355981 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP1.out -rw-r--r-- 1 kkarri waxmanlab 299 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP1.summary -rw-r--r-- 1 kkarri waxmanlab 354486 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle0.out -rw-r--r-- 1 kkarri waxmanlab 299 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle0.summary -rw-r--r-- 1 kkarri waxmanlab 352676 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle1.out -rw-r--r-- 1 kkarri waxmanlab 298 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle1.summary -rw-r--r-- 1 kkarri waxmanlab 414633 Dec 8 01:23 /scratch/29172.1.linga/Input/intronic_only_gene_models_ncRNA_for_counting_lengths.txt /scratch/29172.1.linga/Input/Female_27h_TCPOBOP: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Dec 8 01:23 . drwxr-xr-x 4 kkarri waxmanlab 4096 Dec 8 01:23 .. /scratch/29172.1.linga/Input/Female_27h_Vehicle: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Dec 8 01:23 . drwxr-xr-x 4 kkarri waxmanlab 4096 Dec 8 01:23 .. ========================================================== Starting to run my commands Printing Rscript command: Rscript differentialAnalysis.R Female_27h_Vehicle Female_27h_TCPOBOP 2 2 /unprotected/projects/waxmanlab/routines/GTF_Files/ncRNA_output_filtered_final_gene.txt /scratch/29172.1.linga/Input DiffExp_v2_LncRNA_Intronic_Only intronic_only_gene_models_ncRNA_for_counting_lengths.txt [1] "Arguments for differentialAnalysisDESeq.R:" [1] "Female_27h_Vehicle" [1] "Female_27h_TCPOBOP" [1] 2 [1] 2 [1] "/unprotected/projects/waxmanlab/routines/GTF_Files/ncRNA_output_filtered_final_gene.txt" [1] "/scratch/29172.1.linga/Input" [1] "DiffExp_v2_LncRNA_Intronic_Only" [1] "intronic_only_gene_models_ncRNA_for_counting_lengths.txt" [1] 15558 23 [1] 15558 48 [1] "chr1" "chr2" "chr3" "chr4" "chr5" "chr6" "chr7" "chr8" "chr9" [1] "chr10" "chr11" "chr12" "chr13" "chr14" "chr15" "chr16" "chr17" "chr18" [10] "chr19" [1] "chrX" "chrY" [1] "output file is in: /scratch/29172.1.linga/Input/DiffExp_v2_LncRNA_Intronic_Only_Female_27h_Vehicle_Female_27h_TCPOBOP.txt" ========================================================== Create SEGEX formatted file: Printing Rscript command: Rscript formatForSegex_ver3.R DiffExp_v2_LncRNA_Intronic_Only_Female_27h_Vehicle_Female_27h_TCPOBOP.txt Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_Intronic_Only_forSEGEXUpload 1 LncRNA_Intronic_Only ========================================================== Comparison_Info: Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14 #---------------------------------------------------------------------------------- Running Diff_Genes.R #---------------------------------------------------------------------------------- Printing Rscript command: Rscript Diff_Genes.R Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_Intronic_Only_forSEGEXUpload_DESeq.txt 2 0.05 DESeq LncRNA_Intronic_Only'_'Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14 [1] "Print arguments:" [1] "-----------------" [1] "Differential expression_Output:" [1] "Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_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] "LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14" [1] "-----------------" [1] "Differential Gene Counts" [1] "Number of significant differential genes with positive fold change (Up Genes):" [1] 33 7 [1] "Number of significant differential genes with negative fold change (Down Genes):" [1] 22 7 [1] "Check out Up_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt!" [1] "Check out Down_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt!" Rscript Diff_Genes.R Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_Intronic_Only_forSEGEXUpload_EdgeR.txt 2 0.05 EdgeR LncRNA_Intronic_Only'_'Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14 [1] "Print arguments:" [1] "-----------------" [1] "Differential expression_Output:" [1] "Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_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] "LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14" [1] "-----------------" [1] "Differential Gene Counts" [1] "Number of significant differential genes with positive fold change (Up Genes):" [1] 80 7 [1] "Number of significant differential genes with negative fold change (Down Genes):" [1] 51 7 [1] "Check out Up_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt!" [1] "Check out Down_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt!" #---------------------------------------------------------------------------------- Running Venn_Diff_Genes.R #---------------------------------------------------------------------------------- Printing Rscript command: #---------------------------------------------------------------------------------- Rscript Venn_Diff_Genes.R Down_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt Down_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt LncRNA_Intronic_Only_Counting DiffExp_4g [1] "Print arguments:" [1] "-----------------" [1] "File1:" [1] "Down_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt" [1] "File2:" [1] "Down_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt" [1] "Subtitle:" [1] "LncRNA_Intronic_Only_Counting" [1] "DiffExp_Index:" [1] "DiffExp_4g" [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_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt Up_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt LncRNA_Intronic_Only_Counting DiffExp_4g [1] "Print arguments:" [1] "-----------------" [1] "File1:" [1] "Up_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt" [1] "File2:" [1] "Up_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt" [1] "Subtitle:" [1] "LncRNA_Intronic_Only_Counting" [1] "DiffExp_Index:" [1] "DiffExp_4g" [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_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14 #---------------------------------------------------------------------------------- ========================================================== Renaming the Differential_Expression_File ========================================================== List files in Input -rw-r--r-- 1 kkarri waxmanlab 334 Dec 8 01:24 /scratch/29172.1.linga/Input/DiffExp_4g_Venn_Tables_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 3306468 Dec 8 01:24 /scratch/29172.1.linga/Input/DiffExp_v2_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt -rwxr-xr-x 1 kkarri waxmanlab 7706 Dec 8 01:23 /scratch/29172.1.linga/Input/Diff_Genes.R -rw-r--r-- 1 kkarri waxmanlab 1995 Dec 8 01:24 /scratch/29172.1.linga/Input/Down_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 4587 Dec 8 01:24 /scratch/29172.1.linga/Input/Down_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 354399 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP0.out -rw-r--r-- 1 kkarri waxmanlab 299 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP0.summary -rw-r--r-- 1 kkarri waxmanlab 355981 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP1.out -rw-r--r-- 1 kkarri waxmanlab 299 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP1.summary -rw-r--r-- 1 kkarri waxmanlab 3039370 Dec 8 01:24 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_Intronic_Only_forSEGEXUpload_DESeq.txt -rw-r--r-- 1 kkarri waxmanlab 3677248 Dec 8 01:24 /scratch/29172.1.linga/Input/Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_Intronic_Only_forSEGEXUpload_EdgeR.txt -rw-r--r-- 1 kkarri waxmanlab 354486 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle0.out -rw-r--r-- 1 kkarri waxmanlab 299 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle0.summary -rw-r--r-- 1 kkarri waxmanlab 352676 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle1.out -rw-r--r-- 1 kkarri waxmanlab 298 Dec 8 01:23 /scratch/29172.1.linga/Input/Female_27h_Vehicle1.summary -rw-r--r-- 1 kkarri waxmanlab 5761 Dec 8 01:24 /scratch/29172.1.linga/Input/Up_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt -rw-r--r-- 1 kkarri waxmanlab 16881 Dec 8 01:24 /scratch/29172.1.linga/Input/Up_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14.txt -rwxr-xr-x 1 kkarri waxmanlab 9993 Dec 8 01:23 /scratch/29172.1.linga/Input/Venn_Diff_Genes.R -rw-r--r-- 1 kkarri waxmanlab 40071 Dec 8 01:24 /scratch/29172.1.linga/Input/Venn_Down.DESeq.Intronic_Only.HTSeq.Down.EdgeR.Intronic_Only.HTSeq.png -rw-r--r-- 1 kkarri waxmanlab 37923 Dec 8 01:24 /scratch/29172.1.linga/Input/Venn_Up.DESeq.Intronic_Only.HTSeq.Up.EdgeR.Intronic_Only.HTSeq.png -rwxr-xr-x 1 kkarri waxmanlab 4968 Dec 8 01:23 /scratch/29172.1.linga/Input/formatForSegex_ver3.R -rw-r--r-- 1 kkarri waxmanlab 414633 Dec 8 01:23 /scratch/29172.1.linga/Input/intronic_only_gene_models_ncRNA_for_counting_lengths.txt /scratch/29172.1.linga/Input/Female_27h_TCPOBOP: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Dec 8 01:23 . drwxr-xr-x 4 kkarri waxmanlab 4096 Dec 8 01:24 .. /scratch/29172.1.linga/Input/Female_27h_Vehicle: total 8 drwxr-xr-x 2 kkarri waxmanlab 4096 Dec 8 01:23 . drwxr-xr-x 4 kkarri waxmanlab 4096 Dec 8 01:24 .. ========================================================== List files in scratch total 3.5M drwx------ 3 kkarri waxmanlab 4.0K Dec 8 01:24 . drwxrwxrwt. 42 root root 168K Dec 8 01:23 .. -rw-r--r-- 1 kkarri waxmanlab 111 Dec 8 01:23 Condition_1.txt -rw-r--r-- 1 kkarri waxmanlab 111 Dec 8 01:23 Condition_2.txt drwxr-xr-x 4 kkarri waxmanlab 4.0K Dec 8 01:24 Input -rwxr-xr-x 1 kkarri waxmanlab 13K Dec 8 01:23 differentialAnalysis.R -rw-r--r-- 1 kkarri waxmanlab 3.3M Dec 8 01:23 ncRNA_output_filtered_final_gene.txt ========================================================== Re-naming files in OUTPUT_DIR Need to append the COUNT_PROGRAM name to all output files List files in OUTPUT_DIR total 8.1M drwxr-sr-x 2 kkarri waxmanlab 32K Dec 8 01:24 . drwxr-sr-x 7 kkarri waxmanlab 32K Dec 8 01:23 .. -rw-r--r-- 1 kkarri waxmanlab 334 Dec 8 01:24 DiffExp_4g_Venn_Tables_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 3.2M Dec 8 01:24 DiffExp_v2_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 2.0K Dec 8 01:24 Down_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 4.5K Dec 8 01:24 Down_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 2.9M Dec 8 01:24 Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_Intronic_Only_forSEGEXUpload_DESeq_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 3.6M Dec 8 01:24 Female_27h_TCPOBOP_G123_M15M16_vs_Female_27h_Vehicle_G123_M13M14_DiffExp_v2_LncRNA_Intronic_Only_forSEGEXUpload_EdgeR_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 5.7K Dec 8 01:24 Up_Genes_DESeq_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 17K Dec 8 01:24 Up_Genes_EdgeR_LncRNA_Intronic_Only_Female_27h_TCPOBOP_G123_M15M16_Female_27h_Vehicle_G123_M13M14_featureCounts.txt -rw-r--r-- 1 kkarri waxmanlab 40K Dec 8 01:24 Venn_Down.DESeq.Intronic_Only.HTSeq.Down.EdgeR.Intronic_Only.HTSeq_featureCounts.png -rw-r--r-- 1 kkarri waxmanlab 38K Dec 8 01:24 Venn_Up.DESeq.Intronic_Only.HTSeq.Up.EdgeR.Intronic_Only.HTSeq_featureCounts.png ========================================================== ========================================================== Finished on : Sat Dec 8 01:24:39 EST 2018 0 minutes and 46 seconds elapsed. ==========================================================