# HG changeset patch # User yhoogstrate # Date 1449761650 18000 # Node ID 0a05f6a91d71c2f703643582d27179e2b1b1a331 # Parent 7e98e8bcfbf7124cce2d6c482ad718bc31e6cc87 planemo upload for repository https://bitbucket.org/EMCbioinf/galaxy-tool-shed-tools/raw/master/edger_with_design_matrix commit b3dcbc6b4e0510909aef9969da9941bed18599e6 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 README.rst --- a/README.rst Wed Dec 09 10:42:33 2015 -0500 +++ b/README.rst Thu Dec 10 10:34:10 2015 -0500 @@ -1,6 +1,13 @@ EdgeR wrapper for Galaxy ======================== +This is a wrapper for the RNA-Seq differentially gene expression analysis tool EdgeR. +This wrapper contains 2 flavours of tests, a classical 2 group analysis and a more +sophistiacted multi-factor analysis. + +Input data can be generated using so called count tools. The wrapper has been written +to be compatible with at least featureCounts (by yhoogstrate) and HTSeq-count (by iuc). + http://www.bioconductor.org/packages/release/bioc/html/edgeR.html Implementation of EdgeR supporting quite advanced experimental @@ -42,17 +49,4 @@ **This wrapper**: - Copyright (C) 2013-2015 Youri Hoogstrate - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . +GPL (>=2) diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 edgeR_Differential_Gene_Expression.xml --- a/edgeR_Differential_Gene_Expression.xml Wed Dec 09 10:42:33 2015 -0500 +++ b/edgeR_Differential_Gene_Expression.xml Thu Dec 10 10:34:10 2015 -0500 @@ -36,7 +36,46 @@ echo $(R --version | grep version | grep -v GNU)", EdgeR version" $(R --vanilla --slave -e "library(edgeR) ; cat(sessionInfo()\$otherPkgs\$edgeR\$Version)" 2> /dev/null | grep -v -i "WARNING: ") - + gene_ids.column.txt && + #for $file in $analysis_type.countsFile_control: + cut -f 2 "${file}" > "${file}.expression_column.txt" && + #end for + #for $file in $analysis_type.countsFile_condition: + cut -f 2 "${file}" > "${file}.expression_column.txt" && + #end for + + paste + gene_ids.column.txt + #for $file in $analysis_type.countsFile_control: + "${file}.expression_column.txt" + #end for + #for $file in $analysis_type.countsFile_condition: + "${file}.expression_column.txt" + #end for + > "${expression_matrix}" && + + ## -- Create design matrix matrix + echo "sample-name Condition" >> ${design_matrix} && + #for $file in $analysis_type.countsFile_control: + echo "${file.name} ${analysis_type.factorLevel_control}" >> ${design_matrix} && + #end for + #for $file in $analysis_type.countsFile_condition: + echo "${file.name} ${analysis_type.factorLevel_condition}" >> ${design_matrix} && + #end for + #end if + R --vanilla --slave -f $R_script '--args $expression_matrix $design_matrix @@ -47,7 +86,7 @@ $output_count_edgeR $output_cpm - /dev/null + /dev/null ### Calculation of FPKM/RPKM should come here #if $output_raw_counts: $output_raw_counts @@ -117,6 +156,7 @@ $output_format_images ' + ]]> @@ -458,10 +498,37 @@ - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -482,19 +549,23 @@ - + - - + + + + + + - + outputs and ("make_output_raw_counts" in outputs) - + outputs and ("make_output_MDSplot_logFC" in outputs) @@ -504,11 +575,11 @@ - + outputs and ("make_output_MDSplot_logFC_coordinates" in outputs) - + outputs and ("make_output_MDSplot_bcv" in outputs) @@ -518,11 +589,11 @@ - + outputs and ("make_output_MDSplot_bcv_coordinates" in outputs) - + outputs and ("make_output_BCVplot" in outputs) @@ -532,7 +603,7 @@ - + outputs and ("make_output_MAplot" in outputs) @@ -542,7 +613,7 @@ - + outputs and ("make_output_PValue_distribution_plot" in outputs) @@ -552,7 +623,7 @@ - + outputs and ("make_output_hierarchical_clustering_plot" in outputs) @@ -562,7 +633,7 @@ - + outputs and ("make_output_heatmap_plot" in outputs) @@ -572,17 +643,19 @@ - + outputs and ("make_output_RData_obj" in outputs) - + outputs and ("make_output_R_stdout" in outputs) + + @@ -590,7 +663,18 @@ - + + + + + + + + + + + + @@ -661,24 +745,6 @@ - African-European - 0.5*(Control+Placebo) / Treated -Installation ------------- - -This tool requires no specific configuration. The following dependencies will installed automatically: - -- R -- limma -- edgeR - -License -------- -- R - - GPL 2 & GPL 3 -- limma - - GPL (>=2) -- edgeR - - GPL (>=2) - @CONTACT@ diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/C1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/C1 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid C1 +COMMD10 966 +USP26 1 +DDX17 8544 +DDX11 329 +PTPN20B 0 +SLC35D3 1 +GLOD4 1614 +GIMAP7 0 +TXLNB 15 +MYO18A 1775 +ATG4B 936 +IFI44L 347 +KHSRP 2557 +KCNAB3 20 +RET 331 +IQCG 125 +C20orf118 9 +GPIHBP1 0 +RASSF3 658 +FUT8 4834 +LYSMD3 1333 +LMOD3 12 +HIPK1 24218 +HSPA8 44244 +TAS2R39 0 +NR2C2AP 606 +INADL 4315 +TMEM31 5 +GC 0 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/C2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/C2 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid C2 +COMMD10 1067 +USP26 0 +DDX17 13335 +DDX11 970 +PTPN20B 0 +SLC35D3 0 +GLOD4 2596 +GIMAP7 1 +TXLNB 29 +MYO18A 4666 +ATG4B 2602 +IFI44L 678 +KHSRP 5001 +KCNAB3 42 +RET 695 +IQCG 193 +C20orf118 20 +GPIHBP1 0 +RASSF3 1060 +FUT8 6459 +LYSMD3 1679 +LMOD3 31 +HIPK1 35223 +HSPA8 58864 +TAS2R39 0 +NR2C2AP 1162 +INADL 6418 +TMEM31 10 +GC 0 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/C3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/C3 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid C3 +COMMD10 438 +USP26 1 +DDX17 4579 +DDX11 221 +PTPN20B 0 +SLC35D3 0 +GLOD4 965 +GIMAP7 0 +TXLNB 9 +MYO18A 1193 +ATG4B 638 +IFI44L 307 +KHSRP 1593 +KCNAB3 10 +RET 361 +IQCG 84 +C20orf118 3 +GPIHBP1 0 +RASSF3 405 +FUT8 2599 +LYSMD3 666 +LMOD3 7 +HIPK1 14147 +HSPA8 26628 +TAS2R39 0 +NR2C2AP 403 +INADL 2421 +TMEM31 3 +GC 0 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/C4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/C4 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid C4 +COMMD10 1231 +USP26 0 +DDX17 16358 +DDX11 867 +PTPN20B 0 +SLC35D3 2 +GLOD4 2912 +GIMAP7 0 +TXLNB 25 +MYO18A 4741 +ATG4B 2394 +IFI44L 784 +KHSRP 5513 +KCNAB3 34 +RET 669 +IQCG 229 +C20orf118 14 +GPIHBP1 0 +RASSF3 1277 +FUT8 7977 +LYSMD3 2029 +LMOD3 48 +HIPK1 47991 +HSPA8 76924 +TAS2R39 0 +NR2C2AP 1223 +INADL 8507 +TMEM31 14 +GC 0 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/E1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/E1 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid E1 +COMMD10 964 +USP26 0 +DDX17 6995 +DDX11 916 +PTPN20B 0 +SLC35D3 1 +GLOD4 1807 +GIMAP7 1 +TXLNB 14 +MYO18A 1669 +ATG4B 1605 +IFI44L 268 +KHSRP 3162 +KCNAB3 28 +RET 2077 +IQCG 118 +C20orf118 6 +GPIHBP1 0 +RASSF3 507 +FUT8 4291 +LYSMD3 868 +LMOD3 19 +HIPK1 19201 +HSPA8 72195 +TAS2R39 0 +NR2C2AP 1293 +INADL 3443 +TMEM31 6 +GC 0 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/E2 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/E2 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid E2 +COMMD10 812 +USP26 0 +DDX17 8079 +DDX11 632 +PTPN20B 0 +SLC35D3 0 +GLOD4 1448 +GIMAP7 0 +TXLNB 15 +MYO18A 1457 +ATG4B 953 +IFI44L 302 +KHSRP 2624 +KCNAB3 34 +RET 1431 +IQCG 116 +C20orf118 13 +GPIHBP1 0 +RASSF3 575 +FUT8 4187 +LYSMD3 1141 +LMOD3 26 +HIPK1 28435 +HSPA8 61132 +TAS2R39 0 +NR2C2AP 761 +INADL 4415 +TMEM31 5 +GC 0 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/E3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/E3 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid E3 +COMMD10 528 +USP26 0 +DDX17 5994 +DDX11 706 +PTPN20B 0 +SLC35D3 2 +GLOD4 1039 +GIMAP7 0 +TXLNB 6 +MYO18A 1497 +ATG4B 1185 +IFI44L 191 +KHSRP 2434 +KCNAB3 22 +RET 1490 +IQCG 79 +C20orf118 10 +GPIHBP1 0 +RASSF3 401 +FUT8 2974 +LYSMD3 749 +LMOD3 9 +HIPK1 20715 +HSPA8 42728 +TAS2R39 0 +NR2C2AP 726 +INADL 3094 +TMEM31 6 +GC 0 diff -r 7e98e8bcfbf7 -r 0a05f6a91d71 test-data/Differential_Gene_Expression/E4 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/Differential_Gene_Expression/E4 Thu Dec 10 10:34:10 2015 -0500 @@ -0,0 +1,30 @@ +Geneid E4 +COMMD10 860 +USP26 0 +DDX17 6596 +DDX11 518 +PTPN20B 0 +SLC35D3 1 +GLOD4 1564 +GIMAP7 0 +TXLNB 17 +MYO18A 1121 +ATG4B 911 +IFI44L 269 +KHSRP 2509 +KCNAB3 10 +RET 1327 +IQCG 107 +C20orf118 9 +GPIHBP1 0 +RASSF3 568 +FUT8 4154 +LYSMD3 1076 +LMOD3 20 +HIPK1 22614 +HSPA8 67106 +TAS2R39 0 +NR2C2AP 902 +INADL 3441 +TMEM31 3 +GC 0