<tool id="metaintv_ext" name="aggregrate binned-average">
  <description>from bigwig (allow extension)</description>
  <command interpreter="python">metaintv_ext.py $bwfile $intvfile $exts $nbins $outfile $outplot > $outlog </command>
  <inputs>
      <param name="intvfile" format="interval" type="data" label="Interval file"/>
      <param name="bwfile" format="bigwig" type="data" label="BigWig file"/> 
      <param name="exts" type="text" size="80" value="100,50,50,100" label="extensions"/>
      <param name="nbins" type="text" size="80" value="10,10,10" label="number of bins"/>
                
  </inputs>
  <outputs>
      <data format="txt" name="outlog" label="${tool.name} on ${on_string}[log]"/>
    <data format="tabular" name="outfile" label="${tool.name} on ${on_string}[data]"/>
        <data format="pdf" name="outplot" label="${tool.name} on ${on_string}[plot]"/>
  </outputs>
  <help>

.. class:: infomark

To be added

</help>
</tool>
