annotate macs2_callpeak.xml @ 59:ea526bc73f8a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
author iuc
date Mon, 15 Oct 2018 06:48:49 -0400
parents 567665ed8cdb
children 75bd115a2085
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
59
ea526bc73f8a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 58
diff changeset
1 <tool id="macs2_callpeak" name="MACS2 callpeak" version="@VERSION_STRING@.5" profile="17.09">
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
2 <description>Call peaks from alignment results</description>
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
3 <macros>
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
4 <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
5 </macros>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
6 <expand macro="requirements">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
7 </expand>
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
8 <expand macro="stdio" />
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
9 <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
10 <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
11 #import re
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
12
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
13 @home_dir@
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
14 #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
15
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
16 (macs2 callpeak
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
17
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
18 ## 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
19
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
20 #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
21 -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
22 #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
23 #else
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
24 -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
25 #set identifier = re.sub('[^\w\-]', '_', str($treatment.input_treatment_file.element_identifier))
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
26 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
27
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
28 --name $identifier
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
29
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
30 ## 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
31
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
32 #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
33 #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
34 -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
35 #else
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
36 -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
37 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
38 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
39
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
40 --format $format
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
41
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
42 @effective_genome_size@
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
43
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
44 ## 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
45
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
46 $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
47 $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
48 $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
49
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
50 #if $advanced_options.ratio:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
51 --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
52 #end if
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
54 #if $advanced_options.slocal:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
55 --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
56 #end if
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
57
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
58 #if $advanced_options.llocal:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
59 --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
60 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
61
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
62 #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
63 --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-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
65 #else
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
66 $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
67 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
68
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
69 #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
70 --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
71 #else
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
72 --keep-dup '${ advanced_options.keep_dup_options.keep_dup_options_selector }'
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
73 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
74
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
75
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
76 ## 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
77 #if "bdg" in str($outputs).split(','):
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
78 --bdg
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
79 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
80
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
81 ## 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
82 #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
83 --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
84 #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
85 #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
86 --pvalue '${ cutoff_options.pvalue }'
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
87 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
88 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
89
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
90 ## 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
91 #if $nomodel_type.nomodel_type_selector == "nomodel":
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
92 --nomodel
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
93 --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
94 --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
95 #else
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
96 --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
97
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
98 #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
99 --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
100 #end if
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
101 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
102
51
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
103 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
104 #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
105 &&
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
106 cp ${identifier}_peaks.xls '${ output_tabular }'
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
107 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
108
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
109 ## 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
110 #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
111 &&
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
112 Rscript ${identifier}_model.r > ${identifier}_model.r.log
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
113 #end if
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
114
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
115 #if 'html' in str($outputs).split(','):
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
116 ## 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
117 &&
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
118 (
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
119 count=`ls -1 ${identifier}* 2>/dev/null | wc -l`;
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
120 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
121 then
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
122 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
123 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
124 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
125 '${ output_extra_files.files_path }' $temp_stderr > '${ output_extra_files }';
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
126 fi;
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
127 )
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
128 #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
129 &&
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
130 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
131 cat $temp_stderr 2>&1 &&
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
132 (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
133 ]]></command>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
134 <inputs>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
135 <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
136 <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
137 <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
138 <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
139 </param>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
140 <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
141 <param name="input_treatment_file" argument="-t" type="data" format="bam,sam,bed" label="ChIP-Seq Treatment File" />
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
142 </when>
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="Yes">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
144 <param name="input_treatment_file" argument="-t" type="data" format="bam,sam,bed" multiple="true" label="ChIP-Seq Treatment File" />
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 </conditional>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
147
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
148 <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
149 <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
150 <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
151 <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
152 </param>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
153 <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
154 <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
155 <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
156 <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
157 <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
158 </param>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
159 <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
160 <param name="input_control_file" argument="-c" type="data" format="bam,sam,bed" label="ChIP-Seq Control File" />
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
161 </when>
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="Yes">
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
163 <param name="input_control_file" argument="-c" type="data" format="bam,sam,bed" multiple="true" label="ChIP-Seq Control File" />
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 </conditional>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
166 </when>
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
167 <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
168 </conditional>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
169
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
170 <param name="format" type="select" label="Format of Input Files" help="For Paired-end BAM (BAMPE) the 'Build model step' will be ignored and the real fragments will be used for each template defined by leftmost and rightmost mapping positions (--format). Default: Single-end BAM">
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
171 <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
172 <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
173 <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
174 </param>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
175
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
176 <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
177
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
178 <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
179 <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
180 <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
181 <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
182 </param>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
183 <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
184 <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
185 <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"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
186 <param name="band_width" type="integer" value="300"
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
187 label="Band width for picking regions to compute fragment size"
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
188 help=" You can set this parameter as the medium fragment size expected from sonication or size selection (--bw). Default: 300" />
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
189 </when>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
190 <when value="nomodel">
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
191 <param name="extsize" type="integer" value="200" label="Set extension size" help="The arbitrary extension size in bp. When nomodel is true, MACS will use this value as fragment size to extend each read towards 3-prime; end, then pile them up. It is exactly twice the number of obsolete SHIFTSIZE. In previous language, each read is moved 5-prime-to-3-prime direction to middle of fragment by 0.5 d, then extended to both direction with 0.5 d. This is equivalent to say each read is extended towards 5-prime-to-3-prime into a d size fragment. --extsize (this option) and --shift (the option below) can be combined when necessary. See --shift option below. Default: 200 (--extsize)."/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
192 <param name="shift" type="integer" value="0" label="Set shift size" help="(NOT the legacy --shiftsize option!) The arbitrary shift in bp. Use discretion while setting it other than default value. When NOMODEL is set, MACS will use this value to move cutting ends (5-prime) towards 5-prime-to-3-prime direction then apply EXTSIZE to extend them to fragments. When this value is negative, ends will be moved toward 3-prime-to-5-prime direction. Recommended to keep it as default 0 for ChIP-Seq datasets, or -1 * 0.5 of --extsize (option above) together with --extsize option for detecting enriched cutting loci such as certain DNAseI-Seq datasets. Note, you can't set values other than 0 if format is paired-end data (BAMPE). Default: 0 (--shift)."/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
193 </when>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
194 </conditional>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
195
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
196 <conditional name="cutoff_options">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
197 <param name="cutoff_options_selector" type="select" label="Peak detection based on" help="default uses q-value">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
198 <option value="qvalue" selected="true">q-value</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
199 <option value="pvalue">p-value</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
200 </param>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
201 <when value="pvalue">
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
202 <param name="pvalue" type="float" value="" label="p-value cutoff for peak detection" help="default: not set (--pvalue)"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
203 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
204 <when value="qvalue">
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
205 <param name="qvalue" type="float" value="0.05" label="Minimum FDR (q-value) cutoff for peak detection" help="The q-value (minimum FDR) cutoff to call significant regions. Default is 0.05. For broad marks, you can try 0.05 as cutoff. Q-values are calculated from p-values using Benjamini-Hochberg procedure. (--qvalue)"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
206 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
207 </conditional>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
208
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
209 <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
210 <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
211 <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
212 <option value="bdg" >Scores in bedGraph files (--bdg)</option>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
213 <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
214 <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
215 </param>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
216
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
217 <section name="advanced_options" title="Advanced Options">
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
218 <param name="to_large" type="boolean" truevalue="--to-large" falsevalue="" checked="False" optional="True"
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
219 label="When set, scale the small sample up to the bigger sample"
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
220 help="By default, the bigger dataset will be scaled down towards the smaller dataset, which will lead to smaller p/qvalues and more specific results. Keep in mind that scaling down will bring down background noise more. (--to-large). Default: No"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
221 <param name="nolambda" type="boolean" truevalue="--nolambda" falsevalue="" checked="False" optional="True"
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
222 label="Use fixed background lambda as local lambda for every peak region" help="up to 9X more time consuming (--nolambda). Default: No"/>
59
ea526bc73f8a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 58
diff changeset
223 <param name="spmr" type="boolean" truevalue="--SPMR" falsevalue="" checked="False" optional="True"
ea526bc73f8a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 58
diff changeset
224 label="Save signal per million reads for fragment pileup profiles"
ea526bc73f8a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 30858afbdbe0223d07d2936a8469295bcbeda786
iuc
parents: 58
diff changeset
225 help="Requires 'Scores in bedGraph files (--bdg)' output to be selected. (--SPMR). Default: No"/>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
226 <param name="ratio" type="float" optional="True"
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
227 label="When set, use a custom scaling ratio of ChIP/control (e.g. calculated using NCIS) for linear scaling"
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
228 help="(--ratio) Default: ignore"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
229 <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
230 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"/>
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
231 <param name="llocal" type="integer" optional="True" label="The large 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
232 help="This is used to capture the surround bias. If you set this to 0, MACS will skip llocal lambda calculation. *Note* that MACS will always perform a d-size local lambda calculation. The final local bias should be the maximum of the lambda value from d, slocal, and llocal size windows. (--llocal) Default: 10000"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
233 <conditional name="broad_options">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
234 <param name="broad_options_selector" type="select"
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
235 label="Composite broad regions" help="by putting nearby highly enriched regions into a broad region with loose cutoff (--broad)">
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
236 <option value="nobroad" selected="true">No broad regions</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
237 <option value="broad">broad regions</option>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
238 </param>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
239 <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
240 <param name="broad_cutoff" type="float" label="Cutoff for broad region" value="0.1"
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
241 help="value is either p-value or q-value as specified above (--broad-cutoff)"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
242 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
243 <when value="nobroad">
36
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
244 <param name="call_summits" type="boolean" truevalue="--call-summits" falsevalue="" checked="False"
8c8ae1e19b10 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 344140b8df53b8b7024618bb04594607a045c03a
iuc
parents: 33
diff changeset
245 label="Use a more sophisticated signal processing approach to find subpeak summits in each enriched peak region"
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
246 help="(--call-summits)"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
247 </when>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
248 </conditional>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
249 <expand macro="keep_duplicates" />
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
250 </section>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
251 </inputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
252 <outputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
253 <!--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
254 <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
255 <filter> outputs and 'peaks_tabular' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
256 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
257 <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
258 <filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
259 ((
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
260 advanced_options['broad_options']['broad_options_selector'] == "broad"
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
261 ))
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
262 </filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
263 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
264 <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
265 <filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
266 ((
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
267 advanced_options['broad_options']['broad_options_selector'] == "broad"
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
268 ))
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
269 </filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
270 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
271 <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
272 <filter>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
273 ((
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
274 advanced_options['broad_options']['broad_options_selector'] == "nobroad"
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
275 ))
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
276 </filter>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
277 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
278 <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
279 <filter>outputs and 'summits' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
280 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
281 <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
282 <filter>
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
283 ((
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
284 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
285 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
286 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
287 ))
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
288 </filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
289 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
290 <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
291 <filter>outputs and 'bdg' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
292 </data>
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
293 <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
294 <filter>outputs and 'bdg' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
295 </data>
57
17a392731fbc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 1cf6ca65ca6bbf3553d830f13be1760dcd667cae
iuc
parents: 56
diff changeset
296 <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
297 <filter>outputs and 'html' in outputs</filter>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
298 </data>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
299 </outputs>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
300 <tests>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
301 <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
302 <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
303 <param name="c_select" value="Yes"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
304 <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
305 <param name="format" value="BED" />
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
306 <param name="cutoff_options_selector" value="qvalue"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
307 <param name="qvalue" value="0.05"/>
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
308 <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
309 <param name="outputs" value="peaks_tabular,bdg,html"/>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
310 <param name="effective_genome_size_options_selector" value="user_defined" />
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
311 <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
312 <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
313 <param name="upper" value="50" />
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
314 <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
315 <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
316 <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
317 <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
318 <assert_contents>
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
319 <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
320 </assert_contents>
61d2f23acfb8 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4583af716424e402e1f99e2181cfb954f565f681
iuc
parents: 50
diff changeset
321 </output>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
322 </test>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
323 <!-- 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
324 <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
325 <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
326 <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
327 <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
328 <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
329 <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
330 <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
331 <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
332 <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
333 <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
334 <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
335 <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
336 <param name="upper" value="50" />
44
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
337 <output name="output_plot" file="magic.pdf" ftype="pdf" compare="contains" />
37f53bf6c2b1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 63955994af5090ec444c03c221df0012d5ae4e74
iuc
parents: 36
diff changeset
338 </test>
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
339 <!-- 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
340 <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
341 <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
342 <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
343 <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
344 <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
345 <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
346 <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
347 <!-- 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
348 <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
349 <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
350 </test>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
351 </tests>
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
352 <help><![CDATA[
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
353
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
354 .. class:: infomark
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
355
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
356 **What it does**
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
357
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
358 **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
359
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
360 -----
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
361
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
362 **Inputs**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
363
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
364 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
365
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
366 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
367
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
368 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
369
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
370 *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
371
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
372 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
373
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
374 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
375
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
376 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
377 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
378 ce: 9e7
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
379 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
380
56
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 55
diff changeset
381 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
382
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
383 -----
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
384
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
385 **Outputs**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
386
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
387 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
388
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
389 * **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
390 * 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
391 * 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
392 * 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
393 * 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
394 * 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
395 * 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
396 * 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
397
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
398 **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
399
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
400 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
401
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
402 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
403
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 1 2 3 4 5 6 7 8 9 **10**
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
406 ======= ========= ======= ============ ==== === ======= ======== ======= =======
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
407 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
408 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
409 chr1 937220 937483 treat1_peak_3 66 . 4.87632 10.06728 6.61759 154
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
410 ======= ========= ======= ============ ==== === ======= ======== ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
411
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
412 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
413
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
414 * **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
415 * **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
416 * **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
417 * **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
418 * **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
419 * **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
420 * **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
421 * **8th**: -log10pvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
422 * **9th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
423 * **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
424
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
425
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
426 **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
427
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
428 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
429
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
430 Example:
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 **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
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 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
436 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
437 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
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 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
441
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
442 * **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
443 * **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
444 * **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
445 * **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
446 * **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
447 * **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
448 * **-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
449 * **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
450 * **-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
451 * **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
452
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
453 *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
454
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
455
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
456 **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
457
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
458 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
459
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
460 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
461
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
462 ======= ========= ======= ============ =======
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
463 1 2 3 4 **5**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
464 ======= ========= ======= ============ =======
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
465 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
466 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
467 chr1 937374 937375 treat1_peak_3 6.61759
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
468 ======= ========= ======= ============ =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
469
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
470 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
471
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
472 * **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
473 * **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
474 * **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
475 * **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
476 * **5th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
477
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 **BedGraph Files**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
480
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
481 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
482
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
483
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
484 Example:
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 **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
487
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
488 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
489 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
490 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
491 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
492 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
493 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
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
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
497 **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
498
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
499 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
500 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
501 ======= ========= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
502 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
503 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
504 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
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 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
508
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
509 * **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
510 * **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
511 * **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
512 * **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
513
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
514
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
515 **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
516
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
517 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
518
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
519 Example:
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
520
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
521 ======= ========= ======= ============ ==== === ======= ======= =======
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
522 1 2 3 4 5 6 7 8 9
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
523 ======= ========= ======= ============ ==== === ======= ======= =======
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
524 chr1 840081 840400 treat1_peak_1 52 . 4.08790 8.57605 5.21506
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
525 chr1 919419 919785 treat1_peak_2 56 . 4.37270 8.90436 5.60462
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
526 chr1 937220 937483 treat1_peak_3 48 . 4.02343 8.06676 4.86861
53
8f6b37d29df5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 586ecaebf9e6020fac2674fbda368e293d1c9bc2
iuc
parents: 52
diff changeset
527 ======= ========= ======= ============ ==== === ======= ======= =======
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
528
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
529
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
530 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
531
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
532 * **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
533 * **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
534 * **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
535 * **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
536 * **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
537 * **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
538 * **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
539 * **8th**: -log10pvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
540 * **9th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
541
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
542
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
543 **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
544
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
545 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
546
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
547 Example:
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 ======= ========= ======= ============ ==== === ======= ======= === === === === ======= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
550 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
551 ======= ========= ======= ============ ==== === ======= ======= === === === === ======= ======= =======
58
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
552 chr1 840081 840400 treat1_peak_1 52 . 840081 840400 0 1 319 0 4.08790 8.57605 5.21506
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
553 chr1 919419 919785 treat1_peak_2 56 . 919419 919785 0 1 366 0 4.37270 8.90436 5.60462
567665ed8cdb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit c9c5c4dd15aed950ed9b43a294ce6c41f5732a23
iuc
parents: 57
diff changeset
554 chr1 937220 937483 treat1_peak_3 48 . 937220 937483 0 1 263 0 4.02343 8.06676 4.86861
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
555 ======= ========= ======= ============ ==== === ======= ======= === === === === ======= ======= =======
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
556
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
557 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
558
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
559 * **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
560 * **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
561 * **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
562 * **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
563 * **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
564 * **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
565 * **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
566 * **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
567 * **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
568 * **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
569 * **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
570 * **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
571 * **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
572 * **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
573 * **15th**: -log10qvalue
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
574
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
575 -----
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
576
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
577 **More Information**
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
578
49
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
579 MACS2 performs the following analysis steps:
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
580
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
581 * 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
582 * 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
583 * 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
584
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
585
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
586 **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
587
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
588 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
589
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
590 * **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
591 * **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
592 * 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
593
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
594 .. class:: warningmark
1b3f899ef044 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit e10f301c7f8c54a7d12df4e631527197baccf70b
iuc
parents: 48
diff changeset
595
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
596 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
597
56
27e369f4407a planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 09ef7ee96fadeef22273029ea23d1e140ce96737
iuc
parents: 55
diff changeset
598 .. _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
599 .. _`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
600 .. _`UCSC website here`: https://genome.ucsc.edu/goldenPath/help/bedgraph.html
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
601
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
602 @citation@
52
6c9ea5f92ddb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/macs2 commit 4e2bb09986aebf442f2981e8d77aa512d4c86b90
iuc
parents: 51
diff changeset
603 ]]></help>
33
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
604 <expand macro="citations" />
c82a1f154c60 Uploaded
iuc
parents:
diff changeset
605 </tool>