annotate clusterProfiler_go.xml @ 4:4010e1095349 draft

Uploaded
author kpbioteam
date Sun, 28 Apr 2019 07:37:14 -0400
parents d81d0f7d99a6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
1 <tool id="clusterprofiler_go" name="Cluster Profiler GO" version="0.1.0">
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
2 <description>run GO Analysis</description>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
3 <requirements>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
4 <requirement type="package" version="3.6.0">bioconductor-clusterprofiler</requirement>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
5 <requirement type="package">r-ggplot2</requirement>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
6 <requirement type="package" version="3.5.0">bioconductor-org.hs.eg.db</requirement>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
7 </requirements>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
9 Rscript '$clusterprofiler_go_script'
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
10 ]]></command>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
11 <configfiles>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
12 <configfile name="clusterprofiler_go_script"><![CDATA[
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
13
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
14 require("clusterProfiler", quietly = TRUE)
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
15 require("org.Hs.eg.db", quietly = TRUE)
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
16 require("ggplot2", quietly = TRUE)
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
17
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
18 gene <- read.table('$entrezid')
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
19 ego <- enrichGO(gene = c(gene\$V2),
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
20 keyType = "ENTREZID",
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
21 OrgDb = org.Hs.eg.db,
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
22 ont = "BP",
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
23 pAdjustMethod = "BH",
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
24 pvalueCutoff = 0.01,
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
25 qvalueCutoff = 0.05,
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
26 readable = TRUE)
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
27
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
28 write.table(ego, '$table')
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
29 dotplot(ego)
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
30 ggsave(file = '$plot', device = "pdf")
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
31
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
32 ]]>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
33 </configfile>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
34 </configfiles>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
35
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
36 <inputs>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
37 <param type="data" name="entrezid" format="txt" />
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
38 </inputs>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
39 <outputs>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
40 <data name="table" format="txt" />
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
41 <data name="plot" format="pdf" />
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
42 </outputs>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
43 <tests>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
44 <test>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
45 <param name="entrezid" value="genedf.txt"/>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
46 <output name="table" file="ego.txt"/>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
47 <output name="plot" file="ego.pdf"/>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
48 </test>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
49 </tests>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
50 <help><![CDATA[
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
51 This tool provide GO Enrichment Analysis of a gene set. Given a set of genes, this will return the enrichment GO categories after FDR control.
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
52 ]]></help>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
53 <citations>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
54 <citation type="doi">10.1089/omi.2011.0118</citation>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
55 </citations>
d81d0f7d99a6 Uploaded
kpbioteam
parents:
diff changeset
56 </tool>