Mercurial > repos > iuc > scanpy_remove_confounders
annotate remove_confounders.xml @ 19:cb5846ad91ff draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/scanpy commit a6bd86a67a159906ff55e8b2dedda71d019d3caf
| author | iuc |
|---|---|
| date | Wed, 03 Dec 2025 09:59:56 +0000 |
| parents | e078f7503d29 |
| children |
| rev | line source |
|---|---|
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
1 <tool id="scanpy_remove_confounders" name="Scanpy remove confounders" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
2 <description>with scanpy</description> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
3 <macros> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
5 </macros> |
|
12
25ab7843ad7a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents:
10
diff
changeset
|
6 <expand macro="bio_tools"/> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
7 <expand macro="requirements"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
8 <requirement type="package" version="1.6.0">bbknn</requirement> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
9 <requirement type="package" version="0.0.10">harmonypy</requirement> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
10 <requirement type="package" version="1.7.4">scanorama</requirement> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
11 <requirement type="package" version="0.5.13">pynndescent</requirement> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
12 </expand> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
13 <command detect_errors="exit_code"><![CDATA[ |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
14 @CMD@ |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
15 ]]></command> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
16 <configfiles> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
17 <configfile name="script_file"><![CDATA[ |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
18 @CMD_IMPORTS@ |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
19 @CMD_READ_INPUTS@ |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
20 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
21 #if str($method.method) == 'pp.regress_out': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
22 print("stats before regress_out:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
23 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
24 import os |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
25 sc.pp.regress_out( |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
26 adata=adata, |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
27 #if str($method.layer) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
28 layer='$method.layer', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
29 #end if |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
30 #set $keys = [str(x.strip()) for x in str($method.keys).split(',')] |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
31 keys=$keys, |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
32 n_jobs = int(os.getenv("GALAXY_SLOTS", 4)), |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
33 copy=False) |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
34 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
35 print("stats after regress_out:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
36 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
37 ## This function is commented out because the conda package is not working. Please add this if there is user demand and the conda package is fixed. If not please remove in the next update. |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
38 ## #else if str($method.method) == 'external.pp.mnn_correct': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
39 ## #if $method.extra_adata: |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
40 ## #for i, filepath in enumerate($method.extra_adata) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
41 ## adata_$i = sc.read_h5ad('$filepath') |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
42 ## #end for |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
43 ## #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
44 ## import os |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
45 ## corrected = sc.external.pp.mnn_correct( |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
46 ## adata, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
47 ## #if $method.extra_adata: |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
48 ## #for i, filepath in enumerate($method.extra_adata) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
49 ## adata_$i, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
50 ## #end for |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
51 ## #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
52 ## #if str($method.var_subset) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
53 ## #set $var_subset=([x.strip() for x in str($method.var_subset).split(',')]) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
54 ## var_subset=$var_subset, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
55 ## #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
56 ## batch_key='$method.batch_key', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
57 ## index_unique='$method.index_unique', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
58 ## #if str($method.batch_categories) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
59 ## #set $batch_categories=([x.strip() for x in str($method.batch_categories).split(',')]) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
60 ## batch_categories=$batch_categories, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
61 ## #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
62 ## k=$method.k, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
63 ## sigma=$method.sigma, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
64 ## cos_norm_in=$method.cos_norm_in, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
65 ## cos_norm_out=$method.cos_norm_out, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
66 ## #if str($method.svd_dim) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
67 ## svd_dim=$method.svd_dim, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
68 ## #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
69 ## var_adj=$method.var_adj, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
70 ## compute_angle=$method.compute_angle, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
71 ## #if str($method.mnn_order) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
72 ## mnn_order='$method.mnn_order', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
73 ## #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
74 ## #if str($method.svd_mode) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
75 ## svd_mode='$method.svd_mode', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
76 ## #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
77 ## do_concatenate=True, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
78 ## save_raw=True, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
79 ## n_jobs = int(os.getenv("GALAXY_SLOTS", 4))) |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
80 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
81 ## adata = corrected[0] |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
82 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
83 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
84 #else if str($method.method) == 'pp.combat': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
85 print("stats before combat:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
86 |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
87 sc.pp.combat( |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
88 adata, |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
89 key='$method.key', |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
90 #if str($method.covariates) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
91 #set $covariates = [str(x.strip()) for x in str($method.covariates).split(',')] |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
92 covariates=$covariates, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
93 #end if |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
94 inplace=True) |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
95 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
96 print("stats after combat:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
97 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
98 #else if str($method.method) == 'external.pp.bbknn': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
99 sc.external.pp.bbknn( |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
100 adata, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
101 batch_key='$method.batch_key', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
102 use_rep='$method.use_rep', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
103 #if str($method.approx.approx_method) == 'no': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
104 approx=False, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
105 #else if str($method.approx.approx_method) == 'annoy': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
106 approx=True, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
107 use_annoy=True, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
108 annoy_n_trees=$method.approx.annoy_n_trees, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
109 #else if str($method.approx.approx_method) == 'pyNNDescent': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
110 approx=True, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
111 use_annoy=False, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
112 pynndescent_n_neighbors=$method.approx.pynndescent_n_neighbors, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
113 pynndescent_random_state=$method.approx.pynndescent_random_state, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
114 #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
115 metric='$method.metric', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
116 neighbors_within_batch=$method.neighbors_within_batch, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
117 n_pcs=$method.n_pcs, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
118 #if str($method.trim) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
119 trim=$method.trim, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
120 #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
121 set_op_mix_ratio=$method.set_op_mix_ratio, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
122 local_connectivity=$method.local_connectivity, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
123 copy=False) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
124 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
125 #else if str($method.method) == 'external.pp.harmony_integrate': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
126 sc.external.pp.harmony_integrate( |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
127 adata, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
128 key='$method.key', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
129 basis='$method.basis', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
130 adjusted_basis='$method.adjusted_basis', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
131 #if str($method.theta) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
132 theta=$method.theta, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
133 #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
134 #if str($method.lamb) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
135 lamb=$method.lamb, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
136 #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
137 sigma=$method.sigma, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
138 #if str($method.nclust) != '': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
139 nclust=$method.nclust, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
140 #end if |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
141 tau=$method.tau, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
142 block_size=$method.block_size, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
143 max_iter_harmony=$method.max_iter_harmony, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
144 max_iter_kmeans=$method.max_iter_kmeans, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
145 epsilon_cluster=$method.epsilon_cluster, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
146 epsilon_harmony=$method.epsilon_harmony) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
147 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
148 #else if str($method.method) == 'external.pp.scanorama_integrate': |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
149 sc.external.pp.scanorama_integrate( |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
150 adata, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
151 key='$method.key', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
152 basis='$method.basis', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
153 adjusted_basis='$method.adjusted_basis', |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
154 knn=$method.knn, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
155 sigma=$method.sigma, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
156 approx=$method.approx, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
157 alpha=$method.alpha, |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
158 batch_size=$method.batch_size) |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
159 #end if |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
160 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
161 @CMD_ANNDATA_WRITE_OUTPUTS@ |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
162 ]]></configfile> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
163 </configfiles> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
164 <inputs> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
165 <expand macro="inputs_anndata"/> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
166 <conditional name="method"> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
167 <param argument="method" type="select" label="Method used for plotting"> |
|
3
5a97db811365
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents:
2
diff
changeset
|
168 <option value="pp.regress_out">Regress out unwanted sources of variation, using 'pp.regress_out'</option> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
169 <!-- This function is commented out because the conda package is not working. Please add this if there is user demand and the conda package is fixed. If not please remove in the next update. --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
170 <!-- <option value="external.pp.mnn_correct">Correct batch effects by matching mutual nearest neighbors, using 'pp.mnn_correct'</option> --> |
|
3
5a97db811365
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents:
2
diff
changeset
|
171 <option value="pp.combat">Correct batch effects with ComBat function, using 'pp.combat'</option> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
172 <option value="external.pp.bbknn">Batch effect removal with Batch balanced KNN (BBKNN), using 'external.pp.bbknn'</option> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
173 <option value="external.pp.harmony_integrate">Integrate multiple single-cell experiments with Harmony, using 'external.pp.harmony_integrate'</option> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
174 <option value="external.pp.scanorama_integrate">Integrate multiple single-cell experiments with Scanorama, using 'external.pp.scanorama_integrate'</option> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
175 </param> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
176 <when value="pp.regress_out"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
177 <param argument="layer" type="text" value="" label="Which element of layers to regress on"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
178 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
179 </param> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
180 <param argument="keys" type="text" value="" label="Keys for observation annotation on which to regress on" help="Keys separated by a comma"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
181 <expand macro="sanitize_query"/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
182 </param> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
183 </when> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
184 <!-- This function is commented out because the conda package is not working. Please add this if there is user demand and the conda package is fixed. If not please remove in the next update. --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
185 <!-- <when value="external.pp.mnn_correct"> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
186 <param name="extra_adata" type="data" multiple="true" optional="true" format="h5ad" label="Extra annotated data matrix" help="They should have same number of variables."/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
187 <param argument="var_subset" type="text" value="" optional="true" label="The subset of vars to be used when performing MNN correction" help="List of comma-separated key from '.var_names'. If not set, all vars are used"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
188 <expand macro="sanitize_query"/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
189 </param> |
|
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
190 <param argument="batch_key" type="text" value="batch" label="Batch key for the concatenate"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
191 <expand macro="sanitize_query"/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
192 </param> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
193 <param name="index_unique" type="select" label="Separator to join the existing index names with the batch category" help="Leave it empty to keep existing indices"> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
194 <option value="-">-</option> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
195 <option value="_">_</option> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
196 <option value=" "> </option> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
197 <option value="/">/</option> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
198 </param> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
199 <param argument="batch_categories" type="text" value="" optional="true" label="Batch categories for the concatenate" help="List of comma-separated key"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
200 <expand macro="sanitize_query"/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
201 </param> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
202 <param argument="k" type="integer" value="20" label="Number of mutual nearest neighbors"/> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
203 <param argument="sigma" type="float" value="1" label="The bandwidth of the Gaussian smoothing kernel used to compute the correction vectors"/> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
204 <param argument="cos_norm_in" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Should cosine normalization be performed on the input data prior to calculating distances between cells?"/> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
205 <param argument="cos_norm_out" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Should cosine normalization be performed prior to computing corrected expression values?"/> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
206 <param argument="svd_dim" type="integer" value="" optional="true" label="Number of dimensions to use for summarizing biological substructure within each batch" help="If not set, biological components will not be removed from the correction vectors."/> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
207 <param argument="var_adj" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Adjust variance of the correction vectors?" help="This step takes most computing time."/> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
208 <param argument="compute_angle" type="boolean" truevalue="True" falsevalue="False" checked="false" label="compute the angle between each cell’s correction vector and the biological subspace of the reference batch?"/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
209 <param argument="mnn_order" type="text" value="" optional="true" label="The order in which batches are to be corrected" help="List of comma-separated key. If not set, datas are corrected sequentially"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
210 <expand macro="sanitize_query"/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
211 </param> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
212 <param name="svd_mode" type="select" label="SVD mode"> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
213 <option value="svd">svd: SVD using a non-randomized SVD-via-ID algorithm</option> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
214 <option value="rsvd" selected="true">rsvd: SVD using a randomized SVD-via-ID algorithm</option> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
215 <option value="irlb">irlb: truncated SVD by implicitly restarted Lanczos bidiagonalization</option> |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
216 </param> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
217 </when> --> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
218 <when value="pp.combat"> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
219 <param argument="key" type="text" value="batch" label="Key to a categorical annotation from adata.obs that will be used for batch effect removal"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
220 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
221 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
222 <param argument="covariates" type="text" value="" optional="true" label="Additional covariates besides the batch variable such as adjustment variables or biological condition."> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
223 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
224 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
225 </when> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
226 <when value="external.pp.bbknn"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
227 <param argument="batch_key" type="text" value="batch" label="Batch key for the concatenate"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
228 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
229 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
230 <param argument="use_rep" type="text" value="X_pca" label="The dimensionality reduction in .obsm to use for neighbour detection"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
231 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
232 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
233 <conditional name="approx"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
234 <param name="approx_method" type="select" label="Approximate neighbour finding"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
235 <option value="annoy" selected="true">Yes, using ANNOY algorithm</option> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
236 <option value="pyNNDescent">Yes, using pyNNDescent</option> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
237 <option value="no">Do not use approximate neighbor finding</option> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
238 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
239 <when value="annoy"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
240 <param argument="annoy_n_trees" type="integer" value="10" label="The number of trees to construct in the annoy forest" help="More trees give higher precision when querying, at the cost of increased run time and resource intensity"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
241 </when> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
242 <when value="pyNNDescent"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
243 <param argument="pynndescent_n_neighbors" type="integer" value="30" label="The number of neighbours to include in the approximate neighbour graph" help="More neighbours give higher precision when querying, at the cost of increased run time and resource intensity"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
244 <param argument="pynndescent_random_state" type="integer" value="0" label="The RNG seed to use when creating the graph"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
245 </when> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
246 <when value="no"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
247 </conditional> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
248 <param name="metric" type="select" label="Distance metric to use for the data"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
249 <expand macro="distance_metric_options"/> |
|
7
0bea15e9a22d
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
250 </param> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
251 <param argument="neighbors_within_batch" type="integer" value="3" label="Number of top neighbours to report for each batch" help="total number of neighbours in the initial k-nearest-neighbours computation will be this number times the number of batches. This then serves as the basis for the construction of a symmetrical matrix of connectivities"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
252 <param argument="n_pcs" type="integer" value="50" label="Number of dimensions to use in the analysis" help="in case of PCA, principal components"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
253 <param argument="trim" type="integer" value="" optional="true" label="Trim the neighbours of each cell to these many top connectivities" help=" The lower the value the more independent the individual populations, at the cost of more conserved batch effect. If not set, sets the parameter value automatically to 10 times neighbors_within_batch times the number of batches. Set to 0 to skip."/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
254 <param argument="set_op_mix_ratio" type="float" value="1.0" min="0" max="1" label="UMAP connectivity computation parameter" help="controlling the blend between a connectivity matrix formed exclusively from mutual nearest neighbour pairs (0) and a union of all observed neighbour relationships with the mutual pairs emphasised (1)"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
255 <param argument="local_connectivity" type="integer" value="1" label="Number of nearest neighbors of each cell are assumed to be fully connected"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
256 </when> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
257 <when value="external.pp.harmony_integrate"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
258 <param argument="key" type="text" value="batch" label="The name of the column in adata.obs that differentiates among experiments/batches"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
259 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
260 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
261 <param argument="basis" type="text" value="X_pca" label="The name of the field in adata.obsm where the PCA table is stored"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
262 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
263 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
264 <param argument="adjusted_basis" type="text" value="X_pca_harmony" label="The name of the field in adata.obsm where the adjusted PCA table will be stored after running this function"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
265 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
266 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
267 <param argument="theta" type="integer" value="" optional="true" label="Diversity clustering penalty parameter" help="Default theta=2. theta=0 does not encourage any diversity. Larger values of theta result in more diverse clusters."/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
268 <param argument="lamb" type="integer" value="" optional="true" min="1" label="Ridge regression penalty parameter" help="Default lamb=1. Lambda must be strictly positive. Smaller values result in more aggressive correction."/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
269 <param argument="sigma" type="float" value="0.1" label="Width of soft kmeans clusters" help="Sigma scales the distance from a cell to cluster centroids. Larger values of sigma result in cells assigned to more clusters. Smaller values of sigma make soft kmeans cluster approach hard clustering."/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
270 <param argument="nclust" type="integer" value="" optional="true" label="Number of clusters in model" help="nclust=1 equivalent to simple linear regression."/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
271 <param argument="tau" type="integer" value="0" label="Expected number of cells per cluster" help="Protection against overclustering small datasets with large ones"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
272 <param argument="block_size" type="float" value="0.05" min="0" max="1" label="Proportion of cells to update during clustering" help="Larger values may be faster but less accurate"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
273 <param argument="max_iter_harmony" type="integer" value="10" label="Maximum number of rounds to run Harmony" help="One round of Harmony involves one clustering and one correction step"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
274 <param argument="max_iter_kmeans" type="integer" value="20" label="Maximum number of rounds to run clustering at each round of Harmony"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
275 <param argument="epsilon_cluster" type="float" value="1e-5" label="Convergence tolerance for clustering round of Harmony"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
276 <param argument="epsilon_harmony" type="float" value="1e-4" label="Convergence tolerance for Harmony"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
277 </when> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
278 <when value="external.pp.scanorama_integrate"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
279 <param argument="key" type="text" value="batch" label="The name of the column in adata.obs that differentiates among experiments/batches"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
280 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
281 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
282 <param argument="basis" type="text" value="X_pca" label="The name of the field in adata.obsm where the PCA table is stored"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
283 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
284 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
285 <param argument="adjusted_basis" type="text" value="X_scanorama" label="The name of the field in adata.obsm where the adjusted PCA table will be stored after running this function"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
286 <expand macro="sanitize_query"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
287 </param> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
288 <param argument="knn" type="integer" value="20" label="Number of nearest neighbors to use for matching"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
289 <param argument="sigma" type="integer" value="15" label="Correction smoothing parameter on Gaussian kernel"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
290 <param argument="approx" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Use approximate nearest neighbors with Python annoy" help="greatly speeds up matching runtime"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
291 <param argument="alpha" type="float" value="0.1" label="Alignment score minimum cutoff"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
292 <param argument="batch_size" type="integer" value="5000" label="The batch size used in the alignment vector computation" help="Useful when integrating very large (>100k samples) datasets. Set to large value that runs within available memory."/> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
293 </when> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
294 </conditional> |
|
6
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
295 <expand macro="inputs_common_advanced"/> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
296 </inputs> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
297 <outputs> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
298 <expand macro="anndata_outputs"/> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
299 </outputs> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
300 <tests> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
301 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
302 <!-- test 1 --> |
|
12
25ab7843ad7a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents:
10
diff
changeset
|
303 <test expect_num_outputs="2"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
304 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
305 <conditional name="method"> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
306 <param name="method" value="pp.regress_out"/> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
307 <param name="keys" value="batch"/> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
308 </conditional> |
|
6
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
309 <section name="advanced_common"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
310 <param name="show_log" value="true"/> |
|
6
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
311 </section> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
312 <output name="hidden_output"> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
313 <assert_contents> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
314 <has_text_matching expression="sc.pp.regress_out"/> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
315 <has_text_matching expression="keys=\['batch'\]"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
316 <has_text_matching expression="stats before regress_out: min= -0.0163 max= 1.0106 mean= 0.2864376"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
317 <has_text_matching expression="stats after regress_out: min= -0.7017021868145134 max= 0.7091581022301392 mean= -1.730938624756494e-16"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
318 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
319 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
320 <output name="anndata_out" ftype="h5ad"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
321 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
322 <has_h5_keys keys="varm/PCs"/> |
|
6
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
323 </assert_contents> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
324 </output> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
325 </test> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
326 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
327 <!-- This function is commented out because the conda package is not working. Please add this if there is user demand and the conda package is fixed. If not please remove in the next update. --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
328 <!-- test 2 --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
329 <!-- <test expect_num_outputs="2"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
330 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
331 <param name="extra_adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
332 <conditional name="method"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
333 <param name="method" value="external.pp.mnn_correct"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
334 <param name="batch_key" value="batch"/> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
335 </conditional> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
336 <section name="advanced_common"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
337 <param name="show_log" value="true"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
338 </section> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
339 <assert_stdout> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
340 <has_text_matching expression="I_have_to_check"/> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
341 </assert_stdout> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
342 <output name="hidden_output"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
343 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
344 <has_text_matching expression="sc.external.pp.mnn_correct"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
345 <has_text_matching expression="batch_key='batch'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
346 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
347 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
348 <output name="anndata_out" file="external.pp.mnn_correct.krumsiek11.h5ad" ftype="h5ad" compare="sim_size"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
349 </test> --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
350 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
351 <!-- test 3 --> |
|
12
25ab7843ad7a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents:
10
diff
changeset
|
352 <test expect_num_outputs="2"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
353 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
354 <conditional name="method"> |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
355 <param name="method" value="pp.combat"/> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
356 </conditional> |
|
6
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
357 <section name="advanced_common"> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
358 <param name="show_log" value="true"/> |
|
6
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
359 </section> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
360 <output name="hidden_output"> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
361 <assert_contents> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
362 <has_text_matching expression="sc.pp.combat"/> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
363 <has_text_matching expression="key='batch'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
364 <has_text_matching expression="stats before combat: min= -0.0163 max= 1.0106 mean= 0.2864376"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
365 <has_text_matching expression="stats after combat: min= -0.07474318799213325 max= 1.2280063438242503 mean= 0.2870530757430964"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
366 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
367 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
368 <output name="anndata_out" ftype="h5ad"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
369 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
370 <has_h5_keys keys="obsm/X_pca"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
371 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
372 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
373 </test> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
374 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
375 <!-- test 4 --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
376 <test expect_num_outputs="2"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
377 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
378 <conditional name="method"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
379 <param name="method" value="external.pp.bbknn"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
380 <param name="n_pcs" value="10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
381 <param name="set_op_mix_ratio" value="0.5"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
382 </conditional> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
383 <section name="advanced_common"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
384 <param name="show_log" value="true"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
385 </section> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
386 <output name="hidden_output"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
387 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
388 <has_text_matching expression="external.pp.bbknn"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
389 <has_text_matching expression="batch_key='batch'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
390 <has_text_matching expression="use_rep='X_pca'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
391 <has_text_matching expression="use_annoy=True"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
392 <has_text_matching expression="annoy_n_trees=10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
393 <has_text_matching expression="neighbors_within_batch=3"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
394 <has_text_matching expression="n_pcs=10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
395 <has_text_matching expression="set_op_mix_ratio=0.5"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
396 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
397 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
398 <output name="anndata_out" ftype="h5ad"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
399 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
400 <has_h5_keys keys="uns/neighbors"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
401 <has_h5_keys keys="obsp/distances,obsp/connectivities"/> |
|
6
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
402 </assert_contents> |
|
c0fab89336d1
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
403 </output> |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
404 </test> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
405 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
406 <!-- test 5 --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
407 <test expect_num_outputs="2"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
408 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
409 <conditional name="method"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
410 <param name="method" value="external.pp.bbknn"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
411 <conditional name="approx"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
412 <param name="approx_method" value="pyNNDescent"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
413 <param name="pynndescent_n_neighbors" value="10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
414 </conditional> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
415 <param name="n_pcs" value="10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
416 <param name="set_op_mix_ratio" value="0.5"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
417 </conditional> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
418 <section name="advanced_common"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
419 <param name="show_log" value="true"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
420 </section> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
421 <output name="hidden_output"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
422 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
423 <has_text_matching expression="external.pp.bbknn"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
424 <has_text_matching expression="batch_key='batch'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
425 <has_text_matching expression="use_rep='X_pca'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
426 <has_text_matching expression="use_annoy=False"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
427 <has_text_matching expression="pynndescent_n_neighbors=10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
428 <has_text_matching expression="pynndescent_random_state=0"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
429 <has_text_matching expression="neighbors_within_batch=3"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
430 <has_text_matching expression="n_pcs=10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
431 <has_text_matching expression="set_op_mix_ratio=0.5"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
432 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
433 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
434 <output name="anndata_out" ftype="h5ad"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
435 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
436 <has_h5_keys keys="uns/neighbors"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
437 <has_h5_keys keys="obsp/distances,obsp/connectivities"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
438 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
439 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
440 </test> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
441 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
442 <!-- test 6 --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
443 <test expect_num_outputs="2"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
444 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
445 <conditional name="method"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
446 <param name="method" value="external.pp.harmony_integrate"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
447 <param name="theta" value="2"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
448 <param name="lamb" value="1"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
449 <param name="block_size" value="0.1"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
450 </conditional> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
451 <section name="advanced_common"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
452 <param name="show_log" value="true"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
453 </section> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
454 <output name="hidden_output"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
455 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
456 <has_text_matching expression="external.pp.harmony_integrate"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
457 <has_text_matching expression="key='batch'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
458 <has_text_matching expression="basis='X_pca'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
459 <has_text_matching expression="adjusted_basis='X_pca_harmony'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
460 <has_text_matching expression="theta=2"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
461 <has_text_matching expression="lamb=1"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
462 <has_text_matching expression="block_size=0.1"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
463 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
464 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
465 <output name="anndata_out" ftype="h5ad"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
466 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
467 <has_h5_keys keys="obsm/X_pca_harmony"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
468 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
469 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
470 </test> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
471 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
472 <!-- test 7 --> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
473 <test expect_num_outputs="2"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
474 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
475 <conditional name="method"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
476 <param name="method" value="external.pp.scanorama_integrate"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
477 <param name="knn" value="2"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
478 <param name="sigma" value="10"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
479 <param name="batch_size" value="100"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
480 </conditional> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
481 <section name="advanced_common"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
482 <param name="show_log" value="true"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
483 </section> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
484 <output name="hidden_output"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
485 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
486 <has_text_matching expression="external.pp.scanorama_integrate"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
487 <has_text_matching expression="key='batch'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
488 <has_text_matching expression="basis='X_pca'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
489 <has_text_matching expression="adjusted_basis='X_scanorama'"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
490 <has_text_matching expression="knn=2"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
491 <has_text_matching expression="sigma=1"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
492 <has_text_matching expression="batch_size=100"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
493 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
494 </output> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
495 <output name="anndata_out" ftype="h5ad"> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
496 <assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
497 <has_h5_keys keys="obsm/X_scanorama"/> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
498 </assert_contents> |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
499 </output> |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
500 </test> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
501 </tests> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
502 <help><![CDATA[ |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
503 Regress out unwanted sources of variation, using `pp.regress_out` |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
504 ================================================================= |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
505 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
506 Regress out unwanted sources of variation, using simple linear regression. This is |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
507 inspired by Seurat's `regressOut` function in R. |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
508 |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
509 More details on the `scanpy documentation |
|
12
25ab7843ad7a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents:
10
diff
changeset
|
510 <https://scanpy.readthedocs.io/en/stable/api/scanpy.pp.regress_out.html>`__ |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
511 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
512 .. This function is commented out because the conda package is not working. Please add this if there is user demand and the conda package is fixed. If not please remove in the next update. |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
513 .. Correct batch effects by matching mutual nearest neighbors, using `external.pp.mnn_correct` |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
514 .. =========================================================================================== |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
515 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
516 .. This uses the implementation of mnnpy. Depending on do_concatenate, it returns AnnData objects in the |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
517 .. original order containing corrected expression values or a concatenated matrix or AnnData object. |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
518 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
519 .. Be reminded that it is not advised to use the corrected data matrices for differential expression testing. |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
520 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
521 .. More details on the `scanpy documentation |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
522 .. <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.mnn_correct.html>`__ |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
523 |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
524 |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
525 Correct batch effects with ComBat function (`pp.combat`) |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
526 ======================================================== |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
527 |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
528 Corrects for batch effects by fitting linear models, gains statistical power via an EB framework where information is borrowed across genes. This uses the implementation of ComBat |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
529 |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
530 More details on the `scanpy documentation |
|
12
25ab7843ad7a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents:
10
diff
changeset
|
531 <https://scanpy.readthedocs.io/en/stable/api/generated/scanpy.pp.combat.html>`__ |
|
1
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
532 |
|
22bcfed2afc0
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
533 |
|
14
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
534 Correct batch effects with bbknn function (`external.pp.bbknn`) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
535 =============================================================== |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
536 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
537 Batch balanced kNN alters the kNN procedure to identify each cell’s top neighbours in each batch separately instead of the entire cell pool with no accounting for batch. The nearest neighbours for each batch are then merged to create a final list of neighbours for the cell. Aligns batches in a quick and lightweight manner. |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
538 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
539 More details on the `scanpy documentation |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
540 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.bbknn.html>`__ |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
541 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
542 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
543 Correct batch effects with harmony function (`external.pp.harmony_integrate`) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
544 ============================================================================= |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
545 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
546 Harmony is an algorithm for integrating single-cell data from multiple experiments. |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
547 As Harmony works by adjusting the principal components, this function should be run after performing PCA but before computing the neighbor graph. |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
548 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
549 More details on the `scanpy documentation |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
550 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.harmony_integrate.html>`__ |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
551 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
552 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
553 Correct batch effects with scanprama function (`external.pp.scanorama_integrate`) |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
554 ================================================================================= |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
555 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
556 Scanprama is an algorithm for integrating single-cell data from multiple experiments stored in an AnnData object. This function should be run after performing PCA but before computing the neighbor graph. |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
557 |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
558 More details on the `scanpy documentation |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
559 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.scanorama_integrate.html>`__ |
|
e078f7503d29
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
12
diff
changeset
|
560 |
|
0
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
561 ]]></help> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
562 <expand macro="citations"/> |
|
b1ce2f94a938
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
563 </tool> |
