annotate macs2_callpeak.xml @ 12:38769345062e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
author iuc
date Thu, 22 Mar 2018 09:43:37 -0400
parents cb785e26207c
children 01cded2297b7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
1 <tool id="macs2_callpeak" name="MACS2 callpeak" version="@VERSION_STRING@.3" profile="17.09">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
2 <description>Call peaks from alignment results</description>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
3 <macros>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
4 <import>macs2_macros.xml</import>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
5 </macros>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
6 <expand macro="requirements">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
7 </expand>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
8 <expand macro="stdio" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
9 <expand macro="version_command" />
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
10 <command><![CDATA[
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
11 @home_dir@
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
12
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
13 #set $temp_stderr = 'macs2_stderr'
fe62ba547975 Uploaded
iuc
parents:
diff changeset
14 (macs2 callpeak
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
16 --name 'MACS2'
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
17
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
18 ## Treatment File(s)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
19
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
20 #if str($treatment.t_multi_select) == "Yes":
11
cb785e26207c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 6ebc6405a002e28bce63fdcdb527a71e48fe9418
iuc
parents: 10
diff changeset
21 -t ${ ' '.join( [ "'%s'" % $x for $x in $treatment.input_treatment_file] ) }
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
22 #else
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
23 -t '$treatment.input_treatment_file'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
24 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
25
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
26 ## Control File(s)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
27
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
28 #if str($control.c_select) == "Yes":
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
29 #if str($control.c_multiple.c_multi_select) == "Yes":
11
cb785e26207c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 6ebc6405a002e28bce63fdcdb527a71e48fe9418
iuc
parents: 10
diff changeset
30 -c ${ ' '.join( [ "'%s'" % $x for $x in $control.c_multiple.input_control_file] ) }
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
31 #else
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
32 -c '$control.c_multiple.input_control_file'
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
33 #end if
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
34 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
35
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
36 --format $format
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
37
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
38 @effective_genome_size@
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40 ## advanced options
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
41
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
42 $advanced_options.nolambda
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
43 $advanced_options.to_large
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
44
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
45 #if $advanced_options.ratio:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
46 --ratio $advanced_options.ratio
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
47 #end if
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
48
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
49 #if $advanced_options.slocal:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
50 --slocal $advanced_options.slocal
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
51 #end if
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
52
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
53 #if $advanced_options.llocal:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
54 --llocal $advanced_options.llocal
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
55 #end if
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
57 #if $advanced_options.broad_options.broad_options_selector == "broad":
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
58 --broad
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
59 --broad-cutoff='${ advanced_options.broad_options.broad_cutoff }'
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
60 #else
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
61 $advanced_options.broad_options.call_summits
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
62 #end if
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
63
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
64 #if str( $advanced_options.keep_dup_options.keep_dup_options_selector ) == "user":
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
65 --keep-dup '${ advanced_options.keep_dup_options.user_keepdup }'
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
66 #else
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
67 --keep-dup '${ advanced_options.keep_dup_options.keep_dup_options_selector }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
68 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
69
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
70
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
71 ## With --bdg two additional output files will be generated.
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
72 #if "bdg" in str($outputs).split(','):
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
73 --bdg
fe62ba547975 Uploaded
iuc
parents:
diff changeset
74 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
75
fe62ba547975 Uploaded
iuc
parents:
diff changeset
76 ## cutoff selection
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
77 #if str( $cutoff_options.cutoff_options_selector ) == "qvalue":
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
78 --qvalue '${ cutoff_options.qvalue }'
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
79 #elif str( $cutoff_options.cutoff_options_selector ) == "pvalue":
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
80 #if str($cutoff_options.pvalue).strip() != "":
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
81 --pvalue '${ cutoff_options.pvalue }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
82 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
83 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
84
fe62ba547975 Uploaded
iuc
parents:
diff changeset
85 ## model options
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
86 #if $nomodel_type.nomodel_type_selector == "nomodel":
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
87 --nomodel
fe62ba547975 Uploaded
iuc
parents:
diff changeset
88 --extsize '${ nomodel_type.extsize }'
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
89 --shift '${ nomodel_type.shift}'
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
90 #else
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
91 --mfold '${nomodel_type.mfold_lower}' '${nomodel_type.mfold_upper}'
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
92
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
93 #if $nomodel_type.band_width:
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
94 --bw '${nomodel_type.band_width}'
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
95 #end if
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
96 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
97
7
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
98 2>&1 > $temp_stderr)
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
99 #if "peaks_tabular" in str($outputs).split(','):
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
100 &&
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
101 cp MACS2_peaks.xls '${ output_tabular }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
102 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
103
fe62ba547975 Uploaded
iuc
parents:
diff changeset
104 ## run R to create pdf from model script
10
f0b351e734b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 9
diff changeset
105 #if $nomodel_type.nomodel_type_selector == "create_model" and "pdf" in str($outputs).split(',') and $format != "BAMPE":
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
106 &&
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
107 Rscript MACS2_model.r > MACS2_model.r.log
fe62ba547975 Uploaded
iuc
parents:
diff changeset
108 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
109
fe62ba547975 Uploaded
iuc
parents:
diff changeset
110 #if 'html' in str($outputs).split(','):
fe62ba547975 Uploaded
iuc
parents:
diff changeset
111 ## if output files exists, move them to the files_path and create a html result page linking to them
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
112 &&
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
113 (
fe62ba547975 Uploaded
iuc
parents:
diff changeset
114 count=`ls -1 MACS2* 2>/dev/null | wc -l`;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
115 if [ \$count != 0 ];
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
116 then
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
117 mkdir '${ output_extra_files.files_path }' &&
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
118 cp -r MACS2* '${ output_extra_files.files_path }' &&
7
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
119 python '$__tool_directory__/dir2html.py'
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
120 '${ output_extra_files.files_path }' $temp_stderr > '${ output_extra_files }';
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
121 fi;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
122 )
fe62ba547975 Uploaded
iuc
parents:
diff changeset
123 #end if
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
124 &&
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
125 exit_code_for_galaxy=\$? &&
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
126 cat $temp_stderr 2>&1 &&
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
127 (exit \$exit_code_for_galaxy)
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
128 ]]></command>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
129 <inputs>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
130 <conditional name="treatment">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
131 <param name="t_multi_select" type="select" label="Are you pooling Treatment Files?" help="For more information, see Help section below" >
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
132 <option value="No" selected="True">No</option>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
133 <option value="Yes">Yes</option>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
134 </param>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
135 <when value="No" >
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
136 <param name="input_treatment_file" argument="-t" type="data" format="bam,sam,bed" label="ChIP-Seq Treatment File" />
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
137 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
138 <when value="Yes">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
139 <param name="input_treatment_file" argument="-t" type="data" format="bam,sam,bed" multiple="true" label="ChIP-Seq Treatment File" />
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
140 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
141 </conditional>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
142
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
143 <conditional name="control">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
144 <param name="c_select" type="select" label="Do you have a Control File?" >
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
145 <option value="Yes">Yes</option>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
146 <option value="No" selected="True">No</option>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
147 </param>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
148 <when value="Yes">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
149 <conditional name="c_multiple">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
150 <param name="c_multi_select" type="select" label="Are you pooling Control Files?" help="For more information, see Help section below" >
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
151 <option value="No" selected="True">No</option>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
152 <option value="Yes">Yes</option>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
153 </param>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
154 <when value="No" >
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
155 <param name="input_control_file" argument="-c" type="data" format="bam,sam,bed" label="ChIP-Seq Control File" />
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
156 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
157 <when value="Yes">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
158 <param name="input_control_file" argument="-c" type="data" format="bam,sam,bed" multiple="true" label="ChIP-Seq Control File" />
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
159 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
160 </conditional>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
161 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
162 <when value="No" />
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
163 </conditional>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
164
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
165 <param name="format" type="select" label="Format of Input Files" help="For Paired-end BAM (BAMPE) the 'Build model step' will be ignored and the real fragments will be used for each template defined by leftmost and rightmost mapping positions (--format). Default: Single-end BAM">
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
166 <option value="BAM" selected="True">Single-end BAM</option>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
167 <option value="BAMPE">Paired-end BAM</option>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
168 <option value="BED">Single-end BED</option>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
169 </param>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
170
fe62ba547975 Uploaded
iuc
parents:
diff changeset
171 <expand macro="conditional_effective_genome_size" />
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
172
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
173 <conditional name="nomodel_type">
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
174 <param name="nomodel_type_selector" type="select" label="Build Model">
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
175 <option value="nomodel">Do not build the shifting model (--nomodel)</option>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
176 <option value="create_model" selected="true">Build the shifting model</option>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
177 </param>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
178 <when value="create_model">
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
179 <param name="mfold_lower" type="integer" value="5" label="Set lower mfold bound" help="Select the lower region within MFOLD range of high confidence enrichment ratio against background to build model. Fold-enrichment in regions must be higher than lower limit (--mfold). Default: 5" />
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
180 <param name="mfold_upper" type="integer" value="50" label="Set upper mfold bound" help="Select the upper region within MFOLD range of high confidence enrichment ratio against background to build model. Fold-enrichment in regions must be lower than the upper limit (--mfold). Default: 50"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
181 <param name="band_width" type="integer" value="300"
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
182 label="Band width for picking regions to compute fragment size"
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
183 help=" You can set this parameter as the medium fragment size expected from sonication or size selection (--bw). Default: 300" />
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
184 </when>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
185 <when value="nomodel">
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
186 <param name="extsize" type="integer" value="200" label="Set extension size" help="The arbitrary extension size in bp. When nomodel is true, MACS will use this value as fragment size to extend each read towards 3-prime; end, then pile them up. It is exactly twice the number of obsolete SHIFTSIZE. In previous language, each read is moved 5-prime-to-3-prime direction to middle of fragment by 0.5 d, then extended to both direction with 0.5 d. This is equivalent to say each read is extended towards 5-prime-to-3-prime into a d size fragment. --extsize (this option) and --shift (the option below) can be combined when necessary. See --shift option below. Default: 200 (--extsize)."/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
187 <param name="shift" type="integer" value="0" label="Set shift size" help="(NOT the legacy --shiftsize option!) The arbitrary shift in bp. Use discretion while setting it other than default value. When NOMODEL is set, MACS will use this value to move cutting ends (5-prime) towards 5-prime-to-3-prime direction then apply EXTSIZE to extend them to fragments. When this value is negative, ends will be moved toward 3-prime-to-5-prime direction. Recommended to keep it as default 0 for ChIP-Seq datasets, or -1 * 0.5 of --extsize (option above) together with --extsize option for detecting enriched cutting loci such as certain DNAseI-Seq datasets. Note, you can't set values other than 0 if format is paired-end data (BAMPE). Default: 0 (--shift)."/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
188 </when>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
189 </conditional>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
190
fe62ba547975 Uploaded
iuc
parents:
diff changeset
191 <conditional name="cutoff_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
192 <param name="cutoff_options_selector" type="select" label="Peak detection based on" help="default uses q-value">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
193 <option value="qvalue" selected="true">q-value</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
194 <option value="pvalue">p-value</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
195 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
196 <when value="pvalue">
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
197 <param name="pvalue" type="float" value="" label="p-value cutoff for peak detection" help="default: not set (--pvalue)"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
198 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
199 <when value="qvalue">
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
200 <param name="qvalue" type="float" value="0.05" label="Minimum FDR (q-value) cutoff for peak detection" help="The q-value (minimum FDR) cutoff to call significant regions. Default is 0.05. For broad marks, you can try 0.05 as cutoff. Q-values are calculated from p-values using Benjamini-Hochberg procedure. (--qvalue)"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
201 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
202 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
203
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
204 <param name="outputs" type="select" display="checkboxes" multiple="True" optional="True" label="Additional Outputs" help="PDF is only created when the model is built">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
205 <option value="peaks_tabular">Peaks as tabular file</option>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
206 <option value="summits">Peak summits</option>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
207 <option value="bdg" >Scores in bedGraph files (--bdg)</option>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
208 <option value="html">Summary page (html)</option>
10
f0b351e734b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 9
diff changeset
209 <option value="pdf">Plot in PDF (only available if a model is created and if BAMPE is not used)</option>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
210 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
211
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
212 <section name="advanced_options" title="Advanced Options">
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
213 <param name="to_large" type="boolean" truevalue="--to-large" falsevalue="" checked="False" optional="True"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
214 label="When set, scale the small sample up to the bigger sample"
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
215 help="By default, the bigger dataset will be scaled down towards the smaller dataset, which will lead to smaller p/qvalues and more specific results. Keep in mind that scaling down will bring down background noise more. (--to-large). Default: No"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
216 <param name="nolambda" type="boolean" truevalue="--nolambda" falsevalue="" checked="False" optional="True"
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
217 label="Use fixed background lambda as local lambda for every peak region" help="up to 9X more time consuming (--nolambda). Default: No"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
218 <param name="ratio" type="float" optional="True"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
219 label="When set, use a custom scaling ratio of ChIP/control (e.g. calculated using NCIS) for linear scaling"
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
220 help="(--ratio) Default: ignore"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
221 <param name="slocal" type="integer" optional="True" label="The small nearby region in basepairs to calculate dynamic lambda"
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
222 help="This is used to capture the bias near the peak summit region. Invalid if there is no control data. If you set this to 0, MACS will skip slocal lambda calculation. *Note* that MACS will always perform a d-size local lambda calculation. The final local bias should be the maximum of the lambda value from d, slocal, and llocal size windows. (--slocal). Default: 1000"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
223 <param name="llocal" type="integer" optional="True" label="The large nearby region in basepairs to calculate dynamic lambda"
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
224 help="This is used to capture the surround bias. If you set this to 0, MACS will skip llocal lambda calculation. *Note* that MACS will always perform a d-size local lambda calculation. The final local bias should be the maximum of the lambda value from d, slocal, and llocal size windows. (--llocal) Default: 10000"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
225 <conditional name="broad_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
226 <param name="broad_options_selector" type="select"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
227 label="Composite broad regions" help="by putting nearby highly enriched regions into a broad region with loose cutoff (--broad)">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
228 <option value="nobroad" selected="true">No broad regions</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
229 <option value="broad">broad regions</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
230 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
231 <when value="broad">
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
232 <param name="broad_cutoff" type="float" label="Cutoff for broad region" value="0.1"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
233 help="value is either p-value or q-value as specified above (--broad-cutoff)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
234 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
235 <when value="nobroad">
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
236 <param name="call_summits" type="boolean" truevalue="--call-summits" falsevalue="" checked="False"
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
237 label="Use a more sophisticated signal processing approach to find subpeak summits in each enriched peak region"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
238 help="(--call-summits)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
239 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
240 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
241 <expand macro="keep_duplicates" />
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
242 </section>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
243 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
244 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
245 <!--callpeaks output-->
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
246 <data name="output_tabular" format="tabular" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (Peaks in tabular format)">
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
247 <filter> outputs and 'peaks_tabular' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
248 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
249 <data name="output_broadpeaks" format="bed" from_work_dir="MACS2_peaks.broadPeak" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (broad Peaks)">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
250 <filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
251 ((
fe62ba547975 Uploaded
iuc
parents:
diff changeset
252 advanced_options['broad_options']['broad_options_selector'] == "broad"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
253 ))
fe62ba547975 Uploaded
iuc
parents:
diff changeset
254 </filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
255 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
256 <data name="output_gappedpeaks" format="bed" from_work_dir="MACS2_peaks.gappedPeak" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (gapped Peaks)">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
257 <filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
258 ((
fe62ba547975 Uploaded
iuc
parents:
diff changeset
259 advanced_options['broad_options']['broad_options_selector'] == "broad"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
260 ))
fe62ba547975 Uploaded
iuc
parents:
diff changeset
261 </filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
262 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
263 <data name="output_narrowpeaks" format="bed" from_work_dir="MACS2_peaks.narrowPeak" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (narrow Peaks)">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
264 <filter>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
265 ((
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
266 advanced_options['broad_options']['broad_options_selector'] == "nobroad"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
267 ))
fe62ba547975 Uploaded
iuc
parents:
diff changeset
268 </filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
269 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
270 <data name="output_summits" format="bed" from_work_dir="MACS2_summits.bed" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (summits in BED)">
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
271 <filter>outputs and 'summits' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
272 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
273 <data name="output_plot" format="pdf" from_work_dir="MACS2_model.pdf" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (plot)">
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
274 <filter>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
275 ((
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
276 outputs and 'pdf' in outputs and
10
f0b351e734b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 9
diff changeset
277 nomodel_type['nomodel_type_selector'] == "create_model" and
f0b351e734b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 9
diff changeset
278 format != "BAMPE"
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
279 ))
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
280 </filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
281 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
282 <data name="output_treat_pileup" format="bedgraph" from_work_dir="MACS2_treat_pileup.bdg" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (Bedgraph Treatment)">
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
283 <filter>outputs and 'bdg' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
284 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
285 <data name="output_control_lambda" format="bedgraph" from_work_dir="MACS2_control_lambda.bdg" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (Bedgraph Control)">
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
286 <filter>outputs and 'bdg' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
287 </data>
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
288 <data name="output_extra_files" format="html" default_identifier_source="input_treatment_file" label="${tool.name} on ${on_string} (html report)">
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
289 <filter>outputs and 'html' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
290 </data>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
291 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
292 <tests>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
293 <test expect_num_outputs="5">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
294 <param name="input_treatment_file" value="ChIP_200K.bed" ftype="bed"/>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
295 <param name="c_select" value="Yes"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
296 <param name="input_control_file" value="Control_200K.bed" ftype="bed"/>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
297 <param name="format" value="BED" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
298 <param name="cutoff_options_selector" value="qvalue"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
299 <param name="qvalue" value="0.05"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
300 <param name="band_width" value="300"/>
7
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
301 <param name="outputs" value="peaks_tabular,bdg,html"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
302 <param name="effective_genome_size_options_selector" value="user_defined" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
303 <param name="gsize" value="3300000000" />
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
304 <param name="lower" value="5" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
305 <param name="upper" value="50" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
306 <output name="output_control_lambda" compare="contains" file="callpeak_control_part.bdg" lines_diff="1"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
307 <output name="output_treat_pileup" compare="contains" file="callpeak_treatment_part.bdg" lines_diff="1"/>
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
308 <output name="output_tabular" compare="contains" file="callpeak_part.tabular" lines_diff="1"/>
7
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
309 <output name="output_extra_files">
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
310 <assert_contents>
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
311 <has_text text="Additional output created by MACS2" />
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
312 </assert_contents>
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
313 </output>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
314 </test>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
315 <!-- Ensure pdf can be output -->
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
316 <test expect_num_outputs="2">
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
317 <param name="input_treatment_file" value="ChIP_200K.bed" ftype="bed"/>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
318 <param name="c_select" value="Yes"/>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
319 <param name="input_control_file" value="Control_200K.bed" ftype="bed"/>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
320 <param name="format" value="BED" />
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
321 <param name="cutoff_options_selector" value="qvalue"/>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
322 <param name="qvalue" value="0.05"/>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
323 <param name="band_width" value="300"/>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
324 <param name="outputs" value="pdf"/>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
325 <param name="effective_genome_size_options_selector" value="user_defined" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
326 <param name="gsize" value="3300000000" />
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
327 <param name="lower" value="5" />
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
328 <param name="upper" value="50" />
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
329 <output name="output_plot" file="magic.pdf" ftype="pdf" compare="contains" />
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
330 </test>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
331 <!-- Ensure BAMPE works -->
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
332 <test expect_num_outputs="1">
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
333 <param name="input_treatment_file" ftype="bam" value="bwa-mem-test1.bam"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
334 <param name="format" value="BAMPE" />
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
335 <param name="effective_genome_size_options_selector" value="user_defined"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
336 <param name="gsize" value="3300000000"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
337 <param name="nomodel_type_selector" value="nomodel"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
338 <param name="nolambda" value="True"/>
10
f0b351e734b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 9
diff changeset
339 <!-- we select PDF as output, but since we are in BAMPE mode, this will not ignored and the expect_num_outputs stays one. -->
f0b351e734b8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 9
diff changeset
340 <param name="outputs" value="pdf"/>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
341 <output name="output_narrowpeaks" file="callpeak_bampe_narrow.bed"/>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
342 </test>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
343 </tests>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
344 <help><![CDATA[
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
345
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
346 .. class:: infomark
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
347
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
348 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
349
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
350 **callpeak** is the main function of the MACS2_ package. MACS identifies enriched binding sites in ChIP-seq experiments. It captures the influence of genome complexity to evaluate the significance of enriched ChIP regions, and improves the spatial resolution of binding sites through combining the information of both sequencing tag position and orientation.
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
351
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
352 -----
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
353
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
354 **Inputs**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
355
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
356 MACS can be used for ChIP-Seq data (Treatment) alone, or with a Control sample with the increase of specificity (recommended).
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
357
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
358 A Treatment File is the only REQUIRED parameter for MACS. The file can be in BAM or BED format and this tool will autodetect the format using the first treatment file provided as input. If you have more than one alignment file per sample, you can select to pool them above. MACS can pool files together e.g. as `-t A B C` for treatment or `-c A B C` for control.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
359
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
360 Both single-end and paired-end mapping results can be input and you can specify if the data is from paired-end reads above. Paired-end mapping results can be input to MACS as a single BAM file, and just the left mate (5' end) tag will be automatically kept. However, when paired-end format (BAMPE) is specified, MACS will use the real fragments inferred from alignment results for reads pileup.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
361
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
362 *Effective Genome Size*
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
363
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
364 PLEASE assign this parameter to fit your needs!
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
365
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
366 It's the mappable genome size or effective genome size which is defined as the genome size which can be sequenced. Because of the repetitive features on the chromsomes, the actual mappable genome size will be smaller than the original size, about 90% or 70% of the genome size. The default hs -- 2.7e9 is recommended for UCSC human hg18 assembly. Here are all precompiled parameters for effective genome size from the MACS2_ website:
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
367
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
368 hs: 2.7e9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
369 mm: 1.87e9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
370 ce: 9e7
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
371 dm: 1.2e8
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
372
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
373 Or see the **deepTools** website for updated information on calculating `Effective Genome Size`_.
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
374
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
375 -----
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
376
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
377 **Outputs**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
378
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
379 This tool produces a BED file of narrowPeaks as default output. It can also produce additional outputs, which can be selected under the **Additional Outputs** option above.
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
380
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
381 * **a BED file of peaks** (default)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
382 * a tabular file of peaks
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
383 * a BED file of peak summits
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
384 * two bedGraph files of scores, for treatment pileup and control lambda
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
385 * a HTML summary page
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
386 * a PDF plot (if model is built)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
387 * a BED file of broad peaks (if **Composite broad regions** is selected under Advanced Options)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
388 * a BED file of gapped peaks (if **Composite broad regions** is selected under Advanced Options)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
389
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
390 **Peaks BED File**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
391
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
392 The default output is the narrowPeak BED file (BED6+4 format). This contains the peak locations, together with peak summit, pvalue and qvalue. You can load it to UCSC genome browser.
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
393
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
394 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
395
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
396 ======= ========= ======= ============ ==== === ======= ======== ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
397 1 2 3 4 5 6 7 8 9 **10**
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
398 ======= ========= ======= ============ ==== === ======= ======== ======= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
399 chr1 840081 840400 MACS2_peak_1 69 . 4.89872 10.50944 6.91052 158
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
400 chr1 919419 919785 MACS2_peak_2 87 . 5.85158 12.44148 8.70936 130
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
401 chr1 937220 937483 MACS2_peak_3 66 . 4.87632 10.06728 6.61759 154
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
402 ======= ========= ======= ============ ==== === ======= ======== ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
403
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
404 Columns contain the following data:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
405
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
406 * **1st**: chromosome name
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
407 * **2nd**: start position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
408 * **3rd**: end position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
409 * **4th**: name of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
410 * **5th**: integer score for display in genome browser (e.g. UCSC)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
411 * **6th**: strand, either "." (=no strand) or "+" or "-"
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
412 * **7th**: fold-change
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
413 * **8th**: -log10pvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
414 * **9th**: -log10qvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
415 * **10th**: relative summit position to peak start
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
416
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
417
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
418 **Peaks tabular File**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
419
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
420 A tabular file which contains information about called peaks. You can open it in Excel and sort/filter using Excel functions.
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
421
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
422 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
423
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
424 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
425 **chr** **start** **end** **length** **abs_summit** **pileup** **-log10(pvalue)** **fold_enrichment** **-log10(qvalue)** **name**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
426 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
427 chr1 840082 840400 319 840240 4.00 10.50944 4.89872 6.91052 MACS2_peak_1
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
428 chr1 919420 919785 366 919550 5.00 12.44148 5.85158 8.70936 MACS2_peak_2
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
429 chr1 937221 937483 263 937375 4.00 10.06728 4.87632 6.61759 MACS2_peak_3
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
430 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
431
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
432 Columns contain the following data:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
433
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
434 * **chr**: chromosome name
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
435 * **start**: start position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
436 * **end**: end position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
437 * **length**: length of peak region
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
438 * **abs_summit**: absolute peak summit position
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
439 * **pileup**: pileup height at peak summit
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
440 * **-log10(pvalue)**: -log10(pvalue) for the peak summit (e.g. pvalue =1e-10, then this value should be 10)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
441 * **fold_enrichment**: fold enrichment for this peak summit against random Poisson distribution with local lambda
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
442 * **-log10(qvalue)**: -log10(qvalue) at peak summit
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
443 * **name**: name of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
444
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
445 *Note that these tabular file coordinates are 1-based which is different than the 0-based BED format (compare the start values in the BED and tabular Example above)*
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
446
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
447
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
448 **Summits BED File**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
449
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
450 A BED file which contains the peak summits locations for every peaks. The 5th column in this file is -log10qvalue, the same as in the Peaks BED file. If you want to find the motifs at the binding sites, this file is recommended. The file can be loaded directly to UCSC genome browser. Remove the beginning track line if you want to analyze it by other tools.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
451
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
452 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
453
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
454 ======= ========= ======= ============ =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
455 1 2 3 4 **5**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
456 ======= ========= ======= ============ =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
457 chr1 840239 840240 MACS2_peak_1 6.91052
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
458 chr1 919549 919550 MACS2_peak_2 8.70936
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
459 chr1 937374 937375 MACS2_peak_3 6.61759
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
460 ======= ========= ======= ============ =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
461
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
462 Columns contain the following data:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
463
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
464 * **1st**: chromosome name
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
465 * **2nd**: start position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
466 * **3rd**: end position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
467 * **4th**: name of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
468 * **5th**: -log10qvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
469
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
470
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
471 **BedGraph Files**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
472
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
473 MACS2 will output two kinds of bedGraph files if the --bdg option is selected under the Additional Outputs option above, which contain the scores for the treatment fragment pileup and control local lambda, respectively. BedGraph files can be imported into genome browsers, such as UCSC genome browser, or be converted into even smaller bigWig files. For more information on bedGraphs, see the `UCSC website here`_.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
474
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
475
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
476 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
477
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
478 **Treatment pileup file**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
479
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
480 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
481 1 2 3 **4**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
482 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
483 chr1 840146 840147 3.00000
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
484 chr1 840147 840332 4.00000
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
485 chr1 840332 840335 3.00000
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
486 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
487
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
488
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
489 **Control lambda file**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
490
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
491 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
492 1 2 3 **4**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
493 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
494 chr1 800953 801258 0.02536
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
495 chr1 801258 801631 0.25364
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
496 chr1 801631 801885 0.99858
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
497 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
498
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
499 Columns contain the following data:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
500
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
501 * **1st**: chromosome name
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
502 * **2nd**: start position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
503 * **3rd**: end position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
504 * **4th**: treatment pileup score or control local lambda score
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
505
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
506
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
507 **Broad peaks File**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
508
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
509 If the broad option (--broad) is selected unded Advanced Options above, MACS2 will output a broadPeaks file. When this flag is on, MACS will try to composite broad regions in BED12 ( a gene-model-like format ) by putting nearby highly enriched regions into a broad region with loose cutoff. The broad region is controlled by another cutoff through --broad-cutoff. The maximum length of broad region length is 4 times of d from MACS. The broad peaks file is in BED6+3 format which is similar to the narrowPeak file, except for missing the 10th column for annotating peak summits.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
510
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
511 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
512
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
513 ======= ========= ======= ============ ==== === ======= ======= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
514 1 2 3 4 5 6 7 8 9
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
515 ======= ========= ======= ============ ==== === ======= ======= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
516 chr1 840081 840400 MACS2_peak_1 52 . 4.08790 8.57605 5.21506
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
517 chr1 919419 919785 MACS2_peak_2 56 . 4.37270 8.90436 5.60462
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
518 chr1 937220 937483 MACS2_peak_3 48 . 4.02343 8.06676 4.86861
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
519 ======= ========= ======= ============ ==== === ======= ======= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
520
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
521
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
522 Columns contain the following data:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
523
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
524 * **1st**: chromosome name
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
525 * **2nd**: start position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
526 * **3rd**: end position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
527 * **4th**: name of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
528 * **5th**: integer score for display in genome browser (e.g. UCSC)
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
529 * **6th**: strand, either "." (=no strand) or "+" or "-"
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
530 * **7th**: fold-change
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
531 * **8th**: -log10pvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
532 * **9th**: -log10qvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
533
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
534
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
535 **Gapped peaks File**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
536
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
537 If the broad option (--broad) is selected unded Advanced Options above, MACS2 will also output a gappedPeaks file. The gappedPeak file is in BED12+3 format and contains both the broad region and narrow peaks. The file can be loaded directly to UCSC genome browser.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
538
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
539 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
540
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
541 ======= ========= ======= ============ ==== === ======= ======= === === === === ======= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
542 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
543 ======= ========= ======= ============ ==== === ======= ======= === === === === ======= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
544 chr1 840081 840400 MACS2_peak_1 52 . 840081 840400 0 1 319 0 4.08790 8.57605 5.21506
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
545 chr1 919419 919785 MACS2_peak_2 56 . 919419 919785 0 1 366 0 4.37270 8.90436 5.60462
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
546 chr1 937220 937483 MACS2_peak_3 48 . 937220 937483 0 1 263 0 4.02343 8.06676 4.86861
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
547 ======= ========= ======= ============ ==== === ======= ======= === === === === ======= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
548
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
549 Columns contain the following data:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
550
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
551 * **1st**: chromosome name
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
552 * **2nd**: start position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
553 * **3rd**: end position of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
554 * **4th**: name of peak
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
555 * **5th**: 10*-log10qvalue, to be more compatible to show grey levels on UCSC browser
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
556 * **6th**: strand, either "." (=no strand) or "+" or "-"
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
557 * **7th**: start of the first narrow peak in the region
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
558 * **8th**: end of the peak
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
559 * **9th**: RGB color key, default colour is 0
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
560 * **10th**: number of blocks, including the starting 1bp and ending 1bp of broad regions
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
561 * **11th**: length of each block, comma-separated values if multiple
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
562 * **12th**: start of each block, comma-separated values if multiple
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
563 * **13th**: fold-change
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
564 * **14th**: -log10pvalue
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
565 * **15th**: -log10qvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
566
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
567 -----
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
568
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
569 **More Information**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
570
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
571 MACS2 performs the following analysis steps:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
572
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
573 * Artificially extends reads to expected fragment length, and generates coverage map along genome.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
574 * Assumes background reads are Poisson distributed. Mean of the Poisson is locally variable and is estimated from control experiment (if available) in 5Kbp or 10Kbp around examined location.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
575 * For a given location, asks do we see more reads than we would have expected from the Poisson (p < 0.00005)? If Yes, MACS2 calls a peak.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
576
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
577
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
578 **Tips of fine-tuning peak calling**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
579
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
580 Check out these other MACS2 tools:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
581
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
582 * **MACS2 bdgcmp** can be used on the callpeak bedGraph files or bedGraph files from other resources to calculate score track.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
583 * **MACS2 bdgpeakcall** can be used on the file generated from bdgcmp or bedGraph file from other resources to call peaks with given cutoff, maximum-gap between nearby mergable peaks and minimum length of peak. bdgbroadcall works similarly to bdgpeakcall, however it will output a broad peaks file in BED12 format.
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
584 * Differential calling tool **MACS2 bdgdiff**, can be used on 4 bedGraph files which are scores between treatment 1 and control 1, treatment 2 and control 2, treatment 1 and treatment 2, treatment 2 and treatment 1. It will output the consistent and unique sites according to parameter settings for minimum length, maximum gap and cutoff.
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
585
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
586 .. class:: warningmark
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
587
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
588 If MACS2 fails, it is usually because it cannot build the model for peaks. You may want to extend **mfold** range by increasing the upper bound or play with **Build model** options. For more information, see the MACS2_ website.
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
589
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
590 .. _MACS2: https://github.com/taoliu/MACS
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
591 .. _`Effective Genome Size`: http://deeptools.readthedocs.io/en/latest/content/feature/effectiveGenomeSize.html
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
592 .. _`UCSC website here`: https://genome.ucsc.edu/goldenPath/help/bedgraph.html
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
593
fe62ba547975 Uploaded
iuc
parents:
diff changeset
594 @citation@
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
595 ]]></help>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
596 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
597 </tool>