annotate DESeq_results.xml @ 0:6f94b4b9de44 draft

planemo upload
author mingchen0919
date Tue, 27 Feb 2018 23:57:53 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
1 <tool id="deseq_results" name="DESeq2: Results" version="2.0.1">
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
2 <requirements>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
5 <requirement type="package" version="1.6">r-rmarkdown</requirement>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
6 <requirement type="package" version="1.14.1">bioconductor-deseq2</requirement>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
7 <requirement type="package" version="0.2">r-dt</requirement>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
8 <requirement type="package" version="1.0.8">r-pheatmap</requirement>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
9 </requirements>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
10 <description>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
11 display DESeq2 analysis results.
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
12 </description>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
13 <stdio>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
14 <!--redirecting stderr to a file. "XXX" is used to match with nothing so that tool running won't be interrupted during testing-->
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
15 <regex match="XXX"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
16 source="stderr"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
17 level="warning"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
18 description="Check the warnings_and_errors.txt file for more details."/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
19 </stdio>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
20 <command>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
21 <![CDATA[
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
22
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
23 Rscript '${__tool_directory__}/DESeq_results_render.R'
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
24
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
25 -e $echo
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
26 -o $report
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
27 -d $report.files_path
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
28 -s $sink_message
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
29 -t '${__tool_directory__}'
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
30
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
31 ## 1. input data
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
32
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
33 -W $deseq_workspace
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
34 -C '$contrast_factor'
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
35 -T '$treatment'
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
36 -K '$condition'
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
37
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
38 -M '$clustering_factors'
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
39
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
40 ## 2. output report and report site directory
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
41 -R $deseq_results
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
42
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
43
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
44 ]]>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
45 </command>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
46 <inputs>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
47 <param type="boolean" name="echo" truevalue="TRUE" falsevalue="FALSE" checked="false"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
48 label="Display analysis code in report?"/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
49 <param type="data" name="deseq_workspace" format="rdata" multiple="false" optional="false"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
50 label="Workspace from tool DESeq2: DESeq"/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
51 <param type="text" name="contrast_factor" label="Factor" optional="false"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
52 help="the name of a factor in the design formula"/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
53 <param type="text" name="treatment" label="Treatment level" optional="false"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
54 help=" the name of the numerator level for the fold change"/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
55 <param type="text" name="condition" label="Condition level" optional="false"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
56 help=" the name of the denominator level for the fold change"/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
57 <param type="text" name="clustering_factors" title="Gene clustering factors" optional="false"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
58 label="factors of interest for clustering samples and PCA plot"
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
59 help="A single factor or multiple factors from the design formula. Multiple factors are separated by comma (,)."/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
60 </inputs>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
61 <outputs>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
62 <data format="html" name="report" label="DESeq results report on ${on_string}" />
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
63 <data format="txt" name="sink_message" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"/>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
64 <data format="csv" name="deseq_results" label="DESeq results on ${on_string}" from_work_dir="deseq_results.csv" />
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
65 </outputs>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
66 <citations>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
67 <citation type="bibtex">
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
68 @article{love2014moderated,
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
69 title={Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
70 author={Love, Michael I and Huber, Wolfgang and Anders, Simon},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
71 journal={Genome biology},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
72 volume={15},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
73 number={12},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
74 pages={550},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
75 year={2014},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
76 publisher={BioMed Central}
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
77 }
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
78 </citation>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
79 <citation type="bibtex">
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
80 @article{allaire2016rmarkdown,
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
81 title={rmarkdown: Dynamic Documents for R, 2016},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
82 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
83 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
84 journal={R package version 0.9},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
85 volume={6},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
86 year={2016}
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
87 }
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
88 </citation>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
89 <citation type="bibtex">
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
90 @book{xie2015dynamic,
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
91 title={Dynamic Documents with R and knitr},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
92 author={Xie, Yihui},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
93 volume={29},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
94 year={2015},
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
95 publisher={CRC Press}
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
96 }
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
97 </citation>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
98 </citations>
6f94b4b9de44 planemo upload
mingchen0919
parents:
diff changeset
99 </tool>