annotate peakzilla.xml @ 1:8badcbe5792c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
author iuc
date Tue, 27 Feb 2024 10:34:27 +0000
parents ca3ec50bfd94
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
1 <tool id="peakzilla" name="Peakzilla" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
2 <description>Identify transcription factor binding sites from ChIP-seq and ChIP-exo experiments</description>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
3 <macros>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">1.0</token>
1
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
5 <token name="@VERSION_SUFFIX@">1</token>
0
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
6 </macros>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
7 <requirements>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
8 <requirement type="package" version="2.7">python</requirement>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
9 <requirement type="package" version="@TOOL_VERSION@">peakzilla</requirement>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
10 </requirements>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
11 <stdio>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
12 <exit_code range="1:" level="fatal" description="Generic error"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
13 <regex match="ValueError: cannot convert float NaN to integer"
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
14 level="fatal"
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
15 description="No peaks detected or input data error"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
16 </stdio>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
17 <command>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
18 <![CDATA[
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
19 peakzilla.py
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
20 #if $options.model_peaks
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
21 -m '$options.model_peaks'
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
22 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
23 #if $options.enrichment_cutoff
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
24 -c '$options.enrichment_cutoff'
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
25 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
26 #if $options.score_cutoff
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
27 -s '$options.score_cutoff'
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
28 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
29 #if $options.fragment_size
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
30 -f '$options.fragment_size'
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
31 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
32 #if $options.gaussian
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
33 -e
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
34 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
35 #if $options.bedpe
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
36 -p
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
37 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
38 #if $outputs.negative
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
39 -n
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
40 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
41 #if $outputs.log
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
42 -l log.txt
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
43 #end if
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
44 '$chip_bed' '$input_bed' > '$results'
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
45 ]]>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
46 </command>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
47 <inputs>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
48 <param name="chip_bed" type="data" format="bed" label="ChIP Dataset in BED format"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
49 <param name="input_bed" type="data" format="bed" label="Input Dataset in BED format"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
50 <section name="options" title="Optional Parameters" expanded="false">
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
51 <param name="model_peaks" type="integer" optional="true" min="1" label="Number of most highly enriched regions used to estimate peak size (Default: 200)"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
52 <param name="enrichment_cutoff" type="integer" optional="true" min="1" label="Minimum cutoff for fold enrichment (Default: 2)"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
53 <param name="score_cutoff" type="integer" optional="true" min="1" label="Minimum cutoff for peak score (Default: 1)"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
54 <param name="fragment_size" type="integer" optional="true" min="1" label="Manually set fragment size in bp" help="If not set, it will be estimated from data"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
55 <param name="gaussian" type="boolean" checked="false" label="Use empirical model estimate instead of gaussian"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
56 <param name="bedpe" type="boolean" checked="false" label="Input is paired end and in BEDPE format"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
57 </section>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
58 <section name="outputs" title="Output Options" expanded="false">
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
59 <param name="negative" type="boolean" checked="false" label="Output negative peaks in control sample"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
60 <param name="log" type="boolean" checked="false" label="Output log file"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
61 </section>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
62 </inputs>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
63 <outputs>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
64 <data name="results" format="tabular" label="${tool.name} on ${on_string}"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
65 <data name="log" format="txt" from_work_dir="log.txt" label="Log file for ${tool.name} on ${on_string}">
1
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
66 <filter>outputs["log"]</filter>
0
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
67 </data>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
68 <data name="negative_peaks" format="tabular" from_work_dir="negative_peaks.tsv" label="Negative peaks for ${tool.name} on ${on_string}">
1
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
69 <filter>outputs["negative"]</filter>
0
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
70 </data>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
71 </outputs>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
72 <tests>
1
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
73 <test expect_num_outputs="1">
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
74 <param name="chip_bed" value="chip.bed" />
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
75 <param name="input_bed" value="input.bed" />
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
76 <output name="results" file="results_1.tsv">
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
77 <assert_contents>
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
78 <has_text text="Peak_1" />
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
79 </assert_contents>
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
80 </output>
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
81 </test>
0
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
82 <test expect_num_outputs="3">
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
83 <param name="chip_bed" value="chip.bed" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
84 <param name="input_bed" value="input.bed" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
85 <param name="model_peaks" value="200" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
86 <param name="fragment_size" value="50" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
87 <param name="enrichment_cutoff" value="2" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
88 <param name="score_cutoff" value="1" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
89 <param name="log" value="true" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
90 <param name="negative" value="true" />
1
8badcbe5792c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit ce081671d5ad816158825b089a0e62682f5f7963
iuc
parents: 0
diff changeset
91 <output name="results" file="results_2.tsv">
0
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
92 <assert_contents>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
93 <has_text text="Peak_1" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
94 </assert_contents>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
95 </output>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
96 <output name="log" file="log.txt" lines_diff="30">
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
97 <assert_contents>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
98 <has_text text="9569"/>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
99 </assert_contents>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
100 </output>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
101 <output name="negative_peaks" file="negative_peaks.tsv">
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
102 <assert_contents>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
103 <has_text text="Chromosome" />
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
104 </assert_contents>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
105 </output>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
106 </test>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
107 </tests>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
108 <help><![CDATA[
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
109 **Peakzilla**
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
110
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
111 Peakzilla identifies sites of enrichment and transcription factor binding sites from transcription factor ChIP-seq and ChIP-exo experiments at high accuracy and resolution.
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
112 It is designed to perform equally well for data from any species. All necessary parameters are estimated from the data. Peakzilla is suitable for both single and
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
113 paired-end data from any sequencing platform.
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
114
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
115 Note that peakzilla is not suited for the identification of broad regions of enrichment (e.g. ChIP-seq for histone marks), we recommend using MACS instead: Zhang et al.
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
116 Model-based Analysis of ChIP-Seq (MACS). Genome Biol (2008) 9(9):R137
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
117
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
118 *INPUT FORMAT*
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
119 Peakzilla accepts BED formatted alignments as input.
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
120
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
121 For conversation to BED format and working with BED files and alignments in
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
122 general I highly recommend:
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
123
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
124 * bowtie (http://bowtie-bio.sourceforge.net/)
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
125 * SAMtools (http://samtools.sourceforge.net/)
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
126 * bedtools (http://code.google.com/p/bedtools/)
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
127
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
128
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
129 *WORKFLOW EXAMPLE*
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
130 # use bowtie to map uniquely mappable reads to the genome
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
131 bowtie -p4 -m1 --sam genome_index input.fastq input.sam
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
132 bowtie -p4 -m1 --sam genome_index chip.fastq chip.sam
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
133
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
134 # convert to BAM format
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
135 samtools view -bS input.sam > input.bam
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
136 samtools view -bS chip.sam > chip.bam
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
137
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
138 # convert to BED format
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
139 bamToBed -i input.bam > input.bed
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
140 bamToBed -i chip.bam > chip.bed
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
141
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
142 # run peakzilla
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
143 python peakzilla.py chip.bed input.bed > chip_peaks.tsv
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
144
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
145 # Comparison of 2 datasets
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
146 # Determine significant peaks with a score threshold of 10
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
147 python peakzilla.py -s 10 chip1.bed input1.bed > chip1_s10_peaks.tsv
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
148 # Determine enriched regions with a score threshold of 2
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
149 python peakzilla.py -s 2 chip2.bed input2.bed > chip2_s2_peaks.tsv
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
150 # Overlap significant peaks from chip1 with enriched regions from chip2
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
151 intersectBed -a chip1_s10_peaks.tsv -b chip2_s2_peaks.tsv > intersect_peaks.tsv
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
152
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
153 For example datasets as well as an example of a computational pipeline for the comparative analysis of ChIP-seq datasets, please refer to our
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
154 publication: Bardet AF et al. A computational pipeline for comparative ChIP-seq analyses. Nature Protocols (2011) 7(1):45-61 (http://www.starklab.org/data/bardet_natprotoc_2011/)
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
155
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
156 *OPTIONS*
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
157 One of peakzilla's design goals is to learn all the necessary information
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
158 from the data. The usage of the options should therefore not be required.
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
159
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
160 *OUTPUT FORMAT*
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
161 * Results are printed as a table of tab-delimited values to stdout
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
162 * Logs are appended to logs.txt in the current directory or a custom directory/filename specified by the -l option
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
163 * Enriched regions in the control sample are written to negative_peaks.tsv or a custom directory/filename specified by the -n option
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
164 * Columns represent Chromosome / Start / End / Name / Summit / Score / ChIP / Control / FoldEnrichment / DistributionScore / FDR (%)
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
165 ]]></help>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
166 <citations>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
167 <citation type="doi">10.1038/nprot.2011.420</citation>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
168 </citations>
ca3ec50bfd94 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff changeset
169 </tool>