Mercurial > repos > iuc > limma_voom
comparison limma_voom.xml @ 9:a30e66a28451 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/limma_voom commit 5f8052ab47b789da5ea47feb48e1b8e08b5fc1e0
| author | iuc |
|---|---|
| date | Tue, 05 Jun 2018 04:28:39 -0400 |
| parents | 87f26da8078e |
| children | 009d442415b7 |
comparison
equal
deleted
inserted
replaced
| 8:87f26da8078e | 9:a30e66a28451 |
|---|---|
| 1 <tool id="limma_voom" name="limma" version="3.34.9.4"> | 1 <tool id="limma_voom" name="limma" version="3.34.9.5"> |
| 2 <description> | 2 <description> |
| 3 Perform differential expression with limma-voom or limma-trend | 3 Perform differential expression with limma-voom or limma-trend |
| 4 </description> | 4 </description> |
| 5 | 5 |
| 6 <requirements> | 6 <requirements> |
| 9 <requirement type="package" version="1.4.30">r-statmod</requirement> | 9 <requirement type="package" version="1.4.30">r-statmod</requirement> |
| 10 <requirement type="package" version="0.5.0">r-scales</requirement> | 10 <requirement type="package" version="0.5.0">r-scales</requirement> |
| 11 <requirement type="package" version="0.2.15">r-rjson</requirement> | 11 <requirement type="package" version="0.2.15">r-rjson</requirement> |
| 12 <requirement type="package" version="1.20.0">r-getopt</requirement> | 12 <requirement type="package" version="1.20.0">r-getopt</requirement> |
| 13 <requirement type="package" version="3.0.1">r-gplots</requirement> | 13 <requirement type="package" version="3.0.1">r-gplots</requirement> |
| 14 <requirement type="package" version="1.6.0">bioconductor-glimma</requirement> | |
| 14 </requirements> | 15 </requirements> |
| 15 | 16 |
| 16 <version_command><![CDATA[ | 17 <version_command><![CDATA[ |
| 17 echo $(R --version | grep version | grep -v GNU)", limma version" $(R --vanilla --slave -e "library(limma); cat(sessionInfo()\$otherPkgs\$limma\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", edgeR version" $(R --vanilla --slave -e "library(edgeR); cat(sessionInfo()\$otherPkgs\$edgeR\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", statmod version" $(R --vanilla --slave -e "library(statmod); cat(sessionInfo()\$otherPkgs\$statmod\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", scales version" $(R --vanilla --slave -e "library(scales); cat(sessionInfo()\$otherPkgs\$scales\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", rjson version" $(R --vanilla --slave -e "library(rjson); cat(sessionInfo()\$otherPkgs\$rjson\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", getopt version" $(R --vanilla --slave -e "library(getopt); cat(sessionInfo()\$otherPkgs\$getopt\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", gplots version" $(R --vanilla --slave -e "library(gplots); cat(sessionInfo()\$otherPkgs\$gplots\$Version)" 2> /dev/null | grep -v -i "WARNING: ") | 18 echo $(R --version | grep version | grep -v GNU)", limma version" $(R --vanilla --slave -e "library(limma); cat(sessionInfo()\$otherPkgs\$limma\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", edgeR version" $(R --vanilla --slave -e "library(edgeR); cat(sessionInfo()\$otherPkgs\$edgeR\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", statmod version" $(R --vanilla --slave -e "library(statmod); cat(sessionInfo()\$otherPkgs\$statmod\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", scales version" $(R --vanilla --slave -e "library(scales); cat(sessionInfo()\$otherPkgs\$scales\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", rjson version" $(R --vanilla --slave -e "library(rjson); cat(sessionInfo()\$otherPkgs\$rjson\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", getopt version" $(R --vanilla --slave -e "library(getopt); cat(sessionInfo()\$otherPkgs\$getopt\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", gplots version" $(R --vanilla --slave -e "library(gplots); cat(sessionInfo()\$otherPkgs\$gplots\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", Glimma version" $(R --vanilla --slave -e "library(Glimma); cat(sessionInfo()\$otherPkgs\$Glimma\$Version)" 2> /dev/null | grep -v -i "WARNING: ") |
| 18 ]]></version_command> | 19 ]]></version_command> |
| 19 | 20 |
| 20 <command detect_errors="exit_code"><![CDATA[ | 21 <command detect_errors="exit_code"><![CDATA[ |
| 21 #import json | 22 #import json |
| 22 Rscript '$__tool_directory__/limma_voom.R' | 23 Rscript '$__tool_directory__/limma_voom.R' |
| 108 | 109 |
| 109 && | 110 && |
| 110 mkdir ./output_dir | 111 mkdir ./output_dir |
| 111 | 112 |
| 112 && | 113 && |
| 113 cp '$outReport.files_path'/*.tsv output_dir/ | 114 #if $anno.annoOpt=='yes': |
| 115 cp -r ./glimma* '$outReport.files_path' && | |
| 116 #end if | |
| 117 cp '$outReport.files_path'/*tsv output_dir/ | |
| 114 | 118 |
| 115 #if $out.rscript: | 119 #if $out.rscript: |
| 116 && cp '$__tool_directory__/limma_voom.R' '$rscript' | 120 && cp '$__tool_directory__/limma_voom.R' '$rscript' |
| 117 #end if | 121 #end if |
| 118 ]]></command> | 122 ]]></command> |
| 192 </conditional> | 196 </conditional> |
| 193 | 197 |
| 194 <!-- Gene Annotations --> | 198 <!-- Gene Annotations --> |
| 195 <conditional name="anno"> | 199 <conditional name="anno"> |
| 196 <param name="annoOpt" type="select" label="Use Gene Annotations?" | 200 <param name="annoOpt" type="select" label="Use Gene Annotations?" |
| 197 help="If you provide an annotation file, annotations will be added to the table(s) of differential expression results to provide descriptions for each gene, and used to label the top genes in the Volcano plot. See Help section below."> | 201 help="If you provide an annotation file, annotations will be added to the table(s) of differential expression results to provide descriptions for each gene, and used to label the top genes in the Volcano plot. An interactive Glimma MD plot and table will also be generated. See Help section below."> |
| 198 <option value="no">No</option> | 202 <option value="no">No</option> |
| 199 <option value="yes">Yes</option> | 203 <option value="yes">Yes</option> |
| 200 </param> | 204 </param> |
| 201 <when value="yes"> | 205 <when value="yes"> |
| 202 <param name="geneanno" type="data" format="tabular" label="Gene Annotations"/> | 206 <param name="geneanno" type="data" format="tabular" label="Gene Annotations"/> |
| 395 <output name="outReport" > | 399 <output name="outReport" > |
| 396 <assert_contents> | 400 <assert_contents> |
| 397 <has_text text="RData" /> | 401 <has_text text="RData" /> |
| 398 </assert_contents> | 402 </assert_contents> |
| 399 </output> | 403 </output> |
| 400 <output name="rscript" value="out_rscript.txt"/> | 404 <output name="rscript"> |
| 405 <assert_contents> | |
| 406 <has_text_matching expression="Task run time" /> | |
| 407 </assert_contents> | |
| 408 </output> | |
| 401 </test> | 409 </test> |
| 402 <!-- Ensure secondary factors work --> | 410 <!-- Ensure secondary factors work --> |
| 403 <test> | 411 <test> |
| 404 <param name="format" value="matrix" /> | 412 <param name="format" value="matrix" /> |
| 405 <param name="counts" value="matrix.txt" /> | 413 <param name="counts" value="matrix.txt" /> |
| 599 <help><