<tool id="cdf2" name="CDF">
  <description>plot of two columns from two files</description>
  <command interpreter="python">cdf2.py $input1 $input2 $output $c1 $c2 $labels $log  $title </command>
  <inputs>
    <param name="input1" format="tabular" type="data" label="input file 1"/>
    <param name="c1" size="2" type="text" label="column number" value="1"/>
    <param name="input2" format="tabular" type="data" label="input file 2"/>
    <param name="c2" size="2" type="text" label="column number" value="1"/>
    <param name="title" size="50" type="text" label="Figure title (no space allowed) " value="CDF-plot"/>
    <param name="labels" size="50" type="text" label="Figure legend (sep by comma)" value="sample,control"/>
    <param name="log" label="log transform the data" type="boolean" truevalue="log" falsevalue="none" checked="False"/>

  </inputs>
  <outputs>
    <data format="pdf" name="output" />
  </outputs>
  <help>

**What it does**

This tool plots the CDF of two data columns in two input files. A KS test p-value is also shown. 

  </help>
</tool>
