6
|
1 <tool id="chromatra_t" name="Chromatra T" version="1.0.0">
|
|
2 <description>for visualizing genome-wide chromatin modifications</description>
|
|
3 <command interpreter="python">chromatrat.py $gffinput $feainput $imgformat $stepwidth '$classboundaries' $upstreamstretch $maxx $tickspacing '$title' $output</command>
|
|
4 <inputs>
|
|
5 <param name="gffinput" format="gff" type="data" label="Normalized enrichment scores"/>
|
|
6 <param name="feainput" format="tabular" type="data" label="Feature descriptions"/>
|
|
7 <param name="imgformat" type="select" label="Image format">
|
|
8 <option value="svg" selected="true">svg</option>
|
|
9 <option value="png">png</option>
|
|
10 <option value="pdf">pdf</option>
|
|
11 </param>
|
|
12 <param name="stepwidth" type="integer" value="150" min="1" label="Bin size in bp" />
|
|
13 <param name="classboundaries" type="text" value="1, 4, 16, 50, 200" size="30" label="Class boundaries" />
|
|
14 <param name="upstreamstretch" type="integer" value="450" min="0" label="Number of bp upstream of feature start to be plotted" />
|
|
15 <param name="maxx" type="integer" value="5000" label="Max bp to be plotted along x-coordinate. (Enter -1 for max feature length)"/>
|
|
16 <param name="tickspacing" type="integer" value="1000" label="Tick spacing along x-coordinate" />
|
|
17 <param name="title" type="text" value="" size="30" label="Plot title" />
|
|
18 </inputs>
|
|
19 <outputs>
|
|
20 <data format="svg" name="output">
|
|
21 <change_format>
|
|
22 <when input="imgformat" value="png" format="png" />
|
|
23 <when input="imgformat" value="pdf" format="pdf" />
|
|
24 <when input="imgformat" value="svg" format="svg" />
|
|
25 </change_format>
|
|
26 </data>
|
|
27 </outputs>
|
|
28
|
|
29 <requirements>
|
|
30 <requirement type="python-module">matplotlib</requirement>
|
|
31 </requirements>
|
|
32
|
|
33 <help>
|
|
34 CHROMATRA T visualizes the enrichment of chromatin modification across genomic features (e.g. all transcripts of a genome) in an unbiased way by accounting for feature length.
|
|
35 Furthermore, CHROMATRA T groups features based on a second characteristic (e.g. transcriptional frequency of transcripts).
|
|
36
|
|
37 -----
|
|
38
|
|
39 .. class:: infomark
|
|
40
|
|
41 **Normalized enrichment scores**
|
|
42
|
|
43 Enrichment scores must be provided in *GGFv3* format.
|
|
44
|
|
45 .. class:: infomark
|
|
46
|
|
47 **Feature descriptions**
|
|
48
|
|
49 Features must be provided in a *TAB*-delimited format in this order:
|
|
50
|
|
51 -1. feature name
|
|
52
|
|
53 -2. chromosome number
|
|
54
|
|
55 -3. strand
|
|
56
|
|
57 -4. feature start
|
|
58
|
|
59 -5. feature end
|
|
60
|
|
61 -6. feature attribute
|
|
62
|
|
63 .. class:: infomark
|
|
64
|
|
65 **Class boundaries**
|
|
66
|
|
67 Comma-seperated values spanning the *entire* numerical range of feature attributes. Values are interpreted as upper limits of the classes.
|
|
68 Example: Assuming the feature attribute to be transcriptional frequency of transcripts and the attribute value range to be 0.1 up to 85.3 mRNA/h, a proper class boundary specification might look like: "1, 5, 10, 100".
|
|
69 This would partition the range of transcriptional frequencies into 4 classes such that *class 1* would contain all transcripts less or equal to 1 mRNA/h, *class 2* all greater than 1 and less or equal to 5 mRNA/h, *class 3* all greater than 5 and less or equal 10 mRNA/h, and *class 4* all transcripts greater than 10 (and less than 100) mRNA/h.
|
|
70
|
|
71 .. class:: warningmark
|
|
72
|
|
73 The last boundary value must be greater or equal to the largest attribute value.
|
|
74 </help>
|
|
75
|
|
76 </tool>
|