Mercurial > repos > idot > coverage_correlation
annotate corr.xml @ 12:f3e037496c18
its even checking the levels
author | Ido Tamir <ido.tamir@imp.ac.at> |
---|---|
date | Sun, 18 Aug 2013 21:33:43 +0200 |
parents | 6df7b07f81c1 |
children | de452b96da8e |
rev | line source |
---|---|
0 | 1 <tool id="corrcoverage" name="correlation" version="0.5.0"> |
2 <description>of coverage</description> | |
3 <command interpreter="sh"> | |
4 mkCorr.sh | |
5 #echo ','.join(map(lambda (x): x.get('file').__str__(), $files)) | |
6 | |
7 #echo ','.join(map(lambda (x): "\""+(x.get('file').name if x.get('cname').__str__() == "" else x.get('cname').__str__())+"\"", $files)) | |
8 | |
9 #echo ','.join(map(lambda (x): x.get('file').ext, $files)) | |
10 | |
11 $plotout | |
12 | |
13 $matout | |
14 | |
15 "$name" | |
16 </command> | |
17 | |
18 <inputs> | |
19 <param name="name" type="text" label="experiment name" value="NA"></param> | |
20 <repeat name="files" title="input files" min="2"> | |
21 <param name="file" format="bed,bigWig" type="data" label="file" help="input file for correlation"/> | |
10
6df7b07f81c1
better explanation for optional name
Ido Tamir <ido.tamir@imp.ac.at>
parents:
7
diff
changeset
|
22 <param name="cname" format="text" type="text" label="optional name" value="" help="optional name for condition, default: data name"/> |
0 | 23 </repeat> |
24 | |
25 </inputs> | |
26 | |
27 <outputs> | |
28 <data format="pdf" name="plotout" label="#if str($name) == 'NA' then $on_string else $name# correlation plot"/> | |
29 <data format="tabular" name="matout" label="#if str($name) == 'NA' then $on_string else $name# correlation matrix"/> | |
30 </outputs> | |
31 | |
32 | |
33 <help> | |
34 Correlate Coverage: | |
35 =================== | |
36 | |
37 Takes at least two files and calculates the correlation of the coverage. The correlation | |
38 is calculated by using the union of all the regions that are covered in the tracks. | |
39 | |
40 Requirements: | |
41 ------------- | |
42 | |
43 At least two files of 6 column bed, wig(?) or bigWig format | |
44 | |
45 Outputs: | |
46 -------- | |
47 Plot of pearson clustering of correlation coefficient. | |
48 Matrix of pearson correlation coefficients. | |
49 | |
7 | 50 Please turn to *Ido Tamir* in case of problems or suggestions for this tool. |
51 | |
0 | 52 TODO: |
53 ----- | |
7 | 54 - Add mappability track option |
55 - Add bam as input | |
0 | 56 </help> |
57 </tool> | |
58 | |
59 | |
60 | |
61 | |
62 |