Mercurial > repos > erasmus-medical-center > voom_transform
comparison voom_transform.xml @ 0:c6a3a93a237e draft default tip
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/galaxytools-emc/tree/master/tools/voom_transform commit e7e72828395347db6ba45ad6b927cd551b5e9327
author | erasmus-medical-center |
---|---|
date | Wed, 25 Jan 2017 10:13:10 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c6a3a93a237e |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <tool id="voom_transform" name="Voom transform" version="3.29.0-0"> | |
3 <description>transform count data to fit linear modelling</description> | |
4 <requirements> | |
5 <requirement type="package" version="3.29.0">bioconductor-limma</requirement> | |
6 <requirement type="package" version="1.20.0">r-getopt</requirement> | |
7 </requirements> | |
8 | |
9 <version_command>echo $(R --version | grep -i version | head -n 1)", Limma: "$(R --vanilla --slave -e "library(limma) ; cat(sessionInfo()\$otherPkgs\$limma\$Version)")</version_command> | |
10 | |
11 <command detect_errors="exit_code"><![CDATA[ | |
12 Rscript | |
13 #if str($include_rdata) == 'true' | |
14 --save | |
15 #end if | |
16 '${__tool_directory__}/voom_transform.R' | |
17 -e '${input_select.expression_matrix}' | |
18 -t '${output_matrix}' | |
19 | |
20 #if str($include_rdata) == 'true' | |
21 && cp '.RData' '$output_rdata' | |
22 #end if | |
23 | |
24 ]]></command> | |
25 | |
26 <inputs> | |
27 <conditional name="input_select"> | |
28 <param name="input_format" type="select" label="Output format"> | |
29 <option value="1">Single expression matrix (header + multi column)</option> | |
30 <!-- <option value="2">Count files (no header + 1 sample per file)</option>--> | |
31 </param> | |
32 | |
33 <when value="1"> | |
34 <param name="expression_matrix" type="data" format="txt,tabular" /> | |
35 </when> | |
36 <!-- | |
37 <when value="2"> | |
38 repeat / input type = multiple | |
39 </when> | |
40 --> | |
41 </conditional> | |
42 | |
43 <param name="include_rdata" type="boolean" truevalue="true" falsevalue="" label="Save RData object" /> | |
44 | |
45 <!-- normalization param | |
46 --> | |
47 | |
48 </inputs> | |
49 | |
50 <outputs> | |
51 <data name="output_matrix" format="tabular" | |
52 label="${tool.name} on $on_string" /> | |
53 | |
54 <data name="output_rdata" format="RData" label="${tool.name} on $on_string (RData)"> | |
55 <filter>str(include_rdata) in ['true', true]</filter> | |
56 </data> | |
57 </outputs> | |
58 | |
59 <tests> | |
60 <test> | |
61 <param name="input_format" value="1" /> | |
62 <param name="expression_matrix" value="em.txt" /> | |
63 | |
64 <output name="output_matrix" value="em_transformed.txt" /> | |
65 </test> | |
66 </tests> | |
67 | |
68 <help><![CDATA[ | |
69 | |
70 ]]></help> | |
71 | |
72 <citations> | |
73 <citation type="doi">10.1093/nar/gkv007</citation> | |
74 </citations> | |
75 </tool> |