Mercurial > repos > iuc > peakzilla
annotate peakzilla.xml @ 0:ca3ec50bfd94 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
author | iuc |
---|---|
date | Mon, 26 Feb 2024 10:55:19 +0000 |
parents | |
children | 8badcbe5792c |
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> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
5 <token name="@VERSION_SUFFIX@">0</token> |
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}"> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
66 <filter>log</filter> |
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}"> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
69 <filter>negative</filter> |
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> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
73 <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
|
74 <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
|
75 <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
|
76 <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
|
77 <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
|
78 <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
|
79 <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
|
80 <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
|
81 <param name="negative" value="true" /> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
82 <output name="results" file="results.tsv"> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
83 <assert_contents> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
84 <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
|
85 </assert_contents> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
86 </output> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
87 <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
|
88 <assert_contents> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
89 <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
|
90 </assert_contents> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
91 </output> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
92 <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
|
93 <assert_contents> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
94 <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
|
95 </assert_contents> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
96 </output> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
97 </test> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
98 </tests> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
99 <help><![CDATA[ |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
100 **Peakzilla** |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
101 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
102 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
|
103 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
|
104 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
|
105 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
106 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
|
107 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
|
108 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
109 *INPUT FORMAT* |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
110 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
|
111 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
112 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
|
113 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
|
114 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
115 * 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
|
116 * 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
|
117 * 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
|
118 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
119 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
120 *WORKFLOW EXAMPLE* |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
121 # 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
|
122 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
|
123 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
|
124 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
125 # 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
|
126 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
|
127 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
|
128 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
129 # 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
|
130 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
|
131 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
|
132 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
133 # run peakzilla |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
134 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
|
135 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
136 # 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
|
137 # 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
|
138 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
|
139 # 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
|
140 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
|
141 # 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
|
142 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
|
143 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
144 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
|
145 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
|
146 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
147 *OPTIONS* |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
148 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
|
149 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
|
150 |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
151 *OUTPUT FORMAT* |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
152 * 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
|
153 * 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
|
154 * 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
|
155 * 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
|
156 ]]></help> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
157 <citations> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
158 <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
|
159 </citations> |
ca3ec50bfd94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/peakzilla commit defa1857cbd66d5f90e3e6f98dc11e1d215b742a
iuc
parents:
diff
changeset
|
160 </tool> |