annotate macs2_callpeak.xml @ 63:25e46cf1ee36 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
author iuc
date Sat, 02 Apr 2022 21:36:50 +0000
parents 1ac88e46ee0f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
1 <tool id="macs2_callpeak" name="MACS2 callpeak" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
2 <description>Call peaks from alignment results</description>
62
1ac88e46ee0f "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents: 61
diff changeset
3 <expand macro="bio_tools"/>
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
4 <macros>
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
5 <import>macs2_macros.xml</import>
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
6 </macros>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
7 <expand macro="requirements">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
8 </expand>
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
9 <expand macro="stdio" />
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
10 <expand macro="version_command" />
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
11 <command><![CDATA[
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
12 #import re
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
13
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
14 @home_dir@
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
15 #set $temp_stderr = 'macs2_stderr'
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
16
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
17 (macs2 callpeak
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
18
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
19 ## Treatment File(s)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
20
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
21 #if str($treatment.t_multi_select) == "Yes":
55
9f27508afc8c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 6ebc6405a002e28bce63fdcdb527a71e48fe9418
iuc
parents: 54
diff changeset
22 -t ${ ' '.join( [ "'%s'" % $x for $x in $treatment.input_treatment_file] ) }
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
23 #set identifier = re.sub('[^\w\-]', '_', str($treatment.input_treatment_file[0].element_identifier))
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
24 #else
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
25 -t '$treatment.input_treatment_file'
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
26 #set identifier = re.sub('[^\w\-]', '_', str($treatment.input_treatment_file.element_identifier))
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
27 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
28
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
29 --name $identifier
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
30
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
31 ## Control File(s)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
32
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
33 #if str($control.c_select) == "Yes":
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
34 #if str($control.c_multiple.c_multi_select) == "Yes":
55
9f27508afc8c planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 6ebc6405a002e28bce63fdcdb527a71e48fe9418
iuc
parents: 54
diff changeset
35 -c ${ ' '.join( [ "'%s'" % $x for $x in $control.c_multiple.input_control_file] ) }
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
36 #else
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
37 -c '$control.c_multiple.input_control_file'
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
38 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
39 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
40
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
41 --format $format
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
42
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
43 @effective_genome_size@
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
44
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
45 ## advanced options
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
46
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
47 $advanced_options.nolambda
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
48 $advanced_options.to_large
59
ea526bc73f8a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 58
diff changeset
49 $advanced_options.spmr
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
50
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
51 #if $advanced_options.ratio:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
52 --ratio $advanced_options.ratio
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
53 #end if
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
54
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
55 #if $advanced_options.slocal:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
56 --slocal $advanced_options.slocal
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
57 #end if
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
58
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
59 #if $advanced_options.llocal:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
60 --llocal $advanced_options.llocal
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
61 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
62
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
63 #if $advanced_options.broad_options.broad_options_selector == "broad":
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
64 --broad
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
65 --broad-cutoff='${ advanced_options.broad_options.broad_cutoff }'
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
66 #else
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
67 $advanced_options.broad_options.call_summits
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
68 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
69
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
70 #if str( $advanced_options.keep_dup_options.keep_dup_options_selector ) == "user":
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
71 --keep-dup '${ advanced_options.keep_dup_options.user_keepdup }'
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
72 #else
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
73 --keep-dup '${ advanced_options.keep_dup_options.keep_dup_options_selector }'
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
74 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
75
63
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
76 --d-min $advanced_options.d_min
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
77 --buffer-size $advanced_options.buffer_size
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
78
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
79 ## With --bdg two additional output files will be generated.
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
80 #if "bdg" in str($outputs).split(','):
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
81 --bdg
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
82 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
83
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
84 ## cutoff selection
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
85 #if str( $cutoff_options.cutoff_options_selector ) == "qvalue":
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
86 --qvalue '${ cutoff_options.qvalue }'
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
87 #elif str( $cutoff_options.cutoff_options_selector ) == "pvalue":
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
88 #if str($cutoff_options.pvalue).strip() != "":
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
89 --pvalue '${ cutoff_options.pvalue }'
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
90 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
91 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
92
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
93 ## model options
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
94 #if $nomodel_type.nomodel_type_selector == "nomodel":
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
95 --nomodel
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
96 --extsize '${ nomodel_type.extsize }'
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
97 --shift '${ nomodel_type.shift}'
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
98 #else
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
99 --mfold '${nomodel_type.mfold_lower}' '${nomodel_type.mfold_upper}'
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
100
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
101 #if $nomodel_type.band_width:
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
102 --bw '${nomodel_type.band_width}'
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
103 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
104 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
105
51
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
106 2>&1 > $temp_stderr)
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
107 #if "peaks_tabular" in str($outputs).split(','):
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
108 &&
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
109 cp ${identifier}_peaks.xls '${ output_tabular }'
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
110 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
111
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
112 ## run R to create pdf from model script
54
bbf9e52974b6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 53
diff changeset
113 #if $nomodel_type.nomodel_type_selector == "create_model" and "pdf" in str($outputs).split(',') and $format != "BAMPE":
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
114 &&
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
115 Rscript ${identifier}_model.r > ${identifier}_model.r.log
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
116 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
117
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
118 #if 'html' in str($outputs).split(','):
c82a1f154c60 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
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
120 &&
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
121 (
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
122 count=`ls -1 ${identifier}* 2>/dev/null | wc -l`;
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
123 if [ \$count != 0 ];
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
124 then
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
125 mkdir '${ output_extra_files.files_path }' &&
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
126 cp -r ${identifier}* '${ output_extra_files.files_path }' &&
51
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
127 python '$__tool_directory__/dir2html.py'
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
128 '${ output_extra_files.files_path }' $temp_stderr > '${ output_extra_files }';
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
129 fi;
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
130 )
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
131 #end if
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
132 &&
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
133 exit_code_for_galaxy=\$? &&
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
134 cat $temp_stderr 2>&1 &&
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
135 (exit \$exit_code_for_galaxy)
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
136 ]]></command>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
137 <inputs>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
138 <conditional name="treatment">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
139 <param name="t_multi_select" type="select" label="Are you pooling Treatment Files?" help="For more information, see Help section below" >
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
140 <option value="No" selected="True">No</option>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
141 <option value="Yes">Yes</option>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
142 </param>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
143 <when value="No" >
61
644444825ef9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 60
diff changeset
144 <param name="input_treatment_file" argument="-t" type="data" format="bam,bed" label="ChIP-Seq Treatment File" />
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
145 </when>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
146 <when value="Yes">
61
644444825ef9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 60
diff changeset
147 <param name="input_treatment_file" argument="-t" type="data" format="bam,bed" multiple="true" label="ChIP-Seq Treatment File" />
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
148 </when>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
149 </conditional>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
150
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
151 <conditional name="control">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
152 <param name="c_select" type="select" label="Do you have a Control File?" >
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
153 <option value="Yes">Yes</option>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
154 <option value="No" selected="True">No</option>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
155 </param>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
156 <when value="Yes">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
157 <conditional name="c_multiple">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
158 <param name="c_multi_select" type="select" label="Are you pooling Control Files?" help="For more information, see Help section below" >
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
159 <option value="No" selected="True">No</option>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
160 <option value="Yes">Yes</option>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
161 </param>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
162 <when value="No" >
61
644444825ef9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 60
diff changeset
163 <param name="input_control_file" argument="-c" type="data" format="bam,bed" label="ChIP-Seq Control File" />
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
164 </when>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
165 <when value="Yes">
61
644444825ef9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e90e79e18362561d0060d2c162f1938feebdbc29
iuc
parents: 60
diff changeset
166 <param name="input_control_file" argument="-c" type="data" format="bam,bed" multiple="true" label="ChIP-Seq Control File" />
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
167 </when>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
168 </conditional>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
169 </when>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
170 <when value="No" />
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
171 </conditional>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
172
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
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">
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
174 <option value="BAM" selected="True">Single-end BAM</option>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
175 <option value="BAMPE">Paired-end BAM</option>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
176 <option value="BED">Single-end BED</option>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
177 </param>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
178
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
179 <expand macro="conditional_effective_genome_size" />
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
180
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
181 <conditional name="nomodel_type">
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
182 <param name="nomodel_type_selector" type="select" label="Build Model">
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
183 <option value="nomodel">Do not build the shifting model (--nomodel)</option>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
184 <option value="create_model" selected="true">Build the shifting model</option>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
185 </param>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
186 <when value="create_model">
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
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" />
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
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"/>
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
189 <param name="band_width" argument="--bw" type="integer" value="300"
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
190 label="Band width for picking regions to compute fragment size"
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
191 help=" You can set this parameter as the medium fragment size expected from sonication or size selection. Default: 300" />
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
192 </when>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
193 <when value="nomodel">
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
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."/>
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
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"/>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
196 </when>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
197 </conditional>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
198
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
199 <conditional name="cutoff_options">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
200 <param name="cutoff_options_selector" type="select" label="Peak detection based on" help="default uses q-value">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
201 <option value="qvalue" selected="true">q-value</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
202 <option value="pvalue">p-value</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
203 </param>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
204 <when value="pvalue">
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
205 <param argument="--pvalue" type="float" value="" label="p-value cutoff for peak detection" help="Default: not set"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
206 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
207 <when value="qvalue">
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
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"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
209 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
210 </conditional>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
211
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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">
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
213 <option value="peaks_tabular">Peaks as tabular file (compatible wih MultiQC)</option>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
214 <option value="summits">Peak summits</option>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
215 <option value="bdg" >Scores in bedGraph files (--bdg)</option>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
216 <option value="html">Summary page (html)</option>
54
bbf9e52974b6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 53
diff changeset
217 <option value="pdf">Plot in PDF (only available if a model is created and if BAMPE is not used)</option>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
218 </param>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
219
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
220 <section name="advanced_options" title="Advanced Options">
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
221 <param name="to_large" argument="--to-large" type="boolean" truevalue="--to-large" falsevalue="" checked="false"
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
222 label="When set, scale the small sample up to the bigger sample"
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
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"/>
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
224 <param argument="--nolambda" type="boolean" truevalue="--nolambda" falsevalue="" checked="false"
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
225 label="Use fixed background lambda as local lambda for every peak region" help="up to 9X more time consuming. Default: No"/>
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
226 <param name="spmr" argument="--SPMR" type="boolean" truevalue="--SPMR" falsevalue="" checked="false"
59
ea526bc73f8a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 58
diff changeset
227 label="Save signal per million reads for fragment pileup profiles"
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
228 help="Requires 'Scores in bedGraph files (--bdg)' output to be selected. Default: No"/>
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
229 <param argument="--ratio" type="float" optional="true"
33
c82a1f154c60 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"
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
231 help="Default: ignore"/>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
232 <param name="slocal" type="integer" optional="True" label="The small nearby region in basepairs to calculate dynamic lambda"
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
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"/>
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
234 <param argument="--llocal" type="integer" optional="True" label="The large nearby region in basepairs to calculate dynamic lambda"
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
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"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
236 <conditional name="broad_options">
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
237 <param name="broad_options_selector" argument="--broad" type="select"
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
238 label="Composite broad regions" help="by putting nearby highly enriched regions into a broad region with loose cutoff">
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
239 <option value="nobroad" selected="true">No broad regions</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
240 <option value="broad">broad regions</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
241 </param>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
242 <when value="broad">
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
243 <param name="broad_cutoff" type="float" label="Cutoff for broad region" value="0.1"
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
244 help="value is either p-value or q-value as specified above (--broad-cutoff)"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
245 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
246 <when value="nobroad">
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
247 <param name="call_summits" argument="--call-summits" type="boolean" truevalue="--call-summits" falsevalue="" checked="false"
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
248 label="Use a more sophisticated signal processing approach to find subpeak summits in each enriched peak region"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
249 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
250 </conditional>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
251 <expand macro="keep_duplicates" />
63
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
252 <expand macro="fragment_size"/>
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
253 <expand macro="buffer_size"/>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
254 </section>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
255 </inputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
256 <outputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
257 <!--callpeaks output-->
57
17a392731fbc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 1cf6ca65ca6bbf3553d830f13be1760dcd667cae
iuc
parents: 56
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)">
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
259 <filter> outputs and 'peaks_tabular' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
260 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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)">
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
262 <filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
263 ((
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
264 advanced_options['broad_options']['broad_options_selector'] == "broad"
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
265 ))
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
266 </filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
267 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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)">
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
269 <filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
270 ((
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
271 advanced_options['broad_options']['broad_options_selector'] == "broad"
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
272 ))
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
273 </filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
274 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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)">
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
276 <filter>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
277 ((
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
278 advanced_options['broad_options']['broad_options_selector'] == "nobroad"
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
279 ))
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
280 </filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
281 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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)">
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
283 <filter>outputs and 'summits' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
284 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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)">
44
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
286 <filter>
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
287 ((
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
288 outputs and 'pdf' in outputs and
54
bbf9e52974b6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 53
diff changeset
289 nomodel_type['nomodel_type_selector'] == "create_model" and
bbf9e52974b6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 53
diff changeset
290 format != "BAMPE"
44
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
291 ))
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
292 </filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
293 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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)">
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
295 <filter>outputs and 'bdg' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
296 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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)">
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
298 <filter>outputs and 'bdg' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
299 </data>
57
17a392731fbc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 1cf6ca65ca6bbf3553d830f13be1760dcd667cae
iuc
parents: 56
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)">
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
301 <filter>outputs and 'html' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
302 </data>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
303 </outputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
304 <tests>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
305 <test expect_num_outputs="5">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
306 <param name="input_treatment_file" value="ChIP_200K.bed" ftype="bed"/>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
307 <param name="c_select" value="Yes"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
308 <param name="input_control_file" value="Control_200K.bed" ftype="bed"/>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
309 <param name="format" value="BED" />
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
310 <param name="cutoff_options_selector" value="qvalue"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
311 <param name="qvalue" value="0.05"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
312 <param name="band_width" value="300"/>
51
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
313 <param name="outputs" value="peaks_tabular,bdg,html"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
314 <param name="effective_genome_size_options_selector" value="user_defined" />
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
315 <param name="gsize" value="3300000000" />
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
316 <param name="lower" value="5" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
317 <param name="upper" value="50" />
63
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
318 <assert_command>
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
319 <has_text text="--buffer-size"/>
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
320 <has_text text="--d-min"/>
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
321 </assert_command>
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
322 <output name="output_control_lambda" compare="contains" file="callpeak_control_part.bdg" lines_diff="1"/>
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
323 <output name="output_treat_pileup" compare="contains" file="callpeak_treatment_part.bdg" lines_diff="1"/>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
324 <output name="output_tabular" compare="contains" file="callpeak_part.tabular" lines_diff="3"/>
51
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
325 <output name="output_extra_files">
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
326 <assert_contents>
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
327 <has_text text="Additional output created by MACS2" />
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
328 </assert_contents>
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
329 </output>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
330 </test>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
331 <!-- Ensure pdf can be output -->
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
332 <test expect_num_outputs="2">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
333 <param name="input_treatment_file" value="ChIP_200K.bed" ftype="bed"/>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
334 <param name="c_select" value="Yes"/>
44
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
335 <param name="input_control_file" value="Control_200K.bed" ftype="bed"/>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
336 <param name="format" value="BED" />
44
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
337 <param name="cutoff_options_selector" value="qvalue"/>
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
338 <param name="qvalue" value="0.05"/>
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
339 <param name="band_width" value="300"/>
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
340 <param name="outputs" value="pdf"/>
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
341 <param name="effective_genome_size_options_selector" value="user_defined" />
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
342 <param name="gsize" value="3300000000" />
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
343 <param name="lower" value="5" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
344 <param name="upper" value="50" />
63
25e46cf1ee36 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e8307adcc6ee9245fa2bb9ecb6de1cbe008dc2c3"
iuc
parents: 62
diff changeset
345 <output name="output_plot" file="magic.pdf" compare="sim_size" ftype="pdf"/>
44
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
346 </test>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
347 <!-- Ensure BAMPE works -->
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
348 <test expect_num_outputs="1">
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
349 <param name="input_treatment_file" ftype="bam" value="bwa-mem-test1.bam"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
350 <param name="format" value="BAMPE" />
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
351 <param name="effective_genome_size_options_selector" value="user_defined"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
352 <param name="gsize" value="3300000000"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
353 <param name="nomodel_type_selector" value="nomodel"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
354 <param name="nolambda" value="True"/>
54
bbf9e52974b6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 53
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. -->
bbf9e52974b6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e9415c8ba21c77f848a57d60ee6be78dff4b49a6
iuc
parents: 53
diff changeset
356 <param name="outputs" value="pdf"/>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
357 <output name="output_narrowpeaks" file="callpeak_bampe_narrow.bed"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
358 </test>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
359 </tests>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
360 <help><![CDATA[
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
361 .. class:: infomark
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
362
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
363 **What it does**
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
364
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
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.
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
366
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
367 -----
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
368
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
369 **Inputs**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
370
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
371 MACS can be used for ChIP-Seq data (Treatment) alone, or with a Control sample with the increase of specificity (recommended).
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
372
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
374
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
376
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
377 *Effective Genome Size*
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
378
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
379 PLEASE assign this parameter to fit your needs!
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
380
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
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:
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
382
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
383 hs: 2.7e9
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
384 mm: 1.87e9
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
385 ce: 9e7
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
386 dm: 1.2e8
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
387
56
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 55
diff changeset
388 Or see the **deepTools** website for updated information on calculating `Effective Genome Size`_.
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 55
diff changeset
389
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
390 -----
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
391
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
392 **Outputs**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
393
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
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.
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
395
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
396 * **a BED file of peaks** (default)
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
397 * a tabular file of peaks (compatible wih MultiQC)
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
398 * a BED file of peak summits
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
399 * two bedGraph files of scores, for treatment pileup and control lambda
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
400 * a HTML summary page
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
401 * a PDF plot (if model is built)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
402 * a BED file of broad peaks (if **Composite broad regions** is selected under Advanced Options)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
403 * a BED file of gapped peaks (if **Composite broad regions** is selected under Advanced Options)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
404
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
405 **Peaks BED File**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
406
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
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.
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
408
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
409 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
410
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
411 ======= ========= ======= ============= ==== === ======= ======== ======= =======
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
412 1 2 3 4 5 6 7 8 9 **10**
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
413 ======= ========= ======= ============= ==== === ======= ======== ======= =======
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
414 chr1 840081 840400 treat1_peak_1 69 . 4.89872 10.50944 6.91052 158
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
415 chr1 919419 919785 treat1_peak_2 87 . 5.85158 12.44148 8.70936 130
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
416 chr1 937220 937483 treat1_peak_3 66 . 4.87632 10.06728 6.61759 154
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
417 ======= ========= ======= ============= ==== === ======= ======== ======= =======
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
418
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
419 Columns contain the following data:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
420
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
421 * **1st**: chromosome name
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
422 * **2nd**: start position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
423 * **3rd**: end position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
424 * **4th**: name of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
425 * **5th**: integer score for display in genome browser (e.g. UCSC)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
426 * **6th**: strand, either "." (=no strand) or "+" or "-"
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
427 * **7th**: fold-change
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
428 * **8th**: -log10pvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
429 * **9th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
430 * **10th**: relative summit position to peak start
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
431
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
432
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
433 **Peaks tabular File**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
434
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
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**.
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
436
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
437 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
438
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
439 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
440 **chr** **start** **end** **length** **abs_summit** **pileup** **-log10(pvalue)** **fold_enrichment** **-log10(qvalue)** **name**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
441 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
442 chr1 840082 840400 319 840240 4.00 10.50944 4.89872 6.91052 treat1_peak_1
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
443 chr1 919420 919785 366 919550 5.00 12.44148 5.85158 8.70936 treat1_peak_2
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
444 chr1 937221 937483 263 937375 4.00 10.06728 4.87632 6.61759 treat1_peak_3
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
445 ======= ========= ======= ========== ============== ========== ================== =================== ================== =============
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
446
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
447 Columns contain the following data:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
448
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
449 * **chr**: chromosome name
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
450 * **start**: start position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
451 * **end**: end position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
452 * **length**: length of peak region
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
453 * **abs_summit**: absolute peak summit position
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
454 * **pileup**: pileup height at peak summit
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
455 * **-log10(pvalue)**: -log10(pvalue) for the peak summit (e.g. pvalue =1e-10, then this value should be 10)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
456 * **fold_enrichment**: fold enrichment for this peak summit against random Poisson distribution with local lambda
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
457 * **-log10(qvalue)**: -log10(qvalue) at peak summit
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
458 * **name**: name of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
459
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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)*
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
461
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
462
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
463 **Summits BED File**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
464
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
466
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
467 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
468
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
469 ======= ========= ======= ============= =======
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
470 1 2 3 4 **5**
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
471 ======= ========= ======= ============= =======
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
472 chr1 840239 840240 treat1_peak_1 6.91052
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
473 chr1 919549 919550 treat1_peak_2 8.70936
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
474 chr1 937374 937375 treat1_peak_3 6.61759
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
475 ======= ========= ======= ============= =======
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
476
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
477 Columns contain the following data:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
478
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
479 * **1st**: chromosome name
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
480 * **2nd**: start position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
481 * **3rd**: end position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
482 * **4th**: name of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
483 * **5th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
484
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
485
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
486 **BedGraph Files**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
487
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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`_.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
489
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
490
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
491 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
492
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
493 **Treatment pileup file**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
494
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
495 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
496 1 2 3 **4**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
497 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
498 chr1 840146 840147 3.00000
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
499 chr1 840147 840332 4.00000
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
500 chr1 840332 840335 3.00000
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
501 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
502
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
503
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
504 **Control lambda file**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
505
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
506 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
507 1 2 3 **4**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
508 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
509 chr1 800953 801258 0.02536
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
510 chr1 801258 801631 0.25364
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
511 chr1 801631 801885 0.99858
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
512 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
513
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
514 Columns contain the following data:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
515
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
516 * **1st**: chromosome name
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
517 * **2nd**: start position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
518 * **3rd**: end position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
519 * **4th**: treatment pileup score or control local lambda score
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
520
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
521
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
522 **Broad peaks File**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
523
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
525
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
526 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
527
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
528 ======= ====== ====== ============= ==== === ======= ======= =======
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
529 1 2 3 4 5 6 7 8 9
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
530 ======= ====== ====== ============= ==== === ======= ======= =======
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
531 chr1 840081 840400 treat1_peak_1 52 . 4.08790 8.57605 5.21506
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
532 chr1 919419 919785 treat1_peak_2 56 . 4.37270 8.90436 5.60462
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
533 chr1 937220 937483 treat1_peak_3 48 . 4.02343 8.06676 4.86861
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
534 ======= ====== ====== ============= ==== === ======= ======= =======
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
535
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
536 Columns contain the following data:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
537
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
538 * **1st**: chromosome name
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
539 * **2nd**: start position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
540 * **3rd**: end position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
541 * **4th**: name of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
542 * **5th**: integer score for display in genome browser (e.g. UCSC)
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
543 * **6th**: strand, either "." (=no strand) or "+" or "-"
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
544 * **7th**: fold-change
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
545 * **8th**: -log10pvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
546 * **9th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
547
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
548
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
549 **Gapped peaks File**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
550
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
552
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
553 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
554
60
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
555 ======= ========= ======= ============= === === ======= ======= === === === === ======= ======= =======
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
556 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
557 ======= ========= ======= ============= === === ======= ======= === === === === ======= ======= =======
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
558 chr1 840081 840400 treat1_peak_1 52 . 840081 840400 0 1 319 0 4.08790 8.57605 5.21506
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
559 chr1 919419 919785 treat1_peak_2 56 . 919419 919785 0 1 366 0 4.37270 8.90436 5.60462
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
560 chr1 937220 937483 treat1_peak_3 48 . 937220 937483 0 1 263 0 4.02343 8.06676 4.86861
75bd115a2085 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 77a41905b31b6e93ff95b2c36bae865b60ab62d6
iuc
parents: 59
diff changeset
561 ======= ========= ======= ============= === === ======= ======= === === === === ======= ======= =======
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
562
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
563 Columns contain the following data:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
564
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
565 * **1st**: chromosome name
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
566 * **2nd**: start position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
567 * **3rd**: end position of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
568 * **4th**: name of peak
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
569 * **5th**: 10*-log10qvalue, to be more compatible to show grey levels on UCSC browser
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
570 * **6th**: strand, either "." (=no strand) or "+" or "-"
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
571 * **7th**: start of the first narrow peak in the region
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
572 * **8th**: end of the peak
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
573 * **9th**: RGB color key, default colour is 0
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
574 * **10th**: number of blocks, including the starting 1bp and ending 1bp of broad regions
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
575 * **11th**: length of each block, comma-separated values if multiple
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
576 * **12th**: start of each block, comma-separated values if multiple
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
577 * **13th**: fold-change
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
578 * **14th**: -log10pvalue
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
579 * **15th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
580
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
581 -----
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
582
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
583 **More Information**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
584
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
585 MACS2 performs the following analysis steps:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
586
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
587 * Artificially extends reads to expected fragment length, and generates coverage map along genome.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
590
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
591
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
592 **Tips of fine-tuning peak calling**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
593
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
594 Check out these other MACS2 tools:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
595
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
596 * **MACS2 bdgcmp** can be used on the callpeak bedGraph files or bedGraph files from other resources to calculate score track.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
599
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
600 .. class:: warningmark
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
601
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
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.
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
603
56
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 55
diff changeset
604 .. _MACS2: https://github.com/taoliu/MACS
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 55
diff changeset
605 .. _`Effective Genome Size`: http://deeptools.readthedocs.io/en/latest/content/feature/effectiveGenomeSize.html
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
606 .. _`UCSC website here`: https://genome.ucsc.edu/goldenPath/help/bedgraph.html
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
607
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
608 @citation@
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
609 ]]></help>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
610 <expand macro="citations" />
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
611 </tool>