Mercurial > repos > rnateam > chipseeker
annotate chipseeker.xml @ 0:58ef4507ce5a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
author | rnateam |
---|---|
date | Thu, 24 May 2018 18:25:40 -0400 |
parents | |
children | 95f779f4adb7 |
rev | line source |
---|---|
0
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
1 <tool id="chipseeker" name="ChIPseeker" version="1.14.2"> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
2 <description>for ChIP peak annotation and visualization</description> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
3 <requirements> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
4 <requirement type="package" version="1.14.2">bioconductor-chipseeker</requirement> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
5 <requirement type="package" version="3.4.0">bioconductor-txdb.hsapiens.ucsc.hg38.knowngene</requirement> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
6 <requirement type="package" version="3.2.2">bioconductor-txdb.hsapiens.ucsc.hg19.knowngene</requirement> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
7 <requirement type="package" version="3.4.0">bioconductor-txdb.Mmusculus.UCSC.mm10.knownGene</requirement> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
8 <requirement type="package" version="3.5.0">bioconductor-org.hs.eg.db</requirement> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
9 <requirement type="package" version="3.5.0">bioconductor-org.mm.eg.db</requirement> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
10 </requirements> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
11 <version_command><![CDATA[ |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
12 echo $(R --version | grep version | grep -v GNU)", ChIPseeker version" $(R --vanilla --slave -e "library(ChIPseeker); cat(sessionInfo()\$otherPkgs\$ChIPseeker\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", TxDb.Hsapiens.UCSC.hg38.knownGene version" $(R --vanilla --slave -e "library(TxDb.Hsapiens.UCSC.hg38.knownGene); cat(sessionInfo()\$otherPkgs\$TxDb.Hsapiens.UCSC.hg38.knownGene\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", TxDb.Hsapiens.UCSC.hg19.knownGene version" $(R --vanilla --slave -e "library(TxDb.Hsapiens.UCSC.hg19.knownGene); cat(sessionInfo()\$otherPkgs\$TxDb.Hsapiens.UCSC.hg19.knownGene\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", TxDb.Mmusculus.UCSC.mm10.knownGene version" $(R --vanilla --slave -e "library(TxDb.Mmusculus.UCSC.mm10.knownGene); cat(sessionInfo()\$otherPkgs\$TxDb.Mmusculus.UCSC.mm10.knownGene\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", org.Hs.eg.db version" $(R --vanilla --slave -e "library(org.Hs.eg.db); cat(sessionInfo()\$otherPkgs\$org.Hs.eg.db\$Version)" 2> /dev/null | grep -v -i "WARNING: ")", org.Mm.eg.db version" $(R --vanilla --slave -e "library(org.Mm.eg.db); cat(sessionInfo()\$otherPkgs\$org.Mm.eg.db\$Version)" 2> /dev/null | grep -v -i "WARNING: ") |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
13 ]]></version_command> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
14 <command detect_errors="exit_code"><![CDATA[ |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
15 #if $rscript: |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
16 cp '${chipseeker_script}' '${out_rscript}' && |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
17 #end if |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
18 Rscript '${chipseeker_script}' |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
19 ]]> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
20 </command> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
21 <configfiles> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
22 <configfile name="chipseeker_script"><![CDATA[ |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
23 options( show.error.messages=F, error = function () { cat( geterrmessage(), file=stderr() ); q( "no", 1, F ) } ) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
24 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
25 # we need that to not crash galaxy with an UTF8 error on German LC settings. |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
26 loc <- Sys.setlocale("LC_MESSAGES", "en_US.UTF-8") |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
27 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
28 suppressPackageStartupMessages(library(ChIPseeker)) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
29 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
30 genome <- "${genome}" |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
31 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
32 if (genome == "hg38") { |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
33 suppressPackageStartupMessages({ |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
34 library(TxDb.Hsapiens.UCSC.hg38.knownGene) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
35 library(org.Hs.eg.db) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
36 }) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
37 txdb <- TxDb.Hsapiens.UCSC.hg38.knownGene |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
38 annodb <- "org.Hs.eg.db" |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
39 } else if (genome == "hg19") { |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
40 suppressPackageStartupMessages({ |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
41 library(TxDb.Hsapiens.UCSC.hg19.knownGene) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
42 library(org.Hs.eg.db) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
43 }) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
44 txdb <- TxDb.Hsapiens.UCSC.hg19.knownGene |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
45 annodb <- "org.Hs.eg.db" |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
46 } else if (genome == "mm10") { |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
47 suppressPackageStartupMessages({ |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
48 library(TxDb.Mmusculus.UCSC.mm10.knownGene) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
49 library(org.Mm.eg.db) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
50 }) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
51 txdb <- TxDb.Mmusculus.UCSC.mm10.knownGene |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
52 annodb <- "org.Mm.eg.db" |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
53 } else { |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
54 cat(paste("Genome not supported", genome)) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
55 } |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
56 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
57 peaks <- readPeakFile('$peaks_file') |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
58 peakAnno <- annotatePeak(peaks, TxDb=txdb, annoDb=annodb) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
59 write.table(peakAnno, file='$out_tab', sep="\t", row.names=FALSE, quote=FALSE) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
60 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
61 if (!is.null("${pdf}")) { |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
62 pdf("out.pdf", width=14) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
63 plotAnnoPie(peakAnno) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
64 plotAnnoBar(peakAnno) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
65 vennpie(peakAnno) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
66 upsetplot(peakAnno) |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
67 plotDistToTSS(peakAnno, title="Distribution of transcription factor-binding loci\nrelative to TSS") |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
68 dev.off() |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
69 } |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
70 ]]></configfile> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
71 </configfiles> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
72 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
73 <inputs> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
74 <param name="peaks_file" type="data" format="bed" label="Peaks file" help="A peaks file in BED format." /> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
75 <param name="genome" type="select" label="Genome" help="Select the genome. Options are hg38, hg19 or mm10."> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
76 <option value="hg38">hg38</option> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
77 <option value="hg19">hg19</option> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
78 <option value="mm10">mm10</option> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
79 </param> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
80 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
81 <param name="pdf" type="boolean" truevalue="True" falsevalue="" checked="True" label="Output a PDF file of plots?" help="Default: Yes" /> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
82 <param name="rscript" type="boolean" truevalue="TRUE" falsevalue="FALSE" checked="False" label="Output Rscript?" help="If this option is set to Yes, the Rscript used to annotate the IDs will be provided as a text file in the output. Default: No" /> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
83 </inputs> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
84 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
85 <outputs> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
86 <data name="out_tab" format="tabular" from_work_dir="out.tab" label="${tool.name} on ${on_string}: Annotated Peaks" /> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
87 <data name="out_plots" format="pdf" from_work_dir="out.pdf" label="${tool.name} on ${on_string}: Plots"> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
88 <filter>pdf</filter> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
89 </data> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
90 <data name="out_rscript" format="txt" from_work_dir="out_rscript.txt" label="${tool.name} on ${on_string}: Rscript"> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
91 <filter>rscript</filter> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
92 </data> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
93 </outputs> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
94 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
95 <tests> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
96 <!-- Ensure outputs work --> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
97 <test expect_num_outputs="3"> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
98 <param name="peaks_file" value="in.diffbind" ftype="bed"/> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
99 <param name="genome" value="hg19"/> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
100 <param name="rscript" value="True"/> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
101 <output name="out_tab" file="out.tab" /> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
102 <output name="out_plots" file="out.pdf" compare="sim_size"/> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
103 <output name="out_rscript" > |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
104 <assert_contents> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
105 <has_text_matching expression="peakAnno.*annotatePeak" /> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
106 </assert_contents> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
107 </output> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
108 </test> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
109 </tests> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
110 <help><![CDATA[ |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
111 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
112 .. class:: infomark |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
113 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
114 **What it does** |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
115 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
116 ChIPseeker_ is a Bioconductor package for annotating ChIP-seq data analysis. See |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
117 the `ChIPseeker vignette`_ for more information. |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
118 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
119 ----- |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
120 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
121 **Inputs** |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
122 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
123 A peaks file in BED format e.g from MACS2 or DiffBind. |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
124 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
125 ----- |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
126 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
127 **Outputs** |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
128 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
129 This tool outputs |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
130 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
131 * a table of annotated peaks |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
132 * a PDF of plots |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
133 * the R script used by this tool |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
134 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
135 .. _ChIPseeker: https://bioconductor.org/packages/release/bioc/html/ChIPseeker.html |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
136 .. _`ChIPseeker vignette`: http://bioconductor.org/packages/release/bioc/vignettes/ChIPseeker/inst/doc/ChIPseeker.html |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
137 |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
138 ]]></help> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
139 <citations> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
140 <citation type="doi">10.1093/bioinformatics/btv145</citation> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
141 </citations> |
58ef4507ce5a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/chipseeker commit 9324a8e21c41d62b461dce9c3c17df544e5cd0ce
rnateam
parents:
diff
changeset
|
142 </tool> |