annotate ranger_wrapper.xml @ 6:c983230e1ef8 draft

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