# HG changeset patch # User proteore # Date 1550507159 18000 # Node ID f2c0a2b448410be0eed655fb11938ef80d1a67fa # Parent b62fd03a3822fb11d7ed3279a3caa9fcb53fd34e planemo upload commit bfee528de437dc698b227a274983af3f3106cbb3-dirty diff -r b62fd03a3822 -r f2c0a2b44841 GO-enrich.R --- a/GO-enrich.R Fri Dec 21 03:55:25 2018 -0500 +++ b/GO-enrich.R Mon Feb 18 11:25:59 2019 -0500 @@ -156,9 +156,12 @@ #save(args,file="/home/dchristiany/proteore_project/ProteoRE/tools/cluster_profiler/args.Rda") #load("/home/dchristiany/proteore_project/ProteoRE/tools/cluster_profiler/args.Rda") - plot = unlist(strsplit(args$plot,",")) + go_represent=str2bool(args$go_represent) go_enrich=str2bool(args$go_enrich) + if (go_enrich){ + plot = unlist(strsplit(args$plot,",")) + } suppressMessages(library(args$species, character.only = TRUE, quietly = TRUE)) diff -r b62fd03a3822 -r f2c0a2b44841 cluster_profiler.xml --- a/cluster_profiler.xml Fri Dec 21 03:55:25 2018 -0500 +++ b/cluster_profiler.xml Mon Feb 18 11:25:59 2019 -0500 @@ -1,4 +1,4 @@ - + (Human, Mouse, Rat)[clusterProfiler] R @@ -32,6 +32,7 @@ #end if #if $ego.go_enrich == "true" + --plot="$ego.plot" --go_enrich="true" --pval_cutoff="$ego.pval" --qval_cutoff="$ego.qval" @@ -51,7 +52,6 @@ --go_enrich="false" #end if - --plot="$ego.plot" --onto_opt="$ontology" > $log ]]> @@ -75,7 +75,9 @@ - + + [c]{0,1}[0-9]+ + @@ -135,7 +137,9 @@ - + + [c]{0,1}[0-9]+ +