Mercurial > repos > bgruening > deeptools
comparison bamCorrelate.xml @ 52:c0a054f2eff8 draft
Uploaded
author | bgruening |
---|---|
date | Mon, 22 Dec 2014 18:56:27 -0500 |
parents | 72d1d7c68bd3 |
children |
comparison
equal
deleted
inserted
replaced
51:329e8411cc51 | 52:c0a054f2eff8 |
---|---|
5 <macros> | 5 <macros> |
6 <token name="@BINARY@">bamCorrelate</token> | 6 <token name="@BINARY@">bamCorrelate</token> |
7 <import>deepTools_macros.xml</import> | 7 <import>deepTools_macros.xml</import> |
8 </macros> | 8 </macros> |
9 <command> | 9 <command> |
10 <![CDATA[ | |
10 #set files=[] | 11 #set files=[] |
11 #set labels=[] | 12 #set labels=[] |
12 | 13 |
13 @multiple_input_bams@ | 14 @multiple_input_bams@ |
14 | 15 |
64 --zMax $mode.advancedOpt.zMax | 65 --zMax $mode.advancedOpt.zMax |
65 #end if | 66 #end if |
66 --colorMap '$mode.advancedOpt.colorMap' | 67 --colorMap '$mode.advancedOpt.colorMap' |
67 | 68 |
68 #end if | 69 #end if |
70 ]]> | |
69 </command> | 71 </command> |
70 | 72 |
71 <inputs> | 73 <inputs> |
72 <expand macro="multiple_input_bams" /> | 74 <expand macro="multiple_input_bams" /> |
73 | 75 |
74 <param name="fragmentLength" type="integer" value="300" min="1" | 76 <param name="fragmentLength" type="integer" value="200" min="1" |
75 label="Length of the average fragment size" | 77 label="Length of the average fragment size" |
76 help ="Reads will be extended to match this length unless they are paired-end, in which case they will be extended to match the fragment length. *NOTE*: If the BAM files contain mated and unmated paired-end reads, unmated reads will be extended to match the fragment length."/> | 78 help ="Reads will be extended to match this length unless they are paired-end, in which case they will be extended to match the fragment length. *NOTE*: If the BAM files contain mated and unmated paired-end reads, unmated reads will be extended to match the fragment length. (--fragmentLength)"/> |
77 | 79 |
78 <param name="corMethod" type="select" label="Correlation method"> | 80 <param name="corMethod" type="select" label="Correlation method"> |
79 <option value="spearman" selected="True">Spearman</option> | 81 <option value="spearman" selected="True">Spearman</option> |
80 <option value="pearson">Pearson</option> | 82 <option value="pearson">Pearson</option> |
81 </param> | 83 </param> |
114 deviations from the median."/> | 116 deviations from the median."/> |
115 | 117 |
116 <expand macro="bamCorrelate_mode_actions" /> | 118 <expand macro="bamCorrelate_mode_actions" /> |
117 </when> | 119 </when> |
118 <when value="BED-file"> | 120 <when value="BED-file"> |
119 <param name="region_file" type="data" format="bed" label="Region file in BED format" help="Correlation is computed for the number of reads that overlap such regions."/> | 121 <param name="region_file" type="data" format="bed" |
122 label="Region file in BED format" | |
123 help="Correlation is computed for the number of reads that overlap such regions."/> | |
120 <expand macro="bamCorrelate_mode_actions" /> | 124 <expand macro="bamCorrelate_mode_actions" /> |
121 </when> | 125 </when> |
122 | |
123 </conditional> | 126 </conditional> |
124 | 127 |
125 <conditional name="output"> | 128 <conditional name="output"> |
126 <param name="showOutputSettings" type="select" label="Show advanced output settings" > | 129 <param name="showOutputSettings" type="select" label="Show advanced output settings" > |
127 <option value="no" selected="true">no</option> | 130 <option value="no" selected="true">no</option> |
153 output['saveCorMatrix'] is True | 156 output['saveCorMatrix'] is True |
154 )) | 157 )) |
155 </filter> | 158 </filter> |
156 </data> | 159 </data> |
157 </outputs> | 160 </outputs> |
161 <tests> | |
162 <test> | |
163 <repeat name="input_files"> | |
164 <param name="bamfile" value="bowtie2-test1.bam" ftype="bam" /> | |
165 </repeat> | |
166 <repeat name="input_files"> | |
167 <param name="bamfile" value="bowtie2-test1.bam" ftype="bam" /> | |
168 </repeat> | |
169 <param name="modeOpt" value="bins" /> | |
170 <param name="binSize" value="10" /> | |
171 <param name="showOutputSettings" value="no" /> | |
172 <output name="outFileName" file="bamCorrelate_result1.png" ftype="png" compare="sim_size" /> | |
173 </test> | |
174 </tests> | |
158 <help> | 175 <help> |
159 | 176 <![CDATA[ |
160 **What it does** | 177 **What it does** |
161 | 178 |
162 This tool is useful to assess the overall similarity of different BAM files. A typical application | 179 This tool is useful to assess the overall similarity of different BAM files. A typical application |
163 is to check the correlation between replicates or published data sets. | 180 is to check the correlation between replicates or published data sets. |
164 | 181 |
181 | 198 |
182 | 199 |
183 ----- | 200 ----- |
184 | 201 |
185 @REFERENCES@ | 202 @REFERENCES@ |
186 | 203 ]]> |
187 </help> | 204 </help> |
188 <expand macro="citations" /> | 205 <expand macro="citations" /> |
189 </tool> | 206 </tool> |