view galaxy-conf/IntervalAverager.xml @ 21:51b28ce6ef7e draft

Improve file type autodetection
author timpalpant
date Mon, 18 Jun 2012 14:50:31 -0400
parents 9d56b5b85740
children b43c420a6135
line wrap: on
line source

<tool id="IntervalAverager" name="Average intervals" version="2.1.0">
  <description>that have been aligned</description>
  <command interpreter="sh">
    galaxyToolRunner.sh visualization.IntervalAverager -l $loci -o $output $file1
      #for $input in $inputs
        ${input.file}
      #end for
  </command>
  <inputs>
      <param name="file1" label="Sequencing data" type="data" format="bigwig,wig" />
      <repeat name="inputs" title="Additional sequencing data">
        <param name="file" type="data" format="bigwig,wig" />
      </repeat>
      <param format="bed" name="loci" type="data" label="List of intervals (with alignment points)" />
  </inputs>
  <outputs>
      <data format="tabular" name="output" />
  </outputs>
  
<help>

This tool calculates the average signal for a set of aligned intervals. Intervals are lined up on their alignment point (column 5 in the Bed file), flipped if on the - strand, and averaged. The output is equivalent to aligning the data in a matrix and then taking the columnwise average of the matrix.

Intervals with alignment points must be provided in the following extended Bed format ::

  chr  low  high  id  alignment  strand

.. class:: infomark

**TIP:** If your dataset does not appear in the pulldown menu, it means that it is not in Wig or BigWig format. Use "edit attributes" to set the correct format if it was not detected correctly.

-----

**Syntax**

- **Sequencing data** is the genomic data used to create the average
- **List of intervals** is a list of intervals in Bed format with alignment points

</help>
</tool>