annotate corr.xml @ 1:f106b52086b0

Uploaded
author idot
date Sun, 18 Aug 2013 09:42:36 -0400
parents 06cd86f06fb0
children cde608491511
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
1 <tool id="corrcoverage" name="correlation" version="0.5.0">
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
2 <description>of coverage</description>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
3 <command interpreter="sh">
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
4 mkCorr.sh
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
5 #echo ','.join(map(lambda (x): x.get('file').__str__(), $files))
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
6
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
7 #echo ','.join(map(lambda (x): "\""+(x.get('file').name if x.get('cname').__str__() == "" else x.get('cname').__str__())+"\"", $files))
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
8
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
9 #echo ','.join(map(lambda (x): x.get('file').ext, $files))
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
10
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
11 $plotout
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
12
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
13 $matout
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
14
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
15 "$name"
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
16 </command>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
17
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
18 <inputs>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
19 <param name="name" type="text" label="experiment name" value="NA"></param>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
20 <repeat name="files" title="input files" min="2">
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
21 <param name="file" format="bed,bigWig" type="data" label="file" help="input file for correlation"/>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
22 <param name="cname" format="text" type="text" label="optional name" value="" help="name for condition"/>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
23 </repeat>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
24
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
25 </inputs>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
26
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
27 <outputs>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
28 <data format="pdf" name="plotout" label="#if str($name) == 'NA' then $on_string else $name# correlation plot"/>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
29 <data format="tabular" name="matout" label="#if str($name) == 'NA' then $on_string else $name# correlation matrix"/>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
30 </outputs>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
31
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
32
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
33 <help>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
34 Correlate Coverage:
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
35 ===================
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
36
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
37 Takes at least two files and calculates the correlation of the coverage. The correlation
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
38 is calculated by using the union of all the regions that are covered in the tracks.
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
39
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
40 Requirements:
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
41 -------------
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
42
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
43 At least two files of 6 column bed, wig(?) or bigWig format
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
44
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
45 Outputs:
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
46 --------
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
47 Plot of pearson clustering of correlation coefficient.
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
48 Matrix of pearson correlation coefficients.
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
49
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
50 TODO:
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
51 -----
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
52 Add mappability track option
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
53 Add bam as input
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
54 </help>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
55 </tool>
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
56
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
57
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
58
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
59
06cd86f06fb0 Uploaded
idot
parents:
diff changeset
60