annotate macs2_callpeak.xml @ 19:86e2413cf3f8 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
author iuc
date Mon, 16 Oct 2023 13:18:37 +0000
parents 640d3af5d833
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
1 <tool id="macs2_callpeak" name="MACS2 callpeak" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
19
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
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>
19
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
6 <expand macro="bio_tools"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
7 <expand macro="requirements">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
8 </expand>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
9 <expand macro="stdio" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
10 <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
11 <command><![CDATA[
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
12 #import re
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
13
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
14 @home_dir@
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
15 #set $temp_stderr = 'macs2_stderr'
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
16
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
17 (macs2 callpeak
fe62ba547975 Uploaded
iuc
parents:
diff changeset
18
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
19 ## 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
20
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
21 #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
22 -t ${ ' '.join( [ "'%s'" % $x for $x in $treatment.input_treatment_file] ) }
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
23 #set identifier = re.sub('[^\w\-]', '_', str($treatment.input_treatment_file[0].element_identifier))
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
24 #else
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
25 -t '$treatment.input_treatment_file'
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
26 #set identifier = re.sub('[^\w\-]', '_', str($treatment.input_treatment_file.element_identifier))
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
27 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
28
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
29 --name $identifier
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
30
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
31 ## 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
32
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
33 #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
34 #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
35 -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
36 #else
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
37 -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
38 #end if
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
39 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
40
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
41 --format $format
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
42
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
43 @effective_genome_size@
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
44
fe62ba547975 Uploaded
iuc
parents:
diff changeset
45 ## 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
46
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
47 $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
48 $advanced_options.to_large
15
c33686854b19 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 14
diff changeset
49 $advanced_options.spmr
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
50
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
51 #if $advanced_options.ratio:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
52 --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
53 #end if
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
54
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
55 #if $advanced_options.slocal:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
56 --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
57 #end if
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
58
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
59 #if $advanced_options.llocal:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
60 --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
61 #end if
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
62
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
63 #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
64 --broad
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
65 --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
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 $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
68 #end if
0
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 #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
71 --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
72 #else
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
73 --keep-dup '${ advanced_options.keep_dup_options.keep_dup_options_selector }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
74 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
75
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
76 --d-min $advanced_options.d_min
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
77 --buffer-size $advanced_options.buffer_size
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
78
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
79 ## 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
80 #if "bdg" in str($outputs).split(','):
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
81 --bdg
fe62ba547975 Uploaded
iuc
parents:
diff changeset
82 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
83
fe62ba547975 Uploaded
iuc
parents:
diff changeset
84 ## 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
85 #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
86 --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
87 #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
88 #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
89 --pvalue '${ cutoff_options.pvalue }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
90 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
91 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
92
fe62ba547975 Uploaded
iuc
parents:
diff changeset
93 ## 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
94 #if $nomodel_type.nomodel_type_selector == "nomodel":
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
95 --nomodel
fe62ba547975 Uploaded
iuc
parents:
diff changeset
96 --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
97 --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
98 #else
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
99 --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
100
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
101 #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
102 --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
103 #end if
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
104 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
105
7
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
106 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
107 #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
108 &&
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
109 cp ${identifier}_peaks.xls '${ output_tabular }'
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
110 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
111
fe62ba547975 Uploaded
iuc
parents:
diff changeset
112 ## 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
113 #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
114 &&
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
115 Rscript ${identifier}_model.r > ${identifier}_model.r.log
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
116 #end if
fe62ba547975 Uploaded
iuc
parents:
diff changeset
117
fe62ba547975 Uploaded
iuc
parents:
diff changeset
118 #if 'html' in str($outputs).split(','):
fe62ba547975 Uploaded
iuc
parents:
diff changeset
119 ## 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
120 &&
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
121 (
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
122 count=`ls -1 ${identifier}* 2>/dev/null | wc -l`;
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
123 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
124 then
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
125 mkdir '${ output_extra_files.files_path }' &&
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
126 cp -r ${identifier}* '${ 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
127 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
128 '${ output_extra_files.files_path }' $temp_stderr > '${ output_extra_files }';
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
129 fi;
fe62ba547975 Uploaded
iuc
parents:
diff changeset
130 )
fe62ba547975 Uploaded
iuc
parents:
diff changeset
131 #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
132 &&
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
133 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
134 cat $temp_stderr 2>&1 &&
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
135 (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
136 ]]></command>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
137 <inputs>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
138 <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
139 <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
140 <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
141 <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
142 </param>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
143 <when value="No" >
17
424aefbd7777 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 16
diff changeset
144 <param name="input_treatment_file" argument="-t" type="data" format="bam,bed" label="ChIP-Seq 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
145 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
146 <when value="Yes">
17
424aefbd7777 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 16
diff changeset
147 <param name="input_treatment_file" argument="-t" type="data" format="bam,bed" multiple="true" label="ChIP-Seq 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
148 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
149 </conditional>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
150
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
151 <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
152 <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
153 <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
154 <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
155 </param>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
156 <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
157 <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
158 <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
159 <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
160 <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
161 </param>
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" >
17
424aefbd7777 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 16
diff changeset
163 <param name="input_control_file" argument="-c" type="data" format="bam,bed" label="ChIP-Seq 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
164 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
165 <when value="Yes">
17
424aefbd7777 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 16
diff changeset
166 <param name="input_control_file" argument="-c" type="data" format="bam,bed" multiple="true" label="ChIP-Seq 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
167 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
168 </conditional>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
169 </when>
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
170 <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
171 </conditional>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
172
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
173 <param argument="--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. Default: Single-end BAM">
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
174 <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
175 <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
176 <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
177 </param>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
178
fe62ba547975 Uploaded
iuc
parents:
diff changeset
179 <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
180
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
181 <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
182 <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
183 <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
184 <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
185 </param>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
186 <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
187 <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
188 <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"/>
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
189 <param name="band_width" argument="--bw" type="integer" value="300"
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
190 label="Band width for picking regions to compute fragment size"
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
191 help=" You can set this parameter as the medium fragment size expected from sonication or size selection. Default: 300" />
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
192 </when>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
193 <when value="nomodel">
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
194 <param argument="--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."/>
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
195 <param argument="--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"/>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
196 </when>
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
197 </conditional>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
198
fe62ba547975 Uploaded
iuc
parents:
diff changeset
199 <conditional name="cutoff_options">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
200 <param name="cutoff_options_selector" type="select" label="Peak detection based on" help="default uses q-value">
fe62ba547975 Uploaded
iuc
parents:
diff changeset
201 <option value="qvalue" selected="true">q-value</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
202 <option value="pvalue">p-value</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
203 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
204 <when value="pvalue">
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
205 <param argument="--pvalue" type="float" value="" label="p-value cutoff for peak detection" help="Default: not set"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
206 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
207 <when value="qvalue">
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
208 <param argument="--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"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
209 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
210 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
211
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
212 <param name="outputs" type="select" display="checkboxes" multiple="True" optional="True" label="Additional Outputs" help="PDF is only created when the model is built">
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
213 <option value="peaks_tabular">Peaks as tabular file (compatible wih MultiQC)</option>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
214 <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
215 <option value="bdg" >Scores in bedGraph files (--bdg)</option>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
216 <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
217 <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
218 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
219
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
220 <section name="advanced_options" title="Advanced Options">
19
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
221 <param argument="--to-large" type="boolean" truevalue="--to-large" falsevalue="" checked="false"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
222 label="When set, scale the small sample up to the bigger sample"
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
223 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. Default: No"/>
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
224 <param argument="--nolambda" type="boolean" truevalue="--nolambda" falsevalue="" checked="false"
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
225 label="Use fixed background lambda as local lambda for every peak region" help="up to 9X more time consuming. Default: No"/>
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
226 <param name="spmr" argument="--SPMR" type="boolean" truevalue="--SPMR" falsevalue="" checked="false"
15
c33686854b19 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 14
diff changeset
227 label="Save signal per million reads for fragment pileup profiles"
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
228 help="Requires 'Scores in bedGraph files (--bdg)' output to be selected. Default: No"/>
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
229 <param argument="--ratio" type="float" optional="true"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
230 label="When set, use a custom scaling ratio of ChIP/control (e.g. calculated using NCIS) for linear scaling"
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
231 help="Default: ignore"/>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
232 <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
233 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"/>
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
234 <param argument="--llocal" type="integer" optional="True" label="The large nearby region in basepairs to calculate dynamic lambda"
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
235 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. Default: 10000"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
236 <conditional name="broad_options">
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
237 <param name="broad_options_selector" argument="--broad" type="select"
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
238 label="Composite broad regions" help="by putting nearby highly enriched regions into a broad region with loose cutoff">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
239 <option value="nobroad" selected="true">No broad regions</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
240 <option value="broad">broad regions</option>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
241 </param>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
242 <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
243 <param name="broad_cutoff" type="float" label="Cutoff for broad region" value="0.1"
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
244 help="value is either p-value or q-value as specified above (--broad-cutoff)"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
245 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
246 <when value="nobroad">
19
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
247 <param argument="--call-summits" type="boolean" truevalue="--call-summits" falsevalue="" checked="false"
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
248 label="Use a more sophisticated signal processing approach to find subpeak summits in each enriched peak region"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
249 </when>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
250 </conditional>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
251 <expand macro="keep_duplicates" />
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
252 <expand macro="fragment_size"/>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
253 <expand macro="buffer_size"/>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
254 </section>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
255 </inputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
256 <outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
257 <!--callpeaks output-->
13
01cded2297b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 1cf6ca65ca6bbf3553d830f13be1760dcd667cae
iuc
parents: 12
diff changeset
258 <data name="output_tabular" format="tabular" default_identifier_source="treatment|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
259 <filter> outputs and 'peaks_tabular' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
260 </data>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
261 <data name="output_broadpeaks" format="bed" from_work_dir="*_peaks.broadPeak" default_identifier_source="treatment|input_treatment_file" label="${tool.name} on ${on_string} (broad Peaks)">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
262 <filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
263 ((
fe62ba547975 Uploaded
iuc
parents:
diff changeset
264 advanced_options['broad_options']['broad_options_selector'] == "broad"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
265 ))
fe62ba547975 Uploaded
iuc
parents:
diff changeset
266 </filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
267 </data>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
268 <data name="output_gappedpeaks" format="bed" from_work_dir="*_peaks.gappedPeak" default_identifier_source="treatment|input_treatment_file" label="${tool.name} on ${on_string} (gapped Peaks)">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
269 <filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
270 ((
fe62ba547975 Uploaded
iuc
parents:
diff changeset
271 advanced_options['broad_options']['broad_options_selector'] == "broad"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
272 ))
fe62ba547975 Uploaded
iuc
parents:
diff changeset
273 </filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
274 </data>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
275 <data name="output_narrowpeaks" format="bed" from_work_dir="*_peaks.narrowPeak" default_identifier_source="treatment|input_treatment_file" label="${tool.name} on ${on_string} (narrow Peaks)">
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
276 <filter>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
277 ((
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
278 advanced_options['broad_options']['broad_options_selector'] == "nobroad"
fe62ba547975 Uploaded
iuc
parents:
diff changeset
279 ))
fe62ba547975 Uploaded
iuc
parents:
diff changeset
280 </filter>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
281 </data>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
282 <data name="output_summits" format="bed" from_work_dir="*_summits.bed" default_identifier_source="treatment|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
283 <filter>outputs and 'summits' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
284 </data>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
285 <data name="output_plot" format="pdf" from_work_dir="*_model.pdf" default_identifier_source="treatment|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
286 <filter>
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
287 ((
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
288 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
289 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
290 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
291 ))
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
292 </filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
293 </data>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
294 <data name="output_treat_pileup" format="bedgraph" from_work_dir="*_treat_pileup.bdg" default_identifier_source="treatment|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
295 <filter>outputs and 'bdg' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
296 </data>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
297 <data name="output_control_lambda" format="bedgraph" from_work_dir="*_control_lambda.bdg" default_identifier_source="treatment|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
298 <filter>outputs and 'bdg' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
299 </data>
13
01cded2297b7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 1cf6ca65ca6bbf3553d830f13be1760dcd667cae
iuc
parents: 12
diff changeset
300 <data name="output_extra_files" format="html" default_identifier_source="treatment|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
301 <filter>outputs and 'html' in outputs</filter>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
302 </data>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
303 </outputs>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
304 <tests>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
305 <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
306 <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
307 <param name="c_select" value="Yes"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
308 <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
309 <param name="format" value="BED" />
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
310 <param name="cutoff_options_selector" value="qvalue"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
311 <param name="qvalue" value="0.05"/>
fe62ba547975 Uploaded
iuc
parents:
diff changeset
312 <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
313 <param name="outputs" value="peaks_tabular,bdg,html"/>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
314 <param name="effective_genome_size_options_selector" value="user_defined" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
315 <param name="gsize" value="3300000000" />
19
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
316 <param name="mfold_lower" value="5" />
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
317 <param name="mfold_upper" value="50" />
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
318 <assert_command>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
319 <has_text text="--buffer-size"/>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
320 <has_text text="--d-min"/>
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
321 </assert_command>
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
322 <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
323 <output name="output_treat_pileup" compare="contains" file="callpeak_treatment_part.bdg" lines_diff="1"/>
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
324 <output name="output_tabular" compare="contains" file="callpeak_part.tabular" lines_diff="3"/>
7
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
325 <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
326 <assert_contents>
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
327 <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
328 </assert_contents>
f5d67c722d67 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 6
diff changeset
329 </output>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
330 </test>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
331 <!-- 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
332 <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
333 <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
334 <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
335 <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
336 <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
337 <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
338 <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
339 <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
340 <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
341 <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
342 <param name="gsize" value="3300000000" />
19
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
343 <param name="mfold_lower" value="5" />
86e2413cf3f8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 7bd4238efae0d755b6a0dfff8daa43a228f18d96
iuc
parents: 18
diff changeset
344 <param name="mfold_upper" value="50" />
18
640d3af5d833 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 17
diff changeset
345 <output name="output_plot" file="magic.pdf" compare="sim_size" ftype="pdf"/>
2
bfe57d6e0c4c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 0
diff changeset
346 </test>
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
347 <!-- 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
348 <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
349 <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
350 <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
351 <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
352 <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
353 <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
354 <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
355 <!-- 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
356 <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
357 <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
358 </test>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
359 </tests>
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
360 <help><![CDATA[
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
361 .. class:: infomark
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
362
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
363 **What it does**
fe62ba547975 Uploaded
iuc
parents:
diff changeset
364
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
365 **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
366
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
367 -----
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
368
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
369 **Inputs**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
370
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
371 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
372
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
373 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
374
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
375 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
376
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
377 *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
378
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
379 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
380
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
381 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
382
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
383 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
384 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
385 ce: 9e7
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
386 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
387
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
388 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
389
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
390 -----
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
391
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
392 **Outputs**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
393
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
394 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
395
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
396 * **a BED file of peaks** (default)
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
397 * a tabular file of peaks (compatible wih MultiQC)
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
398 * 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
399 * 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
400 * 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
401 * 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
402 * 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
403 * 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
404
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
405 **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
406
9
acbd3fb47f90 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 8
diff changeset
407 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
408
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
409 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
410
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
411 ======= ========= ======= ============= ==== === ======= ======== ======= =======
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
412 1 2 3 4 5 6 7 8 9 **10**
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
413 ======= ========= ======= ============= ==== === ======= ======== ======= =======
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
414 chr1 840081 840400 treat1_peak_1 69 . 4.89872 10.50944 6.91052 158
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
415 chr1 919419 919785 treat1_peak_2 87 . 5.85158 12.44148 8.70936 130
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
416 chr1 937220 937483 treat1_peak_3 66 . 4.87632 10.06728 6.61759 154
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
417 ======= ========= ======= ============= ==== === ======= ======== ======= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
418
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
419 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
420
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
421 * **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
422 * **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
423 * **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
424 * **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
425 * **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
426 * **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
427 * **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
428 * **8th**: -log10pvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
429 * **9th**: -log10qvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
430 * **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
431
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
432
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
433 **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
434
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
435 A tabular file which contains information about called peaks. You can open it in Excel and sort/filter using Excel functions. This file is compatible with **MultiQC**.
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
436
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
437 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
438
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
439 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
440 **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
441 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
442 chr1 840082 840400 319 840240 4.00 10.50944 4.89872 6.91052 treat1_peak_1
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
443 chr1 919420 919785 366 919550 5.00 12.44148 5.85158 8.70936 treat1_peak_2
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
444 chr1 937221 937483 263 937375 4.00 10.06728 4.87632 6.61759 treat1_peak_3
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
445 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
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 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
448
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
449 * **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
450 * **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
451 * **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
452 * **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
453 * **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
454 * **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
455 * **-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
456 * **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
457 * **-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
458 * **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
459
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
460 *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
461
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
462
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
463 **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
464
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
465 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
466
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
467 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
468
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
469 ======= ========= ======= ============= =======
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
470 1 2 3 4 **5**
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
471 ======= ========= ======= ============= =======
14
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
472 chr1 840239 840240 treat1_peak_1 6.91052
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
473 chr1 919549 919550 treat1_peak_2 8.70936
c16dbe4e2db2 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 13
diff changeset
474 chr1 937374 937375 treat1_peak_3 6.61759
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
475 ======= ========= ======= ============= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
476
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
477 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
478
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
479 * **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
480 * **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
481 * **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
482 * **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
483 * **5th**: -log10qvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
484
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
485
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
486 **BedGraph Files**
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 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
489
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 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
492
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
493 **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
494
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
495 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
496 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
497 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
498 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
499 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
500 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
501 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
502
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
503
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
504 **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
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 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
508 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
509 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
510 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
511 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
512 ======= ========= ======= =======
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
513
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
514 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
515
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
516 * **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
517 * **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
518 * **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
519 * **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
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 **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
523
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
524 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
525
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
526 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
527
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
528 ======= ====== ====== ============= ==== === ======= ======= =======
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
529 1 2 3 4 5 6 7 8 9
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
530 ======= ====== ====== ============= ==== === ======= ======= =======
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
531 chr1 840081 840400 treat1_peak_1 52 . 4.08790 8.57605 5.21506
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
532 chr1 919419 919785 treat1_peak_2 56 . 4.37270 8.90436 5.60462
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
533 chr1 937220 937483 treat1_peak_3 48 . 4.02343 8.06676 4.86861
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
534 ======= ====== ====== ============= ==== === ======= ======= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
535
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
536 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
537
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
538 * **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
539 * **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
540 * **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
541 * **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
542 * **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
543 * **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
544 * **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
545 * **8th**: -log10pvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
546 * **9th**: -log10qvalue
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 **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
550
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
551 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
552
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
553 Example:
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
554
16
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
555 ======= ========= ======= ============= === === ======= ======= === === === === ======= ======= =======
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
556 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
557 ======= ========= ======= ============= === === ======= ======= === === === === ======= ======= =======
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
558 chr1 840081 840400 treat1_peak_1 52 . 840081 840400 0 1 319 0 4.08790 8.57605 5.21506
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
559 chr1 919419 919785 treat1_peak_2 56 . 919419 919785 0 1 366 0 4.37270 8.90436 5.60462
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
560 chr1 937220 937483 treat1_peak_3 48 . 937220 937483 0 1 263 0 4.02343 8.06676 4.86861
495a4173006f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 15
diff changeset
561 ======= ========= ======= ============= === === ======= ======= === === === === ======= ======= =======
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
562
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
563 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
564
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
565 * **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
566 * **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
567 * **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
568 * **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
569 * **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
570 * **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
571 * **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
572 * **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
573 * **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
574 * **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
575 * **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
576 * **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
577 * **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
578 * **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
579 * **15th**: -log10qvalue
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
580
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
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
583 **More Information**
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
584
5
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
585 MACS2 performs the following analysis steps:
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
586
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
587 * 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
588 * 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
589 * 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
590
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
591
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
592 **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
593
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
594 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
595
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
596 * **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
597 * **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
598 * 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
599
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
600 .. class:: warningmark
beb902da6e5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 4
diff changeset
601
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
602 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
603
12
38769345062e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 11
diff changeset
604 .. _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
605 .. _`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
606 .. _`UCSC website here`: https://genome.ucsc.edu/goldenPath/help/bedgraph.html
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
607
fe62ba547975 Uploaded
iuc
parents:
diff changeset
608 @citation@
8
e8a060164e11 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 7
diff changeset
609 ]]></help>
0
fe62ba547975 Uploaded
iuc
parents:
diff changeset
610 <expand macro="citations" />
fe62ba547975 Uploaded
iuc
parents:
diff changeset
611 </tool>