annotate rmarkdown_deseq2_count_matrix.xml @ 2:8ceda5896765 draft default tip

fix error
author mingchen0919
date Wed, 03 Jan 2018 15:04:30 -0500
parents 629323b5fc0c
children
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
1
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
20 -n '$count_matrix_column_names'
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
21 -C $col_data
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
22 -D '$design_formula'
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
23 -k $contrast_condition
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
24 -T $treatment
1
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
25 -K $control
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
26 -r $report
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
27 -d $report.files_path
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
28 -s $sink_message
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
29 -t '${__tool_directory__}/rmarkdown_deseq2_count_matrix.Rmd'
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
30 ]]></command>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
31 <inputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
32 <param type="boolean" name="echo" label="Display analysis code in report?" optional="False" checked="False"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
33 truevalue="TRUE" falsevalue="FALSE"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
34 <param type="data" name="count_data" label="count data" optional="False" format="txt,csv" multiple="False"/>
1
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
35 <param type="text" name="count_matrix_column_names" label="column names"
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
36 help="This field is used to update the column names of count data matrix. Column names are separated by comma (,). For example, 'column_1, column_2, column_3, column_4'"
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
37 optional="True" area="True" size="5x25"></param>
2
8ceda5896765 fix error
mingchen0919
parents: 1
diff changeset
38 <param type="data" name="col_data" label="column data (from file)" optional="False" format="csv" multiple="False"/>
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
39 <param type="text" name="design_formula" label="design formula"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
40 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"
1
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
41 optional="False" value="~ condition_1 + condition_2">
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
42 <sanitizer>
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
43 <valid>
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
44 <add value="~"/>
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
45 </valid>
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
46 </sanitizer>
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
47 </param>
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
48 <param type="text" name="contrast_condition" label="condition"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
49 help="A condition name specified in the design formula" optional="False" value="condition_1"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
50 <param type="text" name="treatment" label="treatment" help="the name of the numerator level for the fold change"
1
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
51 optional="False" value="treated"/>
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
52 <param type="text" name="control" label="control" help="the name of the denominator level for the fold change"
1
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
53 optional="False" value="untreated"/>
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
54 </inputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
55 <outputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
56 <data name="report" format="html" label="DESeq2 report" hidden="false"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
57 <data name="differential_genes" format="csv" label="differential genes" from_work_dir="differential_genes.csv"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
58 hidden="false"/>
1
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
59 <data name="deseq2" format="rdata" label="DESeq2 R objects" from_work_dir="deseq2.RData"
629323b5fc0c update tool
mingchen0919
parents: 0
diff changeset
60 hidden="false"/>
0
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
61 <data name="sink_message" format="txt" label="Warnings and Errors" from_work_dir="warnings_and_errors.txt"
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
62 hidden="false"/>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
63 </outputs>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
64 <help><![CDATA[See http://bioconductor.org/packages/devel/bioc/vignettes/DESeq2/inst/doc/DESeq2.html]]></help>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
65 <citations>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
66 <citation type="bibtex"><![CDATA[ @article{love2014moderated,
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
67 title={Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
68 author={Love, Michael I and Huber, Wolfgang and Anders, Simon},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
69 journal={Genome biology},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
70 volume={15},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
71 number={12},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
72 pages={550},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
73 year={2014},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
74 publisher={BioMed Central}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
75 }]]></citation>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
76 <citation type="bibtex"><![CDATA[ @article{allaire2016rmarkdown,
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
77 title={rmarkdown: Dynamic Documents for R, 2016},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
78 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
79 and Wickham, Hadley and Atkins, Aron and Hyndman, Rob},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
80 journal={R package version 0.9},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
81 volume={6},
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
82 year={2016}
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
83 }]]></citation>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
84 </citations>
c1f718dd6c7a planemo upload
mingchen0919
parents:
diff changeset
85 </tool>