Mercurial > repos > iuc > gprofiler_random
annotate gprofiler_random.xml @ 0:39a063071667 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
author | iuc |
---|---|
date | Thu, 14 Nov 2019 06:01:04 -0500 |
parents | |
children | 7d18814397a7 |
rev | line source |
---|---|
0
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
2 <tool id="gprofiler_random" name="gProfiler Random" version="@VERSION@"> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
3 <description>generates a gene list</description> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
4 <macros> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
5 <import>macros.xml</import> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
6 </macros> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
7 <expand macro="requirements"></expand> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
8 <expand macro="version_command" /> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
9 <command detect_errors="aggressive">Rscript $script_file</command> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
10 <configfiles> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
11 <configfile name="script_file"><![CDATA[ |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
12 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
13 options( show.error.messages=F, error = function () { cat( geterrmessage(), file=stderr() ); q( "no", 1, F ) } ) |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
14 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8") |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
15 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
16 suppressPackageStartupMessages({ |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
17 library("gprofiler2") |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
18 }) |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
19 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
20 set_user_agent(paste(get_user_agent(), "galaxy")) |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
21 sessionInfo() |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
22 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
23 response <- random_query(organism = '${organism.organism}') |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
24 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
25 write.table(response, file='${output}', quote=FALSE, sep='\t', row.names = FALSE, col.names = FALSE) |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
26 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
27 ]]></configfile> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
28 </configfiles> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
29 <inputs> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
30 <expand macro="organism" /> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
31 </inputs> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
32 <outputs> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
33 <data name="output" format="tabular" label="${tool.name}" /> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
34 </outputs> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
35 <tests> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
36 <test> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
37 <output name="output"> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
38 <assert_contents> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
39 <has_n_columns n="1" /> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
40 </assert_contents> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
41 </output> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
42 </test> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
43 </tests> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
44 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
45 <help><![CDATA[ |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
46 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
47 **What it does** |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
48 This tool performs a request to g:Profiler API to fetch a set of pseudorandom gene IDs. Gene IDs selected in a |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
49 way that g:GOSt output with high probability will contain a small number of results with low enough p-values to |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
50 be considered as significant. |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
51 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
52 ----- |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
53 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
54 @REFERENCES@ |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
55 |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
56 ]]></help> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
57 <expand macro="citations"></expand> |
39a063071667
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/gprofiler/ commit ed9b518a6aaf6a5aada47e39c039f6936e41b290"
iuc
parents:
diff
changeset
|
58 </tool> |