comparison deepTools_macros.xml @ 36:ea2f64efe70d draft

Uploaded
author bgruening
date Fri, 31 Jan 2014 05:12:41 -0500
parents 7766dfcd2455
children 2f7edf06a5da
comparison
equal deleted inserted replaced
35:7766dfcd2455 36:ea2f64efe70d
54 <requirement type="package" version="12-2013">bx-python</requirement> 54 <requirement type="package" version="12-2013">bx-python</requirement>
55 <yield /> 55 <yield />
56 </requirements> 56 </requirements>
57 <version_command>@BINARY@ --version</version_command> 57 <version_command>@BINARY@ --version</version_command>
58 </xml> 58 </xml>
59
60 <xml name="kmeans_clustering">
61
62 <conditional name="used_multiple_regions">
63 <param name="used_multiple_regions_options" type="select"
64 label="Did you used multiple regions in ComputeMatrix?"
65 help="Would you like to cluster the regions according to the similarity of the signal distribution? This is only possible if you used computeMatrix on only one group of regions.">
66 <option value="yes">Yes, I used multiple regions.</option>
67 <option value="no">No, I used only one region.</option>
68 </param>
69 <when value="no">
70 <conditional name="clustering">
71 <param name="clustering_options" type="select" label="Clustering algorithm">
72 <option value="none">No clustering</option>
73 <option value="kmeans">Kmeans clustering</option>
74 </param>
75 <when value="kmeans">
76 <param name="k_kmeans" type="integer" value="0" label="Number of clusters to compute"
77 help="When this option is set, then the matrix is split into clusters using the kmeans algorithm. Only works for data that is not grouped, otherwise only the first group will be clustered. If more specific clustering methods are required it is advisable to save the underlying matrix and run the clustering using other software. The plotting of the clustering may fail (Error: Segmentation fault) if a cluster has very few members compared to the total number or regions. (default: None)."/>
78 </when>
79 <when value="none" />
80 </conditional>
81 </when>
82 <when value="yes" />
83 </conditional>
84
85 </xml>
86 <token name="@kmeans_clusterin@">
87 #if $advancedOpt.used_multiple_regions.used_multiple_regions_options == 'no':
88 #if $advancedOpt.used_multiple_regions.clustering.clustering_options == 'kmeans':
89 #if int($advancedOpt.used_multiple_regions.clustering.k_kmeans) > 0:
90 --kmeans $advancedOpt.used_multiple_regions.clustering.k_kmeans
91 #end if
92 #end if
93 #end if
94 </token>
95
59 <xml name="stdio"> 96 <xml name="stdio">
60 <stdio> 97 <stdio>
61 <exit_code range="1:" /> 98 <exit_code range="1:" />
62 <exit_code range=":-1" /> 99 <exit_code range=":-1" />
63 <regex match="Error:" /> 100 <regex match="Error:" />