annotate peakachu.xml @ 3:600360da3986 draft default tip

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