Mercurial > repos > idot > coverage_correlation
annotate corr.xml @ 14:5a4cbfb5fbc5 default tip
loading R3.0.2
author | Ido Tamir <ido.tamir@imp.ac.at> |
---|---|
date | Mon, 27 Oct 2014 10:57:35 +0100 |
parents | de452b96da8e |
children |
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 | |
13 | 43 At least two files of 6 column bed, wig, bam or bigWig format |
0 | 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 |
0 | 55 </help> |
56 </tool> | |
57 | |
58 | |
59 | |
60 | |
61 |