view bed_window.xml @ 0:21b4cb068fab

Uploaded
author xuebing
date Sat, 31 Mar 2012 14:05:34 -0400
parents
children
line wrap: on
line source

<tool id="bed_window" name="bed_window">
  <description>make a window around interval center </description>
  <command interpreter="python"> bed_window.py $input $output $window </command>
  <inputs>
     <param name="input" type="data" format="interval" label="Input interval file"/>
     <param name="window" type="integer" value="1000" label="window size (bps)" />
  </inputs>
  <outputs>
    <data format="input" name="output" />
  </outputs>
  <help>

**Description**

For each interval in the input file, take the middle point, then extend each side windowsize/2 bps. 

  </help>
</tool>