Mercurial > repos > xuebing > sharplabtool
diff mytools/makewindow.xml @ 7:f0dc65e7f6c0
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:59:07 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mytools/makewindow.xml Fri Mar 09 19:59:07 2012 -0500 @@ -0,0 +1,18 @@ +<tool id="makewindow" name="make-window"> + <description>around interval center </description> + <command interpreter="python"> makewindow.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>