annotate peakachu.xml @ 0:28c319539b42 draft default tip

planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
author bgruening
date Thu, 15 Feb 2018 11:09:43 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
1 <tool id="peakachu" name="PEAKachu" version="0.1.0.0">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
2 <description>Calls Peaks in CLIP data</description>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
3 <requirements>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
4 <requirement type="package" version="3.6">python</requirement>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
5 <requirement type="package" version="0.1.0">peakachu</requirement>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
6 </requirements>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
7 <version_command>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
8 <![CDATA[
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
9 peakachu --version
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
10 ]]>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
11 </version_command>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
12 <command detect_errors="aggressive">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
13 <![CDATA[
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
14 #for $i, $clib in enumerate($controlLibs):
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
15 #if $clib:
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
16 ln -s -f '$clib' ${i}.c.bam &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
17 ln -s -f '$clib.metadata.bam_index' ${i}.c.bam.bai &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
18 #end if
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
19 #end for
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
20 #for $j, $elib in enumerate($experimentLibs):
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
21 ln -s -f '$elib' ${j}.e.bam &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
22 ln -s -f '$elib.metadata.bam_index' ${j}.e.bam.bai &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
23 #end for
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
24
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
25 pwd &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
26 mkdir ./tmp_output &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
27 peakachu
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
28 ${mode.mode_selector}
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
29 --exp_libs
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
30 #for $i, $elib in enumerate($experimentLibs):
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
31 '${i}.e.bam'
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
32 #end for
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
33 #for $i, $clib in enumerate($controlLibs):
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
34 #if $clib and $i == 0:
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
35 --ctr_libs
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
36 #end if
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
37 #if $clib:
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
38 '${i}.c.bam'
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
39 #end if
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
40 #end for
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
41 $pairwise_replicates
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
42 $paired_end
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
43 --max_insert_size $max_insert_size
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
44 --features '$features'
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
45 --sub_features '$sub_features'
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
46 --max_proc "\${GALAXY_SLOTS:-1}"
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
47 --output_folder ./tmp_output
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
48 #if str($mode.mode_selector) == 'adaptive':
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
49 --min_cluster_expr_frac $mode.min_cluster_expr_frac
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
50 --min_block_overlap $mode.min_block_overlap
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
51 --min_max_block_expr $mode.min_max_block_expr
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
52 #elif str($mode.mode_selector) == 'window':
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
53 --window_size $mode.window_size
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
54 --step_size $mode.step_size
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
55 --stat_test $mode.stat_test
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
56 --het_p_val_threshold $mode.het_p_val_threshold
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
57 --rep_pair_p_val_threshold $mode.rep_pair_p_val_threshold
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
58 #end if
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
59 --norm_method $mode.norm_method.norm_method_selector
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
60 #if str($mode.norm_method.norm_method_selector) == 'manual':
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
61 --size_factors $size_factors
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
62 #end if
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
63 --mad_multiplier $mad_multiplier
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
64 --fc_cutoff $fc_cutoff
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
65 --padj_threshold $padj_threshold
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
66
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
67 &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
68 head -n 1 -q ./tmp_output/peak_tables/*.csv | head -n 1 > peaks.tsv &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
69 tail -n +2 -q ./tmp_output/peak_tables/*.csv >> peaks.tsv &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
70 mv peaks.tsv '$peak_tables' &&
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
71 mv ./tmp_output/plots/Initial*.png '$MA_plot'
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
72
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
73 ]]>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
74 </command>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
75 <inputs>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
76 <param name="experimentLibs" type="data" format="bam" label="Experiment Libraries" multiple="True"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
77 <param name="controlLibs" type="data" format="bam" label="Control Libraries" multiple="True" optional="True"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
78 <param argument="--pairwise_replicates" type="boolean" truevalue="--pairwise_replicates" falsevalue="" checked="False" label="Pairwise Replicates" />
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
79 <param argument="--paired_end" type="boolean" truevalue="--paired_end" falsevalue="" checked="False" label="Paired End" />
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
80 <param argument="--max_insert_size" type="integer" value="50" label="Maximum Insert Size"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
81 <!-- The gff feature is not implemented, because the function can easily be accomplished with featureCount or other tools
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
82 <param name="gffs" type="data" format="gff" label="Annotation" optional="True" multiple="True"/-->
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
83 <param argument="--features" type="text" label="Features">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
84 <sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
85 <valid initial="default"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
86 </sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
87 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
88 <param argument="--sub_features" type="text" label="Sub-Features">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
89 <sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
90 <valid initial="default"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
91 </sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
92 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
93
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
94 <conditional name="mode">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
95 <param name="mode_selector" type="select" label="Select Mode" help="These modes work differently.">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
96 <option value="adaptive" selected="True">Adaptive</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
97 <option value="window">Window</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
98 <!-- The following options are not implemented because they are vastly different and should be implemented as their own tool, if need be.
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
99 <option value="coverage">Coverage</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
100 <option value="consensus_peak">Consensus Peak</option-->
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
101 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
102 <when value="adaptive">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
103 <param argument="--min_cluster_expr_frac" label="Minimum cluster Expression Fraction" help="Minimum fraction of a block in a cluster for further consideration." type="float" value="0.01"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
104 <param argument="--min_block_overlap" label="Minimum Block Overlap" help="Minimum fraction of the width of blocks for merging." type="float" value="0.5"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
105 <param argument="--min_max_block_expr" label="Minimum Block Expression" help="Minimum fraction of expression of blocks for merging." type="float" value="0.1"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
106 <conditional name="norm_method">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
107 <param name="norm_method_selector" type="select" label="Normalisation Method.">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
108 <option value="deseq" selected="True">DESeq2</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
109 <option value="manual">Manual</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
110 <option value="none">None</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
111 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
112 <when value="deseq"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
113 <when value="none"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
114 <when value="manual">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
115 <param argument="--size_factors" label="Size Factors" type="text" help="Size factors have to be seperated by SPACE">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
116 <sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
117 <valid initial="default"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
118 </sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
119 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
120 </when>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
121 </conditional>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
122 </when>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
123 <when value="window">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
124 <param argument="--window_size" label="Window Size" type="integer" value="25"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
125 <param argument="--step_size" label="Step Size" type="integer" value="5"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
126 <param name="stat_test" type="select" label="Statistical Test">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
127 <option value="gtest" selected="True">gtest</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
128 <option value="deseq">DESeq2</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
129 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
130 <conditional name="norm_method">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
131 <param name="norm_method_selector" type="select" label="Normalisation Method.">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
132 <option value="tmm" selected="True">TMM</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
133 <option value="deseq">DESeq2</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
134 <option value="count">Count</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
135 <option value="manual">Manual</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
136 <option value="none">None</option>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
137 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
138 <when value="deseq"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
139 <when value="tmm"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
140 <when value="count"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
141 <when value="none"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
142 <when value="manual">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
143 <param argument="--size_factors" label="Size Factors" type="text" help="Size factors have to be seperated by SPACE">
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
144 <sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
145 <valid initial="default"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
146 </sanitizer>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
147 </param>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
148 </when>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
149 </conditional>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
150 <param argument="--het_p_val_threshold" label="Heterogeneous p-value Threshold" type="float" value="0.01"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
151 <param argument="--rep_pair_p_val_threshold" label="Paired p-value Threshold" type="float" value="0.05"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
152 </when>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
153 </conditional>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
154 <param argument="--mad_multiplier" label="Mad Multiplier" type="float" value="2.0"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
155 <param argument="--fc_cutoff" label="Fold Change Threshold" type="float" value="2.0"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
156 <param argument="--padj_threshold" type="float" label="Adjusted p-value Threshold" value="0.05"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
157 </inputs>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
158 <outputs>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
159 <data format="tabular" name="peak_tables" label="${tool.name} ${mode.mode_selector} on ${on_string}: peaks"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
160 <data format="png" name="MA_plot" label="${tool.name} ${mode.mode_selector} on ${on_string}: MA plot"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
161 </outputs>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
162 <tests>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
163 <test>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
164 <param name="experimentLibs" value="test1_+xl.bam"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
165 <param name="controlLibs" value="test1_-xl.bam"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
166 <output name="peak_tables" ftype="tabular" file="test1_peaks.tsv"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
167 <output name="MA_plot" ftype="png" file="test1_MA.png"/>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
168 </test>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
169 </tests>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
170 <help>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
171 <![CDATA[
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
172 **PEAKachu**
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
173
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
174 PEAKachu is a tool for the accurate mapping of RBP binding sites based on CLIP-seq and RIP-seq data.
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
175 PEAKachu uses signal and control libraries (ideally more than three each) to detect binding sites.
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
176 It implements two peak calling approaches
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
177
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
178 **adaptive**
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
179
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
180 The adaptive approach applies a three-step procedure to detect regions that are significantly enriched over controls.
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
181
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
182 - blockbuster is applied to the pooled libraries to combine similar sets of reads into blocks
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
183 - blocks are decomposed into peaks by iteratively applying a block merging heuristic
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
184 - peaks with significant enrichment of signal over control libraries are determined using DESeq2
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
185
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
186 **windowed**
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
187
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
188 The windowed approach subdivides the genome into overlapping regions.
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
189 After filtering of lowly expressed regions and library normalization (either using manual size factors, TMM, or DESeq2), this approach determines significantly enriched windows using eiterh DESeq2 or repeated G-tests of goodness-of-fit.
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
190
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
191 ]]>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
192 </help>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
193 <citations>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
194 </citations>
28c319539b42 planemo upload for repository https://github.com/tbischler/PEAKachu commit 21413560ba7ac260a92531c08899c4a342d1660d
bgruening
parents:
diff changeset
195 </tool>