<tool id="cdf" name="CDF">
  <description>plot of two columns</description>
  <command interpreter="python">cdf.py $input $output $columns $log $labels $title </command>
  <inputs>
    <param name="input" format="tabular" type="data" label="input file"/>
    <param name="columns" size="4" type="text" label="column numbers (sep by comma)" help="i.e. plot CDF for data in column 2 and 3" value="2,3"/>
    <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,no space allowed)" 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 the input file. A KS test p-value is also shown. 

  </help>
</tool>
