Mercurial > repos > xuebing > sharplabtool
diff tools/mytools/makewindow.xml @ 0:9071e359b9a3
Uploaded
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:37:19 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/mytools/makewindow.xml Fri Mar 09 19:37:19 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>