Mercurial > repos > bgruening > deeptools_plot_correlation
diff plotCorrelation.xml @ 3:e556e34fc12a draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit a92b8557d0985038d24daaab2996fbf8e4cd323f
author | bgruening |
---|---|
date | Mon, 21 Dec 2015 07:24:37 -0500 |
parents | c5634baf9bf9 |
children | ae54e08b15d7 |
line wrap: on
line diff
--- a/plotCorrelation.xml Fri Dec 18 12:27:26 2015 -0500 +++ b/plotCorrelation.xml Mon Dec 21 07:24:37 2015 -0500 @@ -11,12 +11,18 @@ --corData "$corData" --plotFile "$outFileName" --corMethod "$corMethod" - --whatToPlot "$whatToPlot" + --whatToPlot "$plotting_type.whatToPlot" + #if str($plotting_type.whatToPlot) == 'heatmap': + @HEATMAP_OPTIONS@ + #else: + --plotTitle '$plotting_type.plotTitle' + #end if $skipZeros --plotFileFormat "$outFileFormat" $removeOutliers - --outFileCorMatrix "$matrix" - @HEATMAP_OPTIONS@ + #if $outFileCorMatrix: + --outFileCorMatrix "$matrix" + #end if ]]> </command> @@ -24,14 +30,22 @@ <param name="corData" format="deeptools_coverage_matrix" type="data" label="Matrix file from the bamCorrelate tool"/> <expand macro="corMethod" /> - <param argument="--whatToPlot" type="select" label="Plotting type"> - <option value="heatmap" selected="True">Heatmap</option> - <option value="scatterplot">Scatterplot</option> - </param> + <conditional name="plotting_type" > + <param argument="--whatToPlot" type="select" label="Plotting type"> + <option value="heatmap" selected="True">Heatmap</option> + <option value="scatterplot">Scatterplot</option> + </param> + <when value="heatmap"> + <expand macro="heatmap_options" /> + </when> + <when value="scatterplot"> + <expand macro="plotTitle" /> + </when> + </conditional> <expand macro="skipZeros" /> - <expand macro="image_file_format" /> + <expand macro="input_image_file_format" /> <param argument="--removeOutliers" type="boolean" truevalue="--removeOutliers" falsevalue="" label="Remove regions with very large counts" @@ -47,11 +61,10 @@ unusually high counts."/> <param name="outFileCorMatrix" type="boolean" label="Save the matrix of values underlying the heatmap"/> - <expand macro="heatmap_options" /> </inputs> <outputs> - <expand macro="output_image_file_format" /> + <expand macro="output_image_file_format_not_nested" /> <data format="tabular" name="matrix" label="${tool.name} on ${on_string}: Correlation matrix"> <filter>outFileCorMatrix is True</filter> </data> @@ -70,7 +83,7 @@ <param name="whatToPlot" value="scatterplot" /> <param name="removeOutliers" value="True" /> <param name="plotTitle" value="Test Plot" /> - <output name="outFileName" file="plotCorrelation_result2.png" compare="sim_size" delta="100" /> + <output name="outFileName" file="plotCorrelation_result2.png" ftpye="png" compare="sim_size" delta="100" /> </test> </tests> <help>