annotate rmarkdown_deseq2_count_matrix.xml @ 0:c1f718dd6c7a draft

planemo upload
author mingchen0919
date Sat, 30 Dec 2017 00:25:38 -0500
parents
children 629323b5fc0c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
1 <tool id="rmarkdown_deseq2_count_matrix" name="DESeq2 (count matrix)" version="1.0.0">
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
2 <requirements>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
3 <requirement type="package" version="1.15.0.6-0">pandoc</requirement>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
4 <requirement type="package" version="1.20.0">r-getopt</requirement>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
5 <requirement type="package" version="1.3">r-rmarkdown</requirement>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
6 <requirement type="package" version="0.3.5">r-htmltools</requirement>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
7 <requirement type="package" version="0.5.0">r-dplyr</requirement>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
8 <requirement type="package" version="1.14.1">bioconductor-deseq2</requirement>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
9 <requirement type="package" version="0.2">r-dt</requirement>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
10 </requirements>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
11 <description>deseq2 analysis given a count matrix input</description>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
12 <stdio>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
13 <regex source="stderr" match="XXX" level="warning"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
14 description="Check the warnings_and_errors.txt file for more details."/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
15 </stdio>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
16 <command><![CDATA[
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
17 Rscript '${__tool_directory__}/rmarkdown_deseq2_count_matrix_render.R'
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
18 -e $echo
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
19 -c $count_data
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
20 -C $col_data
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
21 -D '$design_formula'
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
22 -k $contrast_condition
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
23 -T $treatment
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
24 -k $control
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
25 -r $report
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
26 -d $report.files_path
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
27 -s $sink_message
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
28 -t '${__tool_directory__}/rmarkdown_deseq2_count_matrix.Rmd'
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
29 ]]></command>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
30 <inputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
31 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
32 truevalue="TRUE" falsevalue="FALSE"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
33 <param type="data" name="count_data" label="count data" optional="False" format="txt,csv" multiple="False"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
34 <param type="data" name="col_data" label="column data" optional="False" format="txt,csv" multiple="False"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
35 <param type="text" name="design_formula" label="design formula"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
36 help="The simplest design formula for differential expression would be ~ condition, where condition&#13;&#10; is a column in colData(dds) that specifies which of two (or more groups) the samples belong to"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
37 optional="False" value="~ condition_1 + condition_2"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
38 <param type="text" name="contrast_condition" label="condition"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
39 help="A condition name specified in the design formula" optional="False" value="condition_1"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
40 <param type="text" name="treatment" label="treatment" help="the name of the numerator level for the fold change"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
41 optional="False"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
42 <param type="text" name="control" label="control" help="the name of the denominator level for the fold change"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
43 optional="False"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
44 </inputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
45 <outputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
46 <data name="report" format="html" label="DESeq2 report" hidden="false"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
47 <data name="differential_genes" format="csv" label="differential genes" from_work_dir="differential_genes.csv"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
48 hidden="false"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
49 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
50 hidden="false"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
51 </outputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
52 <help><![CDATA[See http://bioconductor.org/packages/devel/bioc/vignettes/DESeq2/inst/doc/DESeq2.html]]></help>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
53 <citations>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
54 <citation type="bibtex"><![CDATA[ @article{love2014moderated,
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
55 title={Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
56 author={Love, Michael I and Huber, Wolfgang and Anders, Simon},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
57 journal={Genome biology},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
58 volume={15},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
59 number={12},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
60 pages={550},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
61 year={2014},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
62 publisher={BioMed Central}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
63 }]]></citation>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
64 <citation type="bibtex"><![CDATA[ @article{allaire2016rmarkdown,
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
65 title={rmarkdown: Dynamic Documents for R, 2016},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
66 author={Allaire, J and Cheng, Joe and Xie, Yihui and McPherson, Jonathan and Chang, Winston and Allen, Jeff
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
67 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
68 journal={R package version 0.9},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
69 volume={6},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
70 year={2016}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
71 }]]></citation>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
72 </citations>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
73 </tool>