comparison limma_voom.xml @ 7:e6a4ff41af6b draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/limma_voom commit cf399638ebca4250bcc15f468238a9964de97b33
author iuc
date Wed, 09 May 2018 13:27:14 -0400
parents 39fa12a6d885
children 00a42b66e522
comparison
equal deleted inserted replaced
6:39fa12a6d885 7:e6a4ff41af6b
1 <tool id="limma_voom" name="limma" version="3.34.9.2"> 1 <tool id="limma_voom" name="limma" version="3.34.9.3">
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>
8 <requirement type="package" version="3.20.7">bioconductor-edger</requirement> 8 <requirement type="package" version="3.20.7">bioconductor-edger</requirement>
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 </requirements> 14 </requirements>
14 15
15 <version_command><![CDATA[ 16 <version_command><![CDATA[
16 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: ") 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: ")
17 ]]></version_command> 18 ]]></version_command>
18 19
19 <command detect_errors="exit_code"><![CDATA[ 20 <command detect_errors="exit_code"><![CDATA[
20 #import json 21 #import json
21 Rscript '$__tool_directory__/limma_voom.R' 22 Rscript '$__tool_directory__/limma_voom.R'
80 #end if 81 #end if
81 82
82 -l '$adv.lfc' 83 -l '$adv.lfc'
83 -p '$adv.pVal' 84 -p '$adv.pVal'
84 -d '$adv.pAdjust' 85 -d '$adv.pAdjust'
85 -v '$adv.volgenes' 86 -G '$adv.topgenes'
86 #if $adv.treat: 87 #if $adv.treat:
87 -T 88 -T
88 #end if 89 #end if
89 90
90 #if $deMethod.de_select == 'voom': 91 #if $deMethod.de_select == 'voom':
275 <option value="none">None</option> 276 <option value="none">None</option>
276 </param> 277 </param>
277 <param name="treat" type="boolean" truevalue="1" falsevalue="0" checked="False" 278 <param name="treat" type="boolean" truevalue="1" falsevalue="0" checked="False"
278 label="Test significance relative to a fold-change threshold (TREAT)" 279 label="Test significance relative to a fold-change threshold (TREAT)"
279 help="If you want to apply a cut-off on a fold change the TREAT function can be used, see Help section below. Default: No"/> 280 help="If you want to apply a cut-off on a fold change the TREAT function can be used, see Help section below. Default: No"/>
280 <param name="volgenes" type="integer" value="10" min="0" 281 <param name="topgenes" type="integer" value="10" min="0"
281 label="Number of genes to highlight in Volcano plot" 282 label="Number of genes to highlight in Volcano plot and Heatmap"
282 help="The top DE genes will be highlighted in the Volcano plot for each contrast. Default: 10."/> 283 help="The top DE genes will be highlighted in the Volcano plot for each contrast and output in a heatmap PDF. Default: 10."/>
283 <param name="normalisationOption" type="select" label="Normalisation Method" help="Default: TMM"> 284 <param name="normalisationOption" type="select" label="Normalisation Method" help="Default: TMM">
284 <option value="TMM" selected="true">TMM</option> 285 <option value="TMM" selected="true">TMM</option>
285 <option value="RLE">RLE</option> 286 <option value="RLE">RLE</option>
286 <option value="upperquartile">Upperquartile</option> 287 <option value="upperquartile">Upperquartile</option>
287 <option value="none">None (Don't normalise)</option> 288 <option value="none">None (Don't normalise)</option>
315 </repeat> 316 </repeat>
316 <repeat name="rep_contrast"> 317 <repeat name="rep_contrast">
317 <param name="contrast" value="WT-Mut" /> 318 <param name="contrast" value="WT-Mut" />
318 </repeat> 319 </repeat>
319 <param name="normalisationOption" value="TMM" /> 320 <param name="normalisationOption" value="TMM" />
321 <param name="topgenes" value="6" />
320 <output_collection name="outTables" count="2"> 322 <output_collection name="outTables" count="2">
321 <element name="limma-voom_Mut-WT" ftype="tabular" > 323 <element name="limma-voom_Mut-WT" ftype="tabular" >
322 <assert_contents> 324 <assert_contents>
323 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" /> 325 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" />
324 <has_text_matching expression="11304.*0.4573" /> 326 <has_text_matching expression="11304.*0.4573" />
350 </repeat> 352 </repeat>
351 <repeat name="rep_contrast"> 353 <repeat name="rep_contrast">
352 <param name="contrast" value="Mut-WT" /> 354 <param name="contrast" value="Mut-WT" />
353 </repeat> 355 </repeat>
354 <param name="normalisationOption" value="TMM" /> 356 <param name="normalisationOption" value="TMM" />
357 <param name="topgenes" value="6" />
355 <output_collection name="outTables" count="1"> 358 <output_collection name="outTables" count="1">
356 <element name="limma-voom_Mut-WT" ftype="tabular" > 359 <element name="limma-voom_Mut-WT" ftype="tabular" >
357 <assert_contents> 360 <assert_contents>
358 <has_text_matching expression="EntrezID.*Symbol.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" /> 361 <has_text_matching expression="EntrezID.*Symbol.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" />
359 <has_text_matching expression="11304.*Abca4.*0.4573" /> 362 <has_text_matching expression="11304.*Abca4.*0.4573" />
373 </repeat> 376 </repeat>
374 <repeat name="rep_contrast"> 377 <repeat name="rep_contrast">
375 <param name="contrast" value="Mut-WT" /> 378 <param name="contrast" value="Mut-WT" />
376 </repeat> 379 </repeat>
377 <param name="normalisationOption" value="TMM" /> 380 <param name="normalisationOption" value="TMM" />
381 <param name="topgenes" value="6" />
378 <output name="outReport" > 382 <output name="outReport" >
379 <assert_contents> 383 <assert_contents>
380 <has_text text="RData" /> 384 <has_text text="RData" />
381 </assert_contents> 385 </assert_contents>
382 </output> 386 </output>
396 </repeat> 400 </repeat>
397 <repeat name="rep_contrast"> 401 <repeat name="rep_contrast">
398 <param name="contrast" value="Mut-WT" /> 402 <param name="contrast" value="Mut-WT" />
399 </repeat> 403 </repeat>
400 <param name="normalisationOption" value="TMM" /> 404 <param name="normalisationOption" value="TMM" />
405 <param name="topgenes" value="6" />
401 <output_collection name="outTables" count="1" > 406 <output_collection name="outTables" count="1" >
402 <element name="limma-voom_Mut-WT" ftype="tabular" > 407 <element name="limma-voom_Mut-WT" ftype="tabular" >
403 <assert_contents> 408 <assert_contents>
404 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" /> 409 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" />
405 <has_text_matching expression="11304.*0.4590" /> 410 <has_text_matching expression="11304.*0.4590" />
415 <param name="counts" value="matrix.txt" /> 420 <param name="counts" value="matrix.txt" />
416 <repeat name="rep_contrast"> 421 <repeat name="rep_contrast">
417 <param name="contrast" value="Mut-WT" /> 422 <param name="contrast" value="Mut-WT" />
418 </repeat> 423 </repeat>
419 <param name="normalisationOption" value="TMM" /> 424 <param name="normalisationOption" value="TMM" />
425 <param name="topgenes" value="6" />
420 <output_collection name="outTables" count="1"> 426 <output_collection name="outTables" count="1">
421 <element name="limma-voom_Mut-WT" ftype="tabular" > 427 <element name="limma-voom_Mut-WT" ftype="tabular" >
422 <assert_contents> 428 <assert_contents>
423 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" /> 429 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" />
424 <has_text_matching expression="11304.*0.4590" /> 430 <has_text_matching expression="11304.*0.4590" />
437 </repeat> 443 </repeat>
438 <repeat name="rep_contrast"> 444 <repeat name="rep_contrast">
439 <param name="contrast" value="Mut-WT" /> 445 <param name="contrast" value="Mut-WT" />
440 </repeat> 446 </repeat>
441 <param name="normalisationOption" value="TMM" /> 447 <param name="normalisationOption" value="TMM" />
448 <param name="topgenes" value="6" />
442 <output_collection name="outTables" count="2"> 449 <output_collection name="outTables" count="2">
443 <element name="limma-voom_Mut-WT" ftype="tabular" > 450 <element name="limma-voom_Mut-WT" ftype="tabular" >
444 <assert_contents> 451 <assert_contents>
445 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" /> 452 <has_text_matching expression="GeneID.*logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" />
446 <has_text_matching expression="11304.*0.4573" /> 453 <has_text_matching expression="11304.*0.4573" />
489 <param name="contrast" value="Mut-WT" /> 496 <param name="contrast" value="Mut-WT" />
490 </repeat> 497 </repeat>
491 <repeat name="rep_contrast"> 498 <repeat name="rep_contrast">
492 <param name="contrast" value="WT-Mut" /> 499 <param name="contrast" value="WT-Mut" />
493 </repeat> 500 </repeat>
501 <param name="topgenes" value="6" />
494 <param name="normCounts" value="true" /> 502 <param name="normCounts" value="true" />
495 <output_collection name="outTables" count="3"> 503 <output_collection name="outTables" count="3">
496 <element name="limma-voom_Mut-WT" ftype="tabular" > 504 <element name="limma-voom_Mut-WT" ftype="tabular" >
497 <assert_contents> 505 <assert_contents>
498 <has_text_matching expression="logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" /> 506 <has_text_matching expression="logFC.*AveExpr.*t.*P.Value.*adj.P.Val.*B" />
523 </repeat> 531 </repeat>
524 <repeat name="rep_contrast"> 532 <repeat name="rep_contrast">
525 <param name="contrast" value="Mut-WT" /> 533 <param name="contrast" value="Mut-WT" />
526 </repeat> 534 </repeat>
527 <param name="normalisationOption" value="TMM" /> 535 <param name="normalisationOption" value="TMM" />
536 <param name="topgenes" value="6" />
528 <param name="de_select" value="trend" /> 537 <param name="de_select" value="trend" />
529 <param name="rdaOption" value="true" /> 538 <param name="rdaOption" value="true" />
530 <output name="outReport" > 539 <output name="outReport" >
531 <assert_contents> 540 <assert_contents>
532 <has_text text="The limma-trend method was used" /> 541 <has_text text="The limma-trend method was used" />
553 </repeat> 562 </repeat>
554 <repeat name="rep_contrast"> 563 <repeat name="rep_contrast">
555 <param name="contrast" value="Mut-WT" /> 564 <param name="contrast" value="Mut-WT" />
556 </repeat> 565 </repeat>
557 <param name="normalisationOption" value="TMM" /> 566 <param name="normalisationOption" value="TMM" />
567 <param name="topgenes" value="6" />
558 <param name="de_select" value="trend" /> 568 <param name="de_select" value="trend" />
559 <param name="rdaOption" value="true" /> 569 <param name="rdaOption" value="true" />
560 <output name="outReport" > 570 <output name="outReport" >
561 <assert_contents> 571 <assert_contents>
562 <has_text text="The limma-trend method was used" /> 572 <has_text text="The limma-trend method was used" />