annotate macs21_wrapper.xml @ 4:11cf21ee4242 draft

Uploaded tool version 2.1.2.0.
author pjbriggs
date Wed, 12 Dec 2018 08:26:16 -0500
parents 4124781932db
children 3c435705aca5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
1 <tool id="macs2_1_peakcalling" name="MACS2.1.2" version="2.1.2.0">
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
2 <description>Model-based Analysis of ChIP-Seq: peak calling</description>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
3 <requirements>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
4 <requirement type="package" version="2.7">python</requirement>
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
5 <requirement type="package" version="2.1.2">macs2</requirement>
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
6 <requirement type="package" version="3.5">R</requirement>
3
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
7 <requirement type="package" version="357">ucsc-fetchchromsizes</requirement>
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
8 <requirement type="package" version="357">ucsc-bedclip</requirement>
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
9 <requirement type="package" version="357">ucsc-bedsort</requirement>
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
10 <requirement type="package" version="357">ucsc-bedgraphtobigwig</requirement>
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
11 </requirements>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
12 <version_command>macs2 --version</version_command>
3
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
13 <command><![CDATA[
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
14 python $__tool_directory__/macs21_wrapper.py callpeak
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
15 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
16 ## ChIP-seq input
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
17 $input_chipseq_file1
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
18 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
19 ## ChIP-seq control
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
20 #if str($input_control_file1) != 'None'
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
21 -c $input_control_file1
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
22 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
23 ##
1
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
24 --format=$format
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
25 --name="$experiment_name"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
26 --bw=$bw
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
27 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
28 ## Genome size
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
29 #if str($genome_size.gsize) == ''
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
30 --gsize=$genome_size.user_defined_gsize
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
31 #else:
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
32 --gsize=$genome_size.gsize
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
33 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
34 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
35 ## Broad peaks
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
36 #if str($broad_options.broad_regions) == 'broad'
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
37 --broad --broad-cutoff=$broad_options.broad_cutoff
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
38 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
39 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
40 ## (no)model options
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
41 #if str($nomodel_type.nomodel_type_selector) == 'nomodel'
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
42 --nomodel --extsize=$nomodel_type.extsize
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
43 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
44 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
45 ## pq value select options
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
46 #if str($pq_options.pq_options_selector) == 'qvalue'
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
47 --qvalue=$pq_options.qvalue
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
48 #else
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
49 --pvalue=$pq_options.pvalue
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
50 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
51 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
52 ## Bedgraph options
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
53 #if $bdg_options.bdg
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
54 -B $bdg_options.spmr
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
55 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
56 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
57 ## Advanced options
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
58 #if $advanced_options.advanced_options_selector
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
59 --mfold $advanced_options.mfoldlo $advanced_options.mfoldhi
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
60 $advanced_options.nolambda
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
61 $advanced_options.call_summits
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
62 #if str($advanced_options.keep_duplicates.keep_dup) == ''
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
63 --keep-dup $advanced_options.keep_duplicates.maximum_tags
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
64 #else
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
65 --keep-dup $advanced_options.keep_duplicates.keep_dup
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
66 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
67 #else
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
68 ## Defaults if advanced options not set
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
69 --mfold 10 30 --keep-dup 1
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
70 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
71 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
72 ## Output files
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
73 --output-summits=$output_summits_bed_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
74 --output-extra-files=$output_extra_files
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
75 --output-extra-files-path=$output_extra_files.files_path
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
76 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
77 ## Narrow/broad peak outputs
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
78 #if str($broad_options.broad_regions) == 'broad'
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
79 --output-broadpeaks=$output_broadpeaks_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
80 --output-gappedpeaks=$output_gappedpeaks_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
81 #else
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
82 --output-narrowpeaks=$output_narrowpeaks_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
83 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
84 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
85 ## Bedgraph outputs
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
86 #if $bdg_options.bdg
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
87 --output-pileup=$output_treat_pileup_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
88 --output-lambda-bedgraph=$output_lambda_bedgraph_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
89 #if $bdg_options.make_bigwig
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
90 --output-bigwig=$output_bigwig_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
91 --length=$GALAXY_DATA_INDEX_DIR/shared/ucsc/chrom/${input_chipseq_file1.dbkey}.len
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
92 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
93 #end if
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
94 ##
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
95 ## XLS/interval output
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
96 #if str($xls_to_interval) == 'True'
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
97 --output-xls-to-interval=$output_xls_to_interval_peaks_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
98 #else
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
99 --output-peaks=$output_peaks_file
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
100 #end if
3
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
101 ]]></command>
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
102 <inputs>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
103 <!--experiment name used as base for output file names -->
3
4124781932db Updated to MACS 2.1.1 and use conda for dependency resolution.
pjbriggs
parents: 2
diff changeset
104 <param name="experiment_name" type="text" value="MACS2.1 in Galaxy" size="50"
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
105 label="Experiment Name"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
106 <!--choose 'broad' or 'narrow' regions-->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
107 <conditional name="broad_options">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
108 <param name="broad_regions" type="select" label="Type of region to call"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
109 help="Broad regions are formed by linking nearby enriched regions">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
110 <option value="" selected="true">Narrow regions</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
111 <option value="broad">Broad regions</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
112 </param>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
113 <when value="broad">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
114 <param name="broad_cutoff" type="float"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
115 label="Cutoff for broad regions"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
116 value="0.1" help="default: 0.1 (--broad-cutoff)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
117 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
118 </conditional>
1
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
119 <param name="format" type="select" label="Format of input read data"
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
120 help="Specify the format of the input data and whether or not it is paired end (--format)">
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
121 <option value="BAMPE" selected="true">BAM (paired-end)</option>
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
122 <option value="BAM">BAM (single-end)</option>
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
123 <option value="BEDPE">BED (paired-end)</option>
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
124 <option value="BED">BED (single-end)</option>
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
125 <option value="SAMPE">SAM (paired-end)</option>
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
126 <option value="SAM">SAM (single-end)</option>
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
127 </param>
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
128 <param name="input_chipseq_file1" type="data" format="bed,sam,bam"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
129 label="ChIP-seq read file" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
130 <param name="input_control_file1" type="data" format="bed,sam,bam" optional="True"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
131 label="ChIP-seq control read file" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
132 <conditional name="genome_size">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
133 <param name="gsize" type="select" label="Effective genome size"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
134 help="Either pre-defined (for common organisms), or user-defined (--gsize)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
135 <option value="hs" selected="true">Human (2.7e9)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
136 <option value="mm">Mouse (1.87e9)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
137 <option value="ce">C. elegans (9e7)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
138 <option value="dm">Fruitfly (1.2e8)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
139 <option value="">User-defined</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
140 </param>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
141 <when value="">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
142 <!-- User-defined effective genome size -->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
143 <param name="user_defined_gsize" type="float" value=""
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
144 label="Enter effective genome size (number of bases)"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
145 help="e.g. '1.0e+9' or '1000000000'" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
146 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
147 </conditional>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
148 <param name="bw" type="integer" label="Band width" value="300" help="(--bw)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
149 <param name="xls_to_interval" label="Include XLS file from MACS"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
150 type="boolean" truevalue="True" falsevalue="False" checked="True"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
151 help="MACS2 XLS file will be output to the history in 'interval' format (suitable for subsequent analysis in Galaxy). Note that start positions are 1-based."/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
152
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
153 <conditional name="bdg_options">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
154 <param name="bdg"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
155 label="Save treatment and control lambda pileups in bedGraph"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
156 type="boolean" truevalue="-B" falsevalue="" checked="False" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
157 <when value="-B">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
158 <param name="spmr"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
159 type="boolean" truevalue="--SPMR" falsevalue="" checked="False"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
160 label="Save signal per million reads for fragment pileup profiles"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
161 help="(--SPMR)" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
162 <param name="make_bigwig" type="boolean" checked="True"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
163 truevalue="True" falsevalue=""
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
164 label="Also generate bigWig file from bedGraph"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
165 help="bigWig file can used in subsequent analyses e.g. CEAS" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
166 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
167 <when value="">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
168 <!-- Display nothing -->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
169 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
170 </conditional>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
171
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
172 <conditional name="pq_options">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
173 <param name="pq_options_selector" type="select"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
174 label="Select p-value or q-value" help="default uses q-value">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
175 <option value="qvalue">q-value</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
176 <option value="pvalue">p-value</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
177 </param>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
178 <when value="pvalue">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
179 <param name="pvalue" type="float"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
180 label="p-value cutoff for binding region detection"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
181 value="1e-2" help="default: 1e-2 (--pvalue)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
182 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
183 <when value="qvalue">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
184 <param name="qvalue" type="float"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
185 label="q-value cutoff for binding region detection"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
186 value="0.01" help="default: 0.01 (--qvalue)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
187 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
188 </conditional>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
189 <conditional name="advanced_options">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
190 <param name="advanced_options_selector"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
191 type="boolean" truevalue="on" falsevalue="off" checked="False"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
192 label="Use advanced options?" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
193 <when value="on">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
194 <param name="mfoldlo" type="integer"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
195 label="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (lower-limit)"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
196 value="10" help="(--mfold)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
197 <param name="mfoldhi" type="integer"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
198 label="Select the regions with MFOLD high-confidence enrichment ratio against background to build model (upper-limit)"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
199 value="30" help="(--mfold)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
200 <param name="nolambda"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
201 label="Use fixed background lambda as local lambda for every binding region"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
202 type="boolean" truevalue="--nolambda" falsevalue="" checked="False"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
203 help="(--nolambda)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
204 <param name="call_summits"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
205 label="Detect subpeaks within binding region"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
206 type="boolean" truevalue="--call-summits" falsevalue="" checked="False"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
207 help="(--call-summits)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
208 <conditional name="keep_duplicates">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
209 <param name="keep_dup" type="select"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
210 label="Use of duplicate reads">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
211 <option value="auto">Automatically calculate maximum number of duplicates to keep (auto)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
212 <option value="all">Use all duplicates (all)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
213 <option value="" selected="true">Manually specify maxium number of duplicates</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
214 </param>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
215 <when value="">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
216 <param name="maximum_tags" type="integer" value="1"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
217 label="Maxium number of duplicated tags to keep at each location"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
218 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
219 </conditional>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
220 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
221 <when value="off">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
222 <!--display nothing-->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
223 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
224 </conditional>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
225 <conditional name="nomodel_type">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
226 <param name="nomodel_type_selector" type="select" label="Build Model">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
227 <option value="nomodel">Do not build the shifting model (--nomodel enabled)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
228 <option value="create_model" selected="true">Build the shifting model (--nomodel disabled)</option>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
229 </param>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
230 <when value="nomodel">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
231 <param name="extsize" type="integer" label="Arbitrary extension size in bp" value="200" help="Used as fragment size to extend each read towards 3' end (--extsize)"/>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
232 </when>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
233 </conditional>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
234 </inputs>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
235
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
236 <outputs>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
237 <!--callpeaks output-->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
238 <data name="output_extra_files" format="html"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
239 label="${tool.name}: callpeak on ${on_string} (html report)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
240 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
241 <data name="output_summits_bed_file" format="bed"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
242 label="${tool.name}: callpeak on ${on_string} (summits: bed)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
243 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
244 <data name="output_peaks_file" format="xls"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
245 label="${tool.name}: callpeak on ${on_string} (peaks: xls)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
246 <filter>xls_to_interval is False</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
247 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
248 <data name="output_narrowpeaks_file" format="interval"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
249 label="${tool.name}: callpeak on ${on_string} (peaks: narrowPeak)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
250 <filter>broad_options['broad_regions'] == ''</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
251 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
252 <data name="output_broadpeaks_file" format="interval"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
253 label="${tool.name}: callpeak on ${on_string} (peaks: broadPeak)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
254 <filter>broad_options['broad_regions'] == 'broad'</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
255 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
256 <data name="output_gappedpeaks_file" format="interval"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
257 label="${tool.name}: callpeak on ${on_string} (peaks: gappedPeak)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
258 <filter>broad_options['broad_regions'] == 'broad'</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
259 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
260 <data name="output_xls_to_interval_peaks_file" format="interval"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
261 label="${tool.name}: callpeak on ${on_string} (peaks: interval)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
262 <filter>xls_to_interval is True</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
263 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
264 <data name="output_treat_pileup_file" format="bedgraph"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
265 label="${tool.name}: callpeak on ${on_string} (treat pileup: bedGraph)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
266 <filter>bdg_options['bdg'] is True</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
267 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
268 <data name="output_lambda_bedgraph_file" format="bedgraph"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
269 label="${tool.name}: callpeak on ${on_string} (control lambda: bedGraph)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
270 <filter>bdg_options['bdg'] is True</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
271 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
272 <data name="output_bigwig_file" format="bigwig"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
273 label="${tool.name}: callpeak on ${on_string} (treat pileup: bigWig)">
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
274 <filter>bdg_options['bdg'] is True</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
275 <filter>bdg_options['make_bigwig'] is True</filter>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
276 </data>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
277 </outputs>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
278 <tests>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
279 <!-- Peak calling without bigwig output -->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
280 <test>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
281 <!-- Inputs -->
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
282 <param name="experiment_name" value="test_MACS2.1.2" />
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
283 <param name="broad_regions" value="" />
1
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
284 <param name="format" value="BED" />
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
285 <param name="input_chipseq_file1" value="test_region_IP.bed" dbkey="galGal3"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
286 ftype="bed" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
287 <param name="input_control_file1" value="test_region_Input.bed"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
288 ftype="bed" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
289 <param name="gsize" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
290 <param name="user_defined_gsize" value="775000000.0" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
291 <param name="bw" value="300" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
292 <param name="xls_to_interval" value="true" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
293 <param name="bdg_options|bdg" value="-B" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
294 <param name="bdg_options|spmr" value="--SPMR" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
295 <param name="bdg_options|make_bigwig" value="false" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
296 <param name="pq_options_selector" value="qvalue" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
297 <param name="qvalue" value="0.05" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
298 <param name="advanced_options_selector" value="true" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
299 <param name="advanced_options|mfoldlo" value="5" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
300 <param name="advanced_options|mfoldhi" value="50" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
301 <param name="advanced_options|nolambda" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
302 <param name="advanced_options|call_summits" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
303 <param name="advanced_options|keep_duplicates" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
304 <param name="advanced_options|maximum_tags" value="1" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
305 <param name="nomodel_type_selector" value="nomodel" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
306 <param name="nomodel_type|extsize" value="243" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
307 <!-- Outputs -->
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
308 <output name="output_extra_files" file="test_MACS2.1.2_html_report.zip"
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
309 compare="sim_size" delta="1500" />
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
310 <output name="output_summits_bed_file" file="test_MACS2.1.2_summits.bed" />
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
311 <output name="output_narrowpeaks_file" file="test_MACS2.1.2_peaks_narrowPeak.interval" />
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
312 <output name="output_xls_to_interval_peaks_file"
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
313 file="test_MACS2.1.2_peaks.xls.re_match"
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
314 compare="re_match" lines_diff="1" />
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
315 <output name="output_treat_pileup_file" file="test_MACS2.1.2_treat_pileup.bdg" />
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
316 <output name="output_lambda_bedgraph_file" file="test_MACS2.1.2_control_lambda.bdg" />
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
317 </test>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
318 <!-- Peak calling with bigwig output -->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
319 <test>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
320 <!-- Inputs -->
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
321 <param name="experiment_name" value="test_MACS2.1.2" />
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
322 <param name="broad_regions" value="" />
1
02a01ea54722 Uploaded latest version 2.1.0-5.
pjbriggs
parents: 0
diff changeset
323 <param name="format" value="BED" />
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
324 <param name="input_chipseq_file1" value="test_region_IP.bed" dbkey="galGal3"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
325 ftype="bed" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
326 <param name="input_control_file1" value="test_region_Input.bed"
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
327 ftype="bed" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
328 <param name="gsize" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
329 <param name="user_defined_gsize" value="775000000.0" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
330 <param name="bw" value="300" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
331 <param name="xls_to_interval" value="true" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
332 <param name="bdg_options|bdg" value="-B" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
333 <param name="bdg_options|spmr" value="--SPMR" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
334 <param name="bdg_options|make_bigwig" value="true" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
335 <param name="pq_options_selector" value="qvalue" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
336 <param name="qvalue" value="0.05" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
337 <param name="advanced_options_selector" value="true" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
338 <param name="advanced_options|mfoldlo" value="5" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
339 <param name="advanced_options|mfoldhi" value="50" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
340 <param name="advanced_options|nolambda" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
341 <param name="advanced_options|call_summits" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
342 <param name="advanced_options|keep_duplicates" value="" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
343 <param name="advanced_options|maximum_tags" value="1" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
344 <param name="nomodel_type_selector" value="nomodel" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
345 <param name="nomodel_type|extsize" value="243" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
346 <!-- Outputs -->
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
347 <output name="output_extra_files" file="test_MACS2.1.2_bw_html_report.zip"
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
348 compare="sim_size" delta="2500" />
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
349 <output name="output_summits_bed_file" file="test_MACS2.1.2_summits.bed" />
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
350 <output name="output_narrowpeaks_file" file="test_MACS2.1.2_peaks_narrowPeak.interval" />
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
351 <output name="output_xls_to_interval_peaks_file"
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
352 file="test_MACS2.1.2_peaks.xls.re_match"
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
353 compare="re_match" lines_diff="1" />
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
354 <output name="output_treat_pileup_file" file="test_MACS2.1.2_treat_pileup.bdg" />
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
355 <output name="output_lambda_bedgraph_file" file="test_MACS2.1.2_control_lambda.bdg" />
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
356 <output name="output_bigwig_file" file="test_MACS2.1.2_treat_pileup.bw"
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
357 compare="sim_size" />
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
358 </test>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
359 </tests>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
360 <help>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
361 **What it does**
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
362
4
11cf21ee4242 Uploaded tool version 2.1.2.0.
pjbriggs
parents: 3
diff changeset
363 MACS (Model-based Analysis of ChIP-seq) 2.1.2 provides algorithms for identifying
0
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
364 transcript factor binding sites. The program can be used either for ChIP-Seq data alone,
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
365 or with control sample data to improve specificity.
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
366
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
367 View the MACS2 documentation at:
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
368 https://github.com/taoliu/MACS/blob/master/README.rst
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
369
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
370 ------
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
371
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
372 **Usage**
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
373
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
374 The tool interfaces with the **callpeak** function in MACS, which calls peaks from
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
375 alignment results.
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
376
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
377 ------
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
378
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
379 **Credits**
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
380
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
381 This Galaxy tool was based on the MACS2 tool hosted in the Galaxy toolshed at
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
382
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
383 * http://toolshed.g2.bx.psu.edu/view/modencode-dcc/macs2
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
384
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
385 (specifically the 16:14f378e35191 revision of the tool) which is credited to Ziru
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
386 Zhou. This version is a reimplemented version developed within the Bioinformatics
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
387 Core Facility at the University of Manchester, which uses more up-to-date Galaxy
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
388 syntax and adds some extra features.
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
389
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
390 The tool runs Tao Liu's MACS2 software:
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
391
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
392 * https://github.com/taoliu/MACS
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
393
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
394 The reference for MACS is:
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
395
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
396 * Zhang Y, Liu T, Meyer CA, Eeckhoute J, Johnson DS, Bernstein BE, Nusbaum C,
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
397 Myers RM, Brown M, Li W, Liu XS. Model-based analysis of ChIP-Seq (MACS).
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
398 Genome Biol. 2008;9(9):R137.
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
399
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
400 Please kindly acknowledge both this Galaxy tool and the MACS2 package if you
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
401 use it.
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
402 </help>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
403 <citations>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
404 <!--
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
405 See https://wiki.galaxyproject.org/Admin/Tools/ToolConfigSyntax#A.3Ccitations.3E_tag_set
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
406 Can be either DOI or Bibtex
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
407 Use http://www.bioinformatics.org/texmed/ to convert PubMed to Bibtex
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
408 -->
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
409 <citation type="doi">10.1186/gb-2008-9-9-r137</citation>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
410 </citations>
06cb587a5e87 Uploaded initial version 2.1.0-4.
pjbriggs
parents:
diff changeset
411 </tool>