comparison galaxy-conf/MatrixAligner.xml @ 24:a77e126ae856 draft

Reupload since last upload did not load correctly
author timpalpant
date Tue, 19 Jun 2012 22:15:09 -0400
parents 9d56b5b85740
children b43c420a6135
comparison
equal deleted inserted replaced
23:01d5d20eaadd 24:a77e126ae856
1 <tool id="MatrixAligner" name="Align values in a matrix" version="1.0.0">
2 <description>for a heatmap</description>
3 <command interpreter="sh">galaxyToolRunner.sh visualization.MatrixAligner -i $input -l $loci -m $M -o $output</command>
4 <inputs>
5 <param format="wig,bigwig" name="input" type="data" label="Sequencing data" />
6 <param format="bed" name="loci" type="data" label="List of intervals (with alignment points)" />
7 <param type="integer" name="M" value="4000" label="Maximum row length" />
8 </inputs>
9 <outputs>
10 <data format="tabular" name="output" />
11 </outputs>
12 <!-- TODO:<tests>
13 <test>
14 <param name="input" value="test.wig"/>
15 <param name="loci" value="test.bed"/>
16 <param name="M" value="4000"/>
17 <output name="output" file="matrixAligner.output"/>
18 </test>
19 <test>
20 <param name="input" value="test.bw"/>
21 <param name="loci" value="test.bed"/>
22 <param name="M" value="4000"/>
23 <output name="output" file="matrixAligner.output"/>
24 </test>
25 <test>
26 <param name="input" value="test.wig"/>
27 <param name="loci" value="test2.bed"/>
28 <param name="M" value="4000"/>
29 <output name="output" file="matrixAligner.output2"/>
30 </test>
31 <test>
32 <param name="input" value="test.bw"/>
33 <param name="loci" value="test2.bed"/>
34 <param name="M" value="4000"/>
35 <output name="output" file="matrixAligner.output2"/>
36 </test>
37 <test>
38 <param name="input" value="test.wig"/>
39 <param name="loci" value="test3.bed"/>
40 <param name="M" value="4000"/>
41 <output name="output" file="matrixAligner.output3"/>
42 </test>
43 <test>
44 <param name="input" value="test.bw"/>
45 <param name="loci" value="test3.bed"/>
46 <param name="M" value="4000"/>
47 <output name="output" file="matrixAligner.output3"/>
48 </test>
49 </tests>-->
50
51 <help>
52
53 This tool aligns sequencing data into a rectangular matrix for creating a heatmap with matrix2png. Data from each interval is lined up on the specified alignment point (column 5 in the Bed file), and flipped if on the - strand so that all intervals are 5'-to-3' from left-to-right.
54
55 Intervals with alignment points must be provided in the following extended Bed format ::
56
57 chr low high id alignment strand
58
59 The heatmap is created by taking each interval in the **List of Intervals**, retrieving the data for that interval from the Wig file, and adding it as a new row in the matrix. Intervals are processed in their original order.
60
61 -----
62
63 **Syntax**
64
65 - **Sequencing data** is the genomic data used to create the matrix
66 - **List of intervals** is a list of intervals in Bed format with alignment points
67 - **Maximum row length** is the maximum allowed width of the matrix. If aligned intervals extend outside of this width, they will be truncated.
68
69 -----
70
71 .. class:: infomark
72
73 **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.
74
75 .. class:: warningmark
76
77 Large heatmap matrices may require a long time to generate in Galaxy because it validates that the output is in correct tab-delimited format. To reduce the size of an MxN matrix with large M, rows (N) can be truncated using the maximum row length parameter. Rows are truncated from the alignment point (symmetrically) if possible, or as nearly symmetrically as possible.
78
79 </help>
80 </tool>