annotate ranger_wrapper.xml @ 19:b0cd56b01a7c draft

Uploaded
author modencode-dcc
date Mon, 21 Jan 2013 14:01:13 -0500
parents 15b82b82f344
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
1 <tool id="modencode_peakcalling_ranger" name="PeakRanger" version="1.16">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
2 <requirements>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
3 <requirement type="set_environment">SCRIPT_PATH</requirement>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
4 <requirement type="package" version="1.16">peakranger</requirement>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
5 </requirements>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
6 <description>multi-purpose, ultrafast ChIP Seq peak caller</description>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
7 <command interpreter="python">ranger_wrapper.py $options_file $outputs_file \$SCRIPT_PATH</command>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
8 <inputs>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
9 <param name="experiment_name" type="text" value="PeakRanger in Galaxy" size="50" label="Experiment Name"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
10
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
11 <conditional name="major_command">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
12 <param name="major_command_selector" type="select" label="Select action to be performed">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
13 <option value="nr">Estimate data quality (nr)</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
14 <option value="lc">Calculate library complexity (lc)</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
15 <option value="wig">Generate coverage wiggle file (wig)</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
16 <option value="wigpe">Generate coverage wiggle file using block models (wigpe)</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
17 <option value="ranger">Peak calling for sharp peaks (ranger)</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
18 <option value="ccat">Peak calling for broad peaks (ccat)</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
19 </param>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
20 <when value="nr">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
21 <param name="input_chipseq_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Tag File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
22 <param name="input_control_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Control File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
23
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
24 <param name="extension" type="integer" value="200" label="Read extension length" help="default=200 (-l)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
25 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
26 <when value="lc">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
27 <param name="input_chipseq_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Tag File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
28 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
29 <when value="wig">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
30 <param name="input_chipseq_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Tag File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
31
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
32 <param name="extension" type="integer" value="200" label="Read extension length" help="default=200 (-l)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
33
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
34 <param name="split" truevalue="-s" falsevalue="" type="boolean" checked="False" label="Generate one wig file per chromosome" help="output will be in .zip format (-s)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
35 <param name="strand" truevalue="-x" falsevalue="" type="boolean" checked="False" label="Generate one wig file per strand" help="output will be in .zip format (-x)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
36 <param name="gzip" truevalue="-z" falsevalue="" type="boolean" checked="False" label="Compress the output" help="(-z)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
37 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
38 <when value="wigpe">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
39 <param name="input_chipseq_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Tag File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
40
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
41 <param name="extension" type="integer" value="0" label="Read extension length" help="default=0 (-l)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
42
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
43 <param name="split" truevalue="-s" falsevalue="" type="boolean" checked="False" label="Generate one wig file per chromosome" help="(-s)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
44 <param name="strand" truevalue="-x" falsevalue="" type="boolean" checked="False" label="Generate one wig file per strand" help="(-x)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
45 <param name="gzip" truevalue="-z" falsevalue="" type="boolean" checked="False" label="Compress the output" help="(-z)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
46 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
47 <when value="ranger">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
48 <param name="input_chipseq_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Tag File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
49 <param name="input_control_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Control File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
50
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
51 <conditional name="gene_annotate_file">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
52 <param name="gene_annotate_file_selector" type="select" label="Select the gene annotation file">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
53 <option value="dm3refGene.txt">dm3refGene.txt</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
54 <option value="hg19refGene.txt">hg19refGene.txt</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
55 <option value="mm9refGene.txt">mm9refGene.txt</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
56 <option value="Upload">Select from history</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
57 <option value="None">None</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
58 </param>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
59 <when value="upload">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
60 <param name="usr_annot_file" type="data" format="txt" label="Select gene annotation file" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
61 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
62 </conditional>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
63 <param name="threads" type="integer" value="1" label="Number of threads" help="default=1 (-t)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
64 <param name="plot_region" type="integer" value="6000" label="The length of the snapshot region in the HTML report" help="(--plot_region)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
65 <param name="extension" type="integer" value="200" label="Read extension length" help="default=200 (-l)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
66 <param name="pvalue" type="float" value="0.0001" label="p-value cut-off" help="default=0.0001 (-p)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
67 <param name="fdr" type="float" value="0.01" label="FDR cut-off" help="default=0.01 (-p)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
68 <param name="delta" type="integer" value="1" label="Sensitivity of the summit detector" help="default=1 (-r)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
69 <param name="bandwith" type="integer" value="99" label="Smoothing bandwith" help="default=99 (-b)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
70
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
71 <param name="pad" truevalue="--pad" falsevalue="" type="boolean" checked="False" label="Pad read coverage profile to avoid false positive summits" help="(--pad)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
72 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
73 <when value="ccat">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
74 <param name="input_chipseq_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Tag File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
75 <param name="input_control_file1" type="data" format="bed,sam,bam,eland,elandmulti" label="ChIP-Seq Control File" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
76
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
77 <conditional name="gene_annotate_file">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
78 <param name="gene_annotate_file_selector" type="select" label="Select the gene annotation file">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
79 <option value="dm3refGene.txt">dm3refGene.txt</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
80 <option value="hg19refGene.txt">hg19refGene.txt</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
81 <option value="mm9refGene.txt">mm9refGene.txt</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
82 <option value="Upload">Select from history</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
83 <option value="None">None</option>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
84 </param>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
85 <when value="upload">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
86 <param name="usr_annot_file" type="data" format="txt" label="Select gene annotation file" />
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
87 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
88 </conditional>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
89 <param name="plot_region" type="integer" value="6000" label="Read extension length" help="default=6000 (--plot_region)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
90 <param name="extension" type="integer" value="100" label="Read extension length" help="default=100 (-l)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
91 <param name="fdr" type="float" value="0.11" label="FDR cut-off" help="default=0.11 (-q)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
92 <param name="winsize" type="integer" value="500" label="Sliding window size" help="default=500 (--win_size)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
93 <param name="winstep" type="integer" value="50" label="Window moving step" help="default=50 (--win_step)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
94 <param name="mincount" type="integer" value="4" label="Minimum window reads count" help="default=4 (--min_count)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
95 <param name="minscore" type="integer" value="5" label="Minimum window reads fold change" help="default=5 (--min_score)"/>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
96 </when>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
97 </conditional>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
98 </inputs>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
99
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
100 <outputs>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
101 <data name="output_ranger_file" format="txt" label="${tool.name}: ${major_command.major_command_selector} on ${on_string}">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
102 <filter>major_command['major_command_selector'] == 'nr' or major_command['major_command_selector'] == 'lc' or major_command['major_command_selector'] == 'ccat'</filter>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
103 </data>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
104 <data name="output_wigzip_file" format="wig, zip" label="${tool.name}: ${major_command.major_command_selector} on ${on_string}">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
105 <filter>major_command['major_command_selector'] == 'wig' or major_command['major_command_selector'] == 'wigpe'</filter>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
106 </data>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
107 <data name="output_summit_file" format="bed" label="${tool.name}: ${major_command.major_command_selector} on ${on_string} (summit)">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
108 <filter>major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat'</filter>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
109 </data>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
110 <data name="output_region_file" format="bed" label="${tool.name}: ${major_command.major_command_selector} on ${on_string} (region)">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
111 <filter>major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat'</filter>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
112 </data>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
113 <data name="output_details_file" format="txt" label="${tool.name}: ${major_command.major_command_selector} on ${on_string} (details)">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
114 <filter>major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat'</filter>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
115 </data>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
116 <data name="output_report_file" format="zip" label="${tool.name}: ${major_command.major_command_selector} on ${on_string} (html report)">
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
117 <filter>major_command['major_command_selector'] == 'ranger' or major_command['major_command_selector'] == 'ccat'</filter>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
118 <filter>major_command['gene_annotate_file']['gene_annotate_file_selector'] != 'None'</filter>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
119 </data>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
120 </outputs>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
121
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
122 <configfiles>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
123 <configfile name="outputs_file">&lt;%
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
124 import simplejson
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
125 %&gt;
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
126 ##=======================================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
127 #set $__outputs = { 'command':str( $major_command.major_command_selector ) }
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
128 #if str( $major_command.major_command_selector ) == 'nr' or str( $major_command.major_command_selector ) == 'lc':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
129 #set $__outputs['output_ranger_file'] = str( $output_ranger_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
130 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
131 ##=======================================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
132 #if str( $major_command.major_command_selector ) == 'wig' or str( $major_command.major_command_selector ) == 'wigpe':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
133 #set $__outputs['output_wigzip_file'] = str( $output_wigzip_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
134 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
135 ##=======================================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
136 #if str( $major_command.major_command_selector ) == 'ranger' or str( $major_command.major_command_selector ) == 'ccat':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
137 #set $__outputs['output_summit_file'] = str( $output_summit_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
138 #set $__outputs['output_region_file'] = str( $output_region_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
139 #set $__outputs['output_details_file'] = str( $output_details_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
140 #set $__outputs['output_report_file'] = str( $output_report_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
141 #set $__outputs['output_ranger_file'] = str( $output_ranger_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
142 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
143 ##=======================================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
144 ${ simplejson.dumps( __outputs ) }
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
145 </configfile>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
146 <configfile name="options_file">&lt;%
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
147 import simplejson
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
148 %&gt;
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
149 #set $__options = { 'experiment_name':str($experiment_name), 'action':str( $major_command.major_command_selector ) }
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
150
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
151 ##=============================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
152 #if str($major_command.major_command_selector) == 'nr':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
153 #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
154 #set $__options['input_file'] = str( $major_command.input_control_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
155
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
156 #set $__options['extension'] = str( $major_command.extension )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
157 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
158 ##=============================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
159 ##if str($major_command.major_command_selector) == 'lc':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
160 #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
161 ##end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
162 ##=============================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
163 #if str($major_command.major_command_selector) == 'wig' or str($major_command.major_command_selector) == 'wigpe':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
164 #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
165
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
166 #set $__options['extension'] = str( $major_command.extension )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
167 #set $__options['split'] = str( $major_command.split )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
168 #set $__options['strand'] = str( $major_command.strand)
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
169 #set $__options['gzip'] = str( $major_command.gzip )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
170 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
171 ##=============================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
172 #if str($major_command.major_command_selector) == 'ranger':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
173 #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
174 #set $__options['input_file'] = str( $major_command.input_control_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
175
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
176 #set $__options['gene_annotate_file'] = str( $major_command.gene_annotate_file.gene_annotate_file_selector )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
177 #if str( $major_command.gene_annotate_file.gene_annotate_file_selector ) == 'Upload'
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
178 #set $__options['usr_annot_file'] = str( $major_command.gene_annotate_file.usr_annot_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
179 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
180
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
181 #set $__options['plot_region'] = str( $major_command.plot_region )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
182 #set $__options['pvalue'] = str( $major_command.pvalue )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
183 #set $__options['fdr'] = str( $major_command.fdr )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
184 #set $__options['extension'] = str( $major_command.extension )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
185 #set $__options['delta'] = str( $major_command.delta )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
186 #set $__options['threads'] = str( $major_command.threads )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
187 #set $__options['bandwith'] = str( $major_command.bandwith )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
188 #set $__options['pad'] = str( $major_command.pad )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
189 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
190 ##=============================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
191 #if str($major_command.major_command_selector) == 'ccat':
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
192 #set $__options['chip_file'] = str( $major_command.input_chipseq_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
193 #set $__options['input_file'] = str( $major_command.input_control_file1 )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
194
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
195 #set $__options['gene_annotate_file'] = str( $major_command.gene_annotate_file.gene_annotate_file_selector )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
196 #if str( $major_command.gene_annotate_file.gene_annotate_file_selector ) == 'Upload'
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
197 #set $__options['usr_annot_file'] = str( $major_command.gene_annotate_file.usr_annot_file )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
198 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
199
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
200 #set $__options['plot_region'] = str( $major_command.plot_region )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
201 #set $__options['fdr'] = str( $major_command.fdr )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
202 #set $__options['extension'] = str( $major_command.extension )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
203 #set $__options['winsize'] = str( $major_command.winsize )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
204 #set $__options['winstep'] = str( $major_command.winstep )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
205 #set $__options['mincount'] = str( $major_command.mincount )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
206 #set $__options['minscore'] = str( $major_command.minscore )
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
207 #end if
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
208 ##=============================================================================
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
209 ${ simplejson.dumps( __options ) }
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
210 </configfile>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
211 </configfiles>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
212 <tests>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
213 <!--none yet for macs2-->
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
214 </tests>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
215 <help>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
216 **What it does**
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
217
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
218 PeakRanger is a multi-purporse software suite for analyzing next-generation sequencing (NGS) data. The suite contains the following tools:
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
219
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
220 View the modified PeakRanger documentation: http://ranger.sourceforge.net/manualv116.html#introduction
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
221
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
222 ------
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
223
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
224 **Usage**
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
225
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
226 **nr:** noise rate estimator. Estimates signal to noise ratio which is an indicator for ChIP enrichment
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
227
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
228 **lc:** library complexity calculator. Calculates the ratio of unique reads over total reads. Only accepts bam files.
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
229
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
230 **wig:** coverage file generator. Generates variable step format wiggle file
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
231
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
232 **wigpe:** coverage file generator. Generates bedGraph format wiggle file and supports spliced alignments and thus only supports bam files
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
233
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
234 wigpe can also generate coverage files for bam files containing spliced reads, such as those from RNA-Seq experiments.
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
235
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
236 **ranger:** ChIP-Seq peak caller. It is able to identify enriched genomic regions while at the same time discover summits within these regions.
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
237
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
238 **ccat:** ChIP-Seq peak caller. Tuned for the discovery of broad peaks
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
239
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
240 Both ranger and ccat supports generating HTML-based annotation reports.
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
241
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
242 ------
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
243
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
244 **Citation**
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
245
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
246 If you use PeakRanger in your research, please cite:
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
247 Feng X, Grossman R, Stein L: PeakRanger:A cloud-enabled peak caller for ChIP-seq data.BMC Bioinformatics 2011, 12(1):139.
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
248
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
249 if you use the ccat tool, please also cite:
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
250 Xu, H., L. Handoko, et al. (2010).A signal-noise model for significance analysis of ChIP-seq with negative control.Bioinformatics 26(9): 1199-1204.
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
251
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
252
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
253 Integration of PeakRanger with Galaxy performed by Ziru Zhou ( ziruzhou@gmail.com ). Please send your comments/questions to help@modencode.org.
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
254 </help>
15b82b82f344 Uploaded
modencode-dcc
parents:
diff changeset
255 </tool>