Mercurial > repos > xuebing > sharplabtool
view tools/mytools/metaintv.xml @ 3:33c067c3ae34
Deleted selected files
author | xuebing |
---|---|
date | Fri, 09 Mar 2012 19:47:53 -0500 |
parents | 9071e359b9a3 |
children |
line wrap: on
line source
<tool id="metaintv" name="binned-average"> <description>from bigwig</description> <command interpreter="python">binnedAverage.py $bwfile $intvfile $nbin $outfile $outplot </command> <inputs> <param name="intvfile" format="bed" type="data" label="BED file (require strand in column 6)"/> <param name="bwfile" format="bigwig" type="data" label="BigWig file"/> <param name="nbin" type="integer" value="20" label="number of bins"/> </inputs> <outputs> <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 Each interval is binned and the average base-resolution score/coverage/density in the bigwig file is added as new columns appended at the end of the original file . **Example** If your original data has the following format: +-----+-----+---+------+ |chrom|start|end|other2| +-----+-----+---+------+ and you choose to divide each interval into 3 bins and return the mean scores of each bin, your output will look like this: +-----+-----+---+------+-----+-----+-----+ |chrom|start|end|other2|mean1|mean2|mean3| +-----+-----+---+------+-----+-----+-----+ </help> </tool>