Mercurial > repos > iuc > preprocess_muon
annotate preprocess_muon.xml @ 3:bd31b5d2130a draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit 62edff3d7020d653c5f14c9b8afef809eb0fcc8a
author | iuc |
---|---|
date | Tue, 18 Feb 2025 22:31:33 +0000 |
parents | 678260997e94 |
children |
rev | line source |
---|---|
0
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
1 <tool id="preprocess_muon" name="muon filter and normalize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
2 <macros> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
3 <import>macros.xml</import> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
4 </macros> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
5 <expand macro="requirements"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
6 <expand macro="version_command"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
8 @COPY_MUDATA@ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
9 @CMD@ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
10 ]]></command> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
11 <configfiles> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
12 <configfile name="script_file"><![CDATA[ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
13 @CMD_imports@ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
14 @CMD_read_inputs@ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
15 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
16 #if $method.method == 'pp.intersect_obs' |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
17 mu.pp.intersect_obs( |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
18 mdata |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
19 ) |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
20 ## Update the features. Only union features of the modalities are considered |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
21 mdata.update_var() |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
22 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
23 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
24 #else if $method.method == 'pp.l2norm' |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
25 mu.pp.l2norm( |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
26 mdata, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
27 #if $method.mod |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
28 mod='$method.mod', |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
29 #end if |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
30 #if $method.rep |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
31 rep='$method.rep', |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
32 #end if |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
33 n_pcs=$method.n_pcs, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
34 copy=False |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
35 ) |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
36 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
37 #else if $method.method == 'pp.neighbors' |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
38 mu.pp.neighbors( |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
39 mdata, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
40 #if str($method.n_neighbors) |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
41 n_neighbors=$method.n_neighbors, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
42 #end if |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
43 n_bandwidth_neighbors=$method.n_bandwidth_neighbors, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
44 n_multineighbors=$method.n_multineighbors, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
45 @CMD_neighbor_keys@ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
46 metric='$method.metric', |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
47 #if $method.key_added |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
48 key_added='$method.key_added', |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
49 #end if |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
50 weight_key='$method.weight_key', |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
51 add_weights_to_modalities=$method.add_weights_to_modalities, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
52 eps=$method.eps, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
53 random_state=$method.random_state, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
54 copy=False |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
55 ) |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
56 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
57 #else if $method.method == 'pp.sample_obs' |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
58 mu.pp.sample_obs( |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
59 mdata, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
60 frac=$method.frac, |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
61 #if $method.groupby |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
62 groupby='$method.groupby', |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
63 #end if |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
64 #if str($method.min_n) |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
65 min_n=$method.min_n |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
66 #end if |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
67 ) |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
68 #end if |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
69 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
70 @CMD_mudata_write_outputs@ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
71 ]]></configfile> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
72 </configfiles> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
73 <inputs> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
74 <expand macro="inputs_mudata"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
75 <conditional name="method"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
76 <param name="method" type="select" label="Method used for plotting"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
77 <option value="pp.intersect_obs">Subset: Subset observations present only in all modalities, using 'muon.pp.intersect_obs'</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
78 <option value="pp.l2norm">Normalize: Normalize observations to unit L2 norm, using 'muon.pp.l2norm'</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
79 <option value="pp.neighbors">Search: Multimodal nearest neighbor search, using 'muon.pp.neighbors'</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
80 <option value="pp.sample_obs">Return an object with some of the observations (subsampling). 'muon.pp.sample_obs'</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
81 </param> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
82 <when value="pp.intersect_obs"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
83 <when value="pp.l2norm"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
84 <param argument="mod" type="text" optional="true" label="Names of the modalities to normalize" help="Leave empty to use all modalities"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
85 <expand macro="sanitize_string" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
86 </param> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
87 <param argument="rep" type="text" optional="true" label="The representation to normalize." help="X or any key for .obsm is valid, for all modalities"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
88 <expand macro="sanitize_query" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
89 </param> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
90 <param argument="n_pcs" type="integer" min="0" value="0" label="The number of principal components to use." help="This affects the result only if a PCA representation is being normalized"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
91 </when> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
92 <when value="pp.neighbors"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
93 <param argument="n_neighbors" type="integer" optional="true" label="Number of nearest neighbors to find" |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
94 help="If not set, arithmetic mean of per-modality neighbors will be used"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
95 <param argument="n_bandwidth_neighbors" type="integer" value="20" label="Number of nearest neighbors to use for bandwidth selection"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
96 <param argument="n_multineighbors" type="integer" value="200" label="Number of nearest neighbors in each modality to consider as candidates for multimodal nearest neighbors" |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
97 help="Only points in the union of per-modality nearest neighbors are candidates for multimodal nearest neighbors. |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
98 This will use the same metric that was used for the nearest neighbor search in the respective modality."/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
99 <expand macro="param_neighbor_keys"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
100 <param argument="metric" type="select" label="Distance measure to use" help="This will only be used in the final step to search for nearest neighbors in the set of candidates."> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
101 <option value="euclidean" selected="true">euclidean</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
102 <option value="braycurtis">braycurtis</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
103 <option value="canberra">canberra</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
104 <option value="chebyshev">chebyshev</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
105 <option value="cityblock">cityblock</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
106 <option value="correlation">correlation</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
107 <option value="cosine">cosine</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
108 <option value="dice">dice</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
109 <option value="hamming">hamming</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
110 <option value="jaccard">jaccard</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
111 <option value="jensenshannon">jensenshannon</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
112 <option value="kulsinski">kulsinski</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
113 <option value="mahalanobis">mahalanobis</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
114 <option value="matching">matching</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
115 <option value="minkowski">minkowski</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
116 <option value="rogerstanimoto">rogerstanimoto</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
117 <option value="russellrao">russellrao</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
118 <option value="seuclidean">seuclidean</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
119 <option value="sokalmichener">sokalmichener</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
120 <option value="sokalsneath">sokalsneath</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
121 <option value="sqeuclidean">sqeuclidean</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
122 <option value="wminkowski">wminkowski</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
123 <option value="yule">yule</option> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
124 </param> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
125 <expand macro="param_key_added_common"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
126 <param argument="weight_key" type="text" value="mod_weight" label="Weight key to add to each modality’s .obs or to mdata.obs"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
127 <expand macro="sanitize_query" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
128 </param> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
129 <param argument="add_weights_to_modalities" type="boolean" truevalue="True" falsevalue="False" checked="false" label="If to add weights to individual modalities" help="By default, the weights will be added to mdata.obs"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
130 <expand macro="param_eps" eps_value="0.0001"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
131 <expand macro="param_random_state" seed="42"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
132 </when> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
133 <when value="pp.sample_obs"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
134 <param argument="frac" type="float" min="0" max="1" value="0.1" label="A fraction of observations to return"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
135 <param argument="groupby" type="text" optional="true" label="Categorical column in .obs that is used for prior grouping before sampling observations"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
136 <expand macro="sanitize_query"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
137 </param> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
138 <param argument="min_n" type="integer" min="0" optional="true" label="Return min_n observations if fraction frac of observations is below min_n" |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
139 help="When groupby is not None, min_n is applied per group."/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
140 </when> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
141 </conditional> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
142 <expand macro="inputs_common_advanced" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
143 </inputs> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
144 <outputs> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
145 <expand macro="muon_outputs"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
146 </outputs> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
147 <tests> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
148 <test expect_num_outputs="2"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
149 <!-- test1: intersect_obs --> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
150 <param name="mdata" ftype="h5ad" location="https://zenodo.org/records/12570984/files/pbmc3k_chr21.h5mu"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
151 <param name="method" value="pp.intersect_obs"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
152 <section name="advanced_common"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
153 <param name="show_log" value="true" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
154 </section> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
155 <output name="hidden_output"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
156 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
157 <has_text_matching expression="mu.pp.intersect_obs"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
158 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
159 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
160 <assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
161 <has_text_matching expression="179 × 490"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
162 <has_text_matching expression="179 x 178"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
163 <has_text_matching expression="179 x 312"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
164 </assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
165 <output name="mudata_out" ftype="h5ad"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
166 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
167 <has_h5_keys keys="mod/rna"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
168 <has_h5_keys keys="mod/atac"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
169 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
170 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
171 </test> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
172 <test expect_num_outputs="2"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
173 <!-- test2: l2norm --> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
174 <param name="mdata" ftype="h5ad" location="https://zenodo.org/records/12570984/files/pbmc3k_chr21.h5mu"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
175 <param name="method" value="pp.l2norm"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
176 <param name="n_pcs" value="5"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
177 <section name="advanced_common"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
178 <param name="show_log" value="true" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
179 </section> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
180 <output name="hidden_output"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
181 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
182 <has_text_matching expression="mu.pp.l2norm"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
183 <has_text_matching expression="copy=False"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
184 <has_text_matching expression="n_pcs=5"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
185 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
186 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
187 <assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
188 <has_text_matching expression="179 × 490"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
189 <has_text_matching expression="179 x 178"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
190 <has_text_matching expression="179 x 312"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
191 </assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
192 <output name="mudata_out" ftype="h5ad"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
193 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
194 <has_h5_keys keys="mod/rna"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
195 <has_h5_keys keys="mod/atac"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
196 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
197 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
198 </test> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
199 <test expect_num_outputs="2"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
200 <!-- test3: neighbors --> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
201 <param name="mdata" ftype="h5ad" location="https://zenodo.org/records/12570984/files/pbmc3k_chr21_pp.neighbors_in.h5mu"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
202 <param name="method" value="pp.neighbors"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
203 <param name="n_neighbors" value="2"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
204 <param name="n_bandwidth_neighbors" value="3"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
205 <param name="n_multineighbors" value="5"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
206 <conditional name="n_keys"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
207 <param name="type" value="separate"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
208 <repeat name="modalities"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
209 <param name="mod_name" value="rna"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
210 <param name="neighbor_keys" value="neighbors"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
211 </repeat> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
212 <repeat name="modalities"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
213 <param name="mod_name" value="atac"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
214 <param name="neighbor_keys" value="neighbors"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
215 </repeat> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
216 </conditional> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
217 <section name="advanced_common"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
218 <param name="show_log" value="true" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
219 </section> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
220 <output name="hidden_output"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
221 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
222 <has_text_matching expression="mu.pp.neighbors"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
223 <has_text_matching expression="copy=False"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
224 <has_text_matching expression="n_neighbors=2"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
225 <has_text_matching expression="n_bandwidth_neighbors=3"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
226 <has_text_matching expression="n_multineighbors=5"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
227 <has_text_matching expression="metric='euclidean'"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
228 <has_text_matching expression="weight_key='mod_weight'"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
229 <has_text_matching expression="add_weights_to_modalities=False"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
230 <has_text_matching expression="eps=0.0001"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
231 <has_text_matching expression="random_state=42"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
232 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
233 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
234 <assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
235 <has_text_matching expression="2711 × 1781"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
236 <has_text_matching expression="2711 x 555"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
237 <has_text_matching expression="2711 x 1226"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
238 </assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
239 <output name="mudata_out" ftype="h5ad"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
240 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
241 <has_h5_keys keys="mod/rna"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
242 <has_h5_keys keys="mod/atac"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
243 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
244 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
245 </test> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
246 <test expect_num_outputs="2"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
247 <!-- test4: sample_obs --> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
248 <param name="mdata" ftype="h5ad" location="https://zenodo.org/records/12570984/files/pbmc3k_chr21.h5mu"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
249 <param name="method" value="pp.sample_obs"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
250 <param name="frac" value="0.5"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
251 <param name="min_n" value="10"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
252 <section name="advanced_common"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
253 <param name="show_log" value="true" /> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
254 </section> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
255 <output name="hidden_output"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
256 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
257 <has_text_matching expression="mu.pp.sample_obs"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
258 <has_text_matching expression="frac=0.5"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
259 <has_text_matching expression="min_n=10"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
260 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
261 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
262 <assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
263 <has_text_matching expression="179 × 490"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
264 <has_text_matching expression="179 x 178"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
265 <has_text_matching expression="179 x 312"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
266 </assert_stdout> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
267 <output name="mudata_out" ftype="h5ad"> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
268 <assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
269 <has_h5_keys keys="mod/rna"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
270 <has_h5_keys keys="mod/atac"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
271 </assert_contents> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
272 </output> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
273 </test> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
274 </tests> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
275 <help><![CDATA[ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
276 Filter: Filter observations (samples or cells) in-place using any column in .obs or in .X ('muon.pp.filter_obs') |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
277 ================================================================================================================ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
278 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
279 Filter observations (samples or cells) in-place using any column in .obs or in .X. |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
280 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
281 More details on the `muon documentation |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
282 <https://muon.readthedocs.io/en/latest/api/generated/muon.pp.filter_obs.html#muon.pp.filter_obs>`__ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
283 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
284 Filter: Filter variables (features) ('muon.pp.filter_var') |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
285 ========================================================== |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
286 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
287 Filter variables (features, e.g. genes) in-place using any column in .var or row in .X. |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
288 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
289 More details on the `muon documentation |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
290 <https://muon.readthedocs.io/en/latest/api/generated/muon.pp.filter_var.html#muon.pp.filter_var>`__ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
291 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
292 Subset: Subset observations (samples or cells) in-place taking observations present only in all modalities ('muon.pp.intersect_obs') |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
293 ==================================================================================================================================== |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
294 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
295 Subset observations (samples or cells) in-place taking observations present only in all modalities. |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
296 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
297 More details on the `muon documentation |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
298 <https://muon.readthedocs.io/en/latest/api/generated/muon.pp.intersect_obs.html#muon.pp.intersect_obs>`__ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
299 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
300 Normalize: Normalize observations to unit L2 norm ('muon.pp.l2norm') |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
301 ==================================================================== |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
302 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
303 Normalize observations to unit L2 norm. |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
304 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
305 More details on the `muon documentation |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
306 <https://muon.readthedocs.io/en/latest/api/generated/muon.pp.l2norm.html#muon.pp.l2norm>`__ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
307 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
308 Search: Multimodal nearest neighbor search ('muon.pp.neighbors') |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
309 ================================================================ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
310 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
311 Multimodal nearest neighbor search by implementing the multimodal nearest neighbor method of Hao et al. and Swanson et al. |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
312 The neighbor search efficiency on this heavily relies on UMAP. In particular, you may want to decrease |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
313 n_multineighbors for large data set to avoid excessive peak memory use. To achieve results as close as possible |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
314 to the Seurat implementation, observations must be normalized to unit L2 norm prior to running per-modality |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
315 nearest-neighbor search. |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
316 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
317 More details on the `muon documentation |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
318 <https://muon.readthedocs.io/en/latest/api/generated/muon.pp.neighbors.html#muon.pp.neighbors>`__ |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
319 |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
320 ]]></help> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
321 <expand macro="citations"/> |
678260997e94
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/muon/ commit bcf2ec32c3d13b29da55e0e638da7ddd7162c436
iuc
parents:
diff
changeset
|
322 </tool> |