Mercurial > repos > iuc > scanpy_remove_confounders
annotate remove_confounders.xml @ 22:c5541bfb8feb draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 90275e51aa271edacdd9d277c441e38e99502c53
author | iuc |
---|---|
date | Mon, 28 Oct 2024 18:07:34 +0000 |
parents | b70219da4a96 |
children |
rev | line source |
---|---|
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
1 <tool id="scanpy_remove_confounders" name="Scanpy remove confounders" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
1
a89ee42625ad
"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
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
3 <macros> |
9ca360dde8e3
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> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
5 </macros> |
11
73ab2ac53d06
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
6 <expand macro="bio_tools"/> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
7 <expand macro="requirements"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
8 <requirement type="package" version="1.6.0">bbknn</requirement> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
9 <requirement type="package" version="0.0.10">harmonypy</requirement> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
10 <requirement type="package" version="1.7.4">scanorama</requirement> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
11 <requirement type="package" version="0.5.13">pynndescent</requirement> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
12 </expand> |
0
9ca360dde8e3
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[ |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
14 @CMD@ |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
15 ]]></command> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
16 <configfiles> |
9ca360dde8e3
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[ |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
18 @CMD_IMPORTS@ |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
19 @CMD_READ_INPUTS@ |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
20 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
21 #if str($method.method) == 'pp.regress_out': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
22 print("stats before regress_out:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
23 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
24 import os |
0
9ca360dde8e3
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( |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
26 adata=adata, |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
27 #if str($method.layer) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
28 layer='$method.layer', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
29 #end if |
1
a89ee42625ad
"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(',')] |
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
31 keys=$keys, |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
32 n_jobs = int(os.getenv("GALAXY_SLOTS", 4)), |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
33 copy=False) |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
34 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
35 print("stats after regress_out:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
36 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
38 ## #else if str($method.method) == 'external.pp.mnn_correct': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
39 ## #if $method.extra_adata: |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
40 ## #for i, filepath in enumerate($method.extra_adata) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
41 ## adata_$i = sc.read_h5ad('$filepath') |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
42 ## #end for |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
43 ## #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
44 ## import os |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
45 ## corrected = sc.external.pp.mnn_correct( |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
46 ## adata, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
47 ## #if $method.extra_adata: |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
48 ## #for i, filepath in enumerate($method.extra_adata) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
49 ## adata_$i, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
50 ## #end for |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
51 ## #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
52 ## #if str($method.var_subset) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
53 ## #set $var_subset=([x.strip() for x in str($method.var_subset).split(',')]) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
54 ## var_subset=$var_subset, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
55 ## #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
56 ## batch_key='$method.batch_key', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
57 ## index_unique='$method.index_unique', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
58 ## #if str($method.batch_categories) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
59 ## #set $batch_categories=([x.strip() for x in str($method.batch_categories).split(',')]) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
60 ## batch_categories=$batch_categories, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
61 ## #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
62 ## k=$method.k, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
63 ## sigma=$method.sigma, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
64 ## cos_norm_in=$method.cos_norm_in, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
65 ## cos_norm_out=$method.cos_norm_out, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
66 ## #if str($method.svd_dim) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
67 ## svd_dim=$method.svd_dim, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
68 ## #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
69 ## var_adj=$method.var_adj, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
70 ## compute_angle=$method.compute_angle, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
71 ## #if str($method.mnn_order) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
72 ## mnn_order='$method.mnn_order', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
73 ## #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
74 ## #if str($method.svd_mode) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
75 ## svd_mode='$method.svd_mode', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
76 ## #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
77 ## do_concatenate=True, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
78 ## save_raw=True, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
79 ## n_jobs = int(os.getenv("GALAXY_SLOTS", 4))) |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
80 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
81 ## adata = corrected[0] |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
82 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
83 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
84 #else if str($method.method) == 'pp.combat': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
85 print("stats before combat:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
86 |
1
a89ee42625ad
"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( |
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
88 adata, |
a89ee42625ad
"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', |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
90 #if str($method.covariates) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
91 #set $covariates = [str(x.strip()) for x in str($method.covariates).split(',')] |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
92 covariates=$covariates, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
93 #end if |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
94 inplace=True) |
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
95 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
96 print("stats after combat:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean()) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
97 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
98 #else if str($method.method) == 'external.pp.bbknn': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
99 sc.external.pp.bbknn( |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
100 adata, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
101 batch_key='$method.batch_key', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
102 use_rep='$method.use_rep', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
103 #if str($method.approx.approx_method) == 'no': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
104 approx=False, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
105 #else if str($method.approx.approx_method) == 'annoy': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
106 approx=True, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
107 use_annoy=True, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
108 annoy_n_trees=$method.approx.annoy_n_trees, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
109 #else if str($method.approx.approx_method) == 'pyNNDescent': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
110 approx=True, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
111 use_annoy=False, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
112 pynndescent_n_neighbors=$method.approx.pynndescent_n_neighbors, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
113 pynndescent_random_state=$method.approx.pynndescent_random_state, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
114 #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
115 metric='$method.metric', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
116 neighbors_within_batch=$method.neighbors_within_batch, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
117 n_pcs=$method.n_pcs, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
118 #if str($method.trim) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
119 trim=$method.trim, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
120 #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
121 set_op_mix_ratio=$method.set_op_mix_ratio, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
122 local_connectivity=$method.local_connectivity, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
123 copy=False) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
124 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
125 #else if str($method.method) == 'external.pp.harmony_integrate': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
126 sc.external.pp.harmony_integrate( |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
127 adata, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
128 key='$method.key', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
129 basis='$method.basis', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
130 adjusted_basis='$method.adjusted_basis', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
131 #if str($method.theta) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
132 theta=$method.theta, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
133 #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
134 #if str($method.lamb) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
135 lamb=$method.lamb, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
136 #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
137 sigma=$method.sigma, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
138 #if str($method.nclust) != '': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
139 nclust=$method.nclust, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
140 #end if |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
141 tau=$method.tau, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
142 block_size=$method.block_size, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
143 max_iter_harmony=$method.max_iter_harmony, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
144 max_iter_kmeans=$method.max_iter_kmeans, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
145 epsilon_cluster=$method.epsilon_cluster, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
146 epsilon_harmony=$method.epsilon_harmony) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
147 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
148 #else if str($method.method) == 'external.pp.scanorama_integrate': |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
149 sc.external.pp.scanorama_integrate( |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
150 adata, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
151 key='$method.key', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
152 basis='$method.basis', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
153 adjusted_basis='$method.adjusted_basis', |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
154 knn=$method.knn, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
155 sigma=$method.sigma, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
156 approx=$method.approx, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
157 alpha=$method.alpha, |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
158 batch_size=$method.batch_size) |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
159 #end if |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
160 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
161 @CMD_ANNDATA_WRITE_OUTPUTS@ |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
162 ]]></configfile> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
163 </configfiles> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
164 <inputs> |
9ca360dde8e3
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"/> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
166 <conditional name="method"> |
9ca360dde8e3
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
00305dc2dd6f
"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> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
170 <!-- <option value="external.pp.mnn_correct">Correct batch effects by matching mutual nearest neighbors, using 'pp.mnn_correct'</option> --> |
3
00305dc2dd6f
"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> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
172 <option value="external.pp.bbknn">Batch effect removal with Batch balanced KNN (BBKNN), using 'external.pp.bbknn'</option> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
173 <option value="external.pp.harmony_integrate">Integrate multiple single-cell experiments with Harmony, using 'external.pp.harmony_integrate'</option> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
174 <option value="external.pp.scanorama_integrate">Integrate multiple single-cell experiments with Scanorama, using 'external.pp.scanorama_integrate'</option> |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
175 </param> |
9ca360dde8e3
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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
177 <param argument="layer" type="text" value="" label="Which element of layers to regress on"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
178 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
179 </param> |
7
215733a383f2
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
181 <expand macro="sanitize_query"/> |
7
215733a383f2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
182 </param> |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
183 </when> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
185 <!-- <when value="external.pp.mnn_correct"> |
1
a89ee42625ad
"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
215733a383f2
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
188 <expand macro="sanitize_query"/> |
7
215733a383f2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
189 </param> |
215733a383f2
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
191 <expand macro="sanitize_query"/> |
7
215733a383f2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
192 </param> |
1
a89ee42625ad
"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"> |
a89ee42625ad
"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> |
a89ee42625ad
"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> |
a89ee42625ad
"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> |
a89ee42625ad
"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> |
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
198 </param> |
7
215733a383f2
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
200 <expand macro="sanitize_query"/> |
7
215733a383f2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
201 </param> |
1
a89ee42625ad
"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"/> |
a89ee42625ad
"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"/> |
a89ee42625ad
"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?"/> |
a89ee42625ad
"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?"/> |
a89ee42625ad
"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."/> |
a89ee42625ad
"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."/> |
a89ee42625ad
"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
215733a383f2
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
210 <expand macro="sanitize_query"/> |
7
215733a383f2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
211 </param> |
1
a89ee42625ad
"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"> |
a89ee42625ad
"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> |
a89ee42625ad
"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> |
a89ee42625ad
"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> |
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
216 </param> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
217 </when> --> |
1
a89ee42625ad
"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
215733a383f2
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
220 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
221 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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."> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
223 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
224 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
225 </when> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
226 <when value="external.pp.bbknn"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
227 <param argument="batch_key" type="text" value="batch" label="Batch key for the concatenate"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
228 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
229 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
230 <param argument="use_rep" type="text" value="X_pca" label="The dimensionality reduction in .obsm to use for neighbour detection"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
231 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
232 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
233 <conditional name="approx"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
234 <param name="approx_method" type="select" label="Approximate neighbour finding"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
235 <option value="annoy" selected="true">Yes, using ANNOY algorithm</option> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
236 <option value="pyNNDescent">Yes, using pyNNDescent</option> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
237 <option value="no">Do not use approximate neighbor finding</option> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
238 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
239 <when value="annoy"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
241 </when> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
242 <when value="pyNNDescent"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
244 <param argument="pynndescent_random_state" type="integer" value="0" label="The RNG seed to use when creating the graph"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
245 </when> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
246 <when value="no"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
247 </conditional> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
248 <param name="metric" type="select" label="Distance metric to use for the data"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
249 <expand macro="distance_metric_options"/> |
7
215733a383f2
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
250 </param> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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."/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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)"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
256 </when> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
257 <when value="external.pp.harmony_integrate"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
258 <param argument="key" type="text" value="batch" label="The name of the column in adata.obs that differentiates among experiments/batches"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
259 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
260 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
262 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
263 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
265 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
266 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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."/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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."/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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."/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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."/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
275 <param argument="epsilon_cluster" type="float" value="1e-5" label="Convergence tolerance for clustering round of Harmony"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
276 <param argument="epsilon_harmony" type="float" value="1e-4" label="Convergence tolerance for Harmony"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
277 </when> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
278 <when value="external.pp.scanorama_integrate"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
279 <param argument="key" type="text" value="batch" label="The name of the column in adata.obs that differentiates among experiments/batches"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
280 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
281 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
283 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
284 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
286 <expand macro="sanitize_query"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
287 </param> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
288 <param argument="knn" type="integer" value="20" label="Number of nearest neighbors to use for matching"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
289 <param argument="sigma" type="integer" value="15" label="Correction smoothing parameter on Gaussian kernel"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
291 <param argument="alpha" type="float" value="0.1" label="Alignment score minimum cutoff"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
293 </when> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
294 </conditional> |
6
f2f6c703da06
"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
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
296 </inputs> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
297 <outputs> |
9ca360dde8e3
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"/> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
299 </outputs> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
300 <tests> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
301 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
302 <!-- test 1 --> |
11
73ab2ac53d06
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
303 <test expect_num_outputs="2"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
304 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
305 <conditional name="method"> |
9ca360dde8e3
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"/> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
307 <param name="keys" value="batch"/> |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
308 </conditional> |
6
f2f6c703da06
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
310 <param name="show_log" value="true"/> |
6
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
311 </section> |
f2f6c703da06
"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"> |
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
313 <assert_contents> |
f2f6c703da06
"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"/> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
315 <has_text_matching expression="keys=\['batch'\]"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
316 <has_text_matching expression="stats before regress_out: min= -0.0163 max= 1.0106 mean= 0.2864376"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
317 <has_text_matching expression="stats after regress_out: min= -0.7017021868145134 max= 0.7091581022301392 mean= -1.730938624756494e-16"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
318 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
319 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
320 <output name="anndata_out" ftype="h5ad"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
321 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
322 <has_h5_keys keys="varm/PCs"/> |
6
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
323 </assert_contents> |
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
324 </output> |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
325 </test> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
326 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
328 <!-- test 2 --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
329 <!-- <test expect_num_outputs="2"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
330 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
331 <param name="extra_adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
1
a89ee42625ad
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
333 <param name="method" value="external.pp.mnn_correct"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
334 <param name="batch_key" value="batch"/> |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
335 </conditional> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
336 <section name="advanced_common"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
337 <param name="show_log" value="true"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
338 </section> |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
339 <assert_stdout> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
340 <has_text_matching expression="I_have_to_check"/> |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
341 </assert_stdout> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
342 <output name="hidden_output"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
343 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
344 <has_text_matching expression="sc.external.pp.mnn_correct"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
345 <has_text_matching expression="batch_key='batch'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
346 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
347 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
348 <output name="anndata_out" file="external.pp.mnn_correct.krumsiek11.h5ad" ftype="h5ad" compare="sim_size"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
349 </test> --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
350 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
351 <!-- test 3 --> |
11
73ab2ac53d06
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
352 <test expect_num_outputs="2"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
353 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
0
9ca360dde8e3
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
a89ee42625ad
"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
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
356 </conditional> |
6
f2f6c703da06
"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"> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
358 <param name="show_log" value="true"/> |
6
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
359 </section> |
f2f6c703da06
"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"> |
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
361 <assert_contents> |
f2f6c703da06
"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"/> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
363 <has_text_matching expression="key='batch'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
364 <has_text_matching expression="stats before combat: min= -0.0163 max= 1.0106 mean= 0.2864376"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
365 <has_text_matching expression="stats after combat: min= -0.07474318799213325 max= 1.2280063438242503 mean= 0.2870530757430964"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
366 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
367 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
368 <output name="anndata_out" ftype="h5ad"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
369 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
370 <has_h5_keys keys="obsm/X_pca"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
371 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
372 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
373 </test> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
374 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
375 <!-- test 4 --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
376 <test expect_num_outputs="2"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
377 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
378 <conditional name="method"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
379 <param name="method" value="external.pp.bbknn"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
380 <param name="n_pcs" value="10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
381 <param name="set_op_mix_ratio" value="0.5"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
382 </conditional> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
383 <section name="advanced_common"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
384 <param name="show_log" value="true"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
385 </section> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
386 <output name="hidden_output"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
387 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
388 <has_text_matching expression="external.pp.bbknn"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
389 <has_text_matching expression="batch_key='batch'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
390 <has_text_matching expression="use_rep='X_pca'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
391 <has_text_matching expression="use_annoy=True"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
392 <has_text_matching expression="annoy_n_trees=10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
393 <has_text_matching expression="neighbors_within_batch=3"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
394 <has_text_matching expression="n_pcs=10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
395 <has_text_matching expression="set_op_mix_ratio=0.5"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
396 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
397 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
398 <output name="anndata_out" ftype="h5ad"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
399 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
400 <has_h5_keys keys="uns/neighbors"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
401 <has_h5_keys keys="obsp/distances,obsp/connectivities"/> |
6
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
402 </assert_contents> |
f2f6c703da06
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
403 </output> |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
404 </test> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
405 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
406 <!-- test 5 --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
407 <test expect_num_outputs="2"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
408 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
409 <conditional name="method"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
410 <param name="method" value="external.pp.bbknn"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
411 <conditional name="approx"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
412 <param name="approx_method" value="pyNNDescent"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
413 <param name="pynndescent_n_neighbors" value="10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
414 </conditional> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
415 <param name="n_pcs" value="10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
416 <param name="set_op_mix_ratio" value="0.5"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
417 </conditional> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
418 <section name="advanced_common"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
419 <param name="show_log" value="true"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
420 </section> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
421 <output name="hidden_output"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
422 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
423 <has_text_matching expression="external.pp.bbknn"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
424 <has_text_matching expression="batch_key='batch'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
425 <has_text_matching expression="use_rep='X_pca'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
426 <has_text_matching expression="use_annoy=False"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
427 <has_text_matching expression="pynndescent_n_neighbors=10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
428 <has_text_matching expression="pynndescent_random_state=0"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
429 <has_text_matching expression="neighbors_within_batch=3"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
430 <has_text_matching expression="n_pcs=10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
431 <has_text_matching expression="set_op_mix_ratio=0.5"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
432 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
433 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
434 <output name="anndata_out" ftype="h5ad"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
435 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
436 <has_h5_keys keys="uns/neighbors"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
437 <has_h5_keys keys="obsp/distances,obsp/connectivities"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
438 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
439 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
440 </test> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
441 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
442 <!-- test 6 --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
443 <test expect_num_outputs="2"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
444 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
445 <conditional name="method"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
446 <param name="method" value="external.pp.harmony_integrate"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
447 <param name="theta" value="2"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
448 <param name="lamb" value="1"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
449 <param name="block_size" value="0.1"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
450 </conditional> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
451 <section name="advanced_common"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
452 <param name="show_log" value="true"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
453 </section> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
454 <output name="hidden_output"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
455 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
456 <has_text_matching expression="external.pp.harmony_integrate"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
457 <has_text_matching expression="key='batch'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
458 <has_text_matching expression="basis='X_pca'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
459 <has_text_matching expression="adjusted_basis='X_pca_harmony'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
460 <has_text_matching expression="theta=2"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
461 <has_text_matching expression="lamb=1"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
462 <has_text_matching expression="block_size=0.1"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
463 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
464 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
465 <output name="anndata_out" ftype="h5ad"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
466 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
467 <has_h5_keys keys="obsm/X_pca_harmony"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
468 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
469 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
470 </test> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
471 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
472 <!-- test 7 --> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
473 <test expect_num_outputs="2"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
474 <param name="adata" value="pp.pca.krumsiek11.batch.h5ad"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
475 <conditional name="method"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
476 <param name="method" value="external.pp.scanorama_integrate"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
477 <param name="knn" value="2"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
478 <param name="sigma" value="10"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
479 <param name="batch_size" value="100"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
480 </conditional> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
481 <section name="advanced_common"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
482 <param name="show_log" value="true"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
483 </section> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
484 <output name="hidden_output"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
485 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
486 <has_text_matching expression="external.pp.scanorama_integrate"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
487 <has_text_matching expression="key='batch'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
488 <has_text_matching expression="basis='X_pca'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
489 <has_text_matching expression="adjusted_basis='X_scanorama'"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
490 <has_text_matching expression="knn=2"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
491 <has_text_matching expression="sigma=1"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
492 <has_text_matching expression="batch_size=100"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
493 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
494 </output> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
495 <output name="anndata_out" ftype="h5ad"> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
496 <assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
497 <has_h5_keys keys="obsm/X_scanorama"/> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
498 </assert_contents> |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
499 </output> |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
500 </test> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
501 </tests> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
502 <help><![CDATA[ |
9ca360dde8e3
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` |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
504 ================================================================= |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
505 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
506 Regress out unwanted sources of variation, using simple linear regression. This is |
0
9ca360dde8e3
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. |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
508 |
9ca360dde8e3
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 |
14
c65fce500915
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
12
diff
changeset
|
510 <https://scanpy.readthedocs.io/en/stable/api/scanpy.pp.regress_out.html>`__ |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
511 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
513 .. Correct batch effects by matching mutual nearest neighbors, using `external.pp.mnn_correct` |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
514 .. =========================================================================================== |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
515 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
516 .. This uses the implementation of mnnpy. Depending on do_concatenate, it returns AnnData objects in the |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
517 .. original order containing corrected expression values or a concatenated matrix or AnnData object. |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
518 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
519 .. Be reminded that it is not advised to use the corrected data matrices for differential expression testing. |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
520 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
521 .. More details on the `scanpy documentation |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
522 .. <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.mnn_correct.html>`__ |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
523 |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
524 |
1
a89ee42625ad
"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`) |
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
526 ======================================================== |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
527 |
1
a89ee42625ad
"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
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
529 |
9ca360dde8e3
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 |
14
c65fce500915
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
12
diff
changeset
|
531 <https://scanpy.readthedocs.io/en/stable/api/generated/scanpy.pp.combat.html>`__ |
1
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
532 |
a89ee42625ad
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
533 |
17
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
534 Correct batch effects with bbknn function (`external.pp.bbknn`) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
535 =============================================================== |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
536 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
538 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
539 More details on the `scanpy documentation |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
540 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.bbknn.html>`__ |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
541 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
542 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
543 Correct batch effects with harmony function (`external.pp.harmony_integrate`) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
544 ============================================================================= |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
545 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
546 Harmony is an algorithm for integrating single-cell data from multiple experiments. |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
548 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
549 More details on the `scanpy documentation |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
550 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.harmony_integrate.html>`__ |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
551 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
552 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
553 Correct batch effects with scanprama function (`external.pp.scanorama_integrate`) |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
554 ================================================================================= |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
555 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
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. |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
557 |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
558 More details on the `scanpy documentation |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
559 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.external.pp.scanorama_integrate.html>`__ |
b70219da4a96
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
560 |
0
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
561 ]]></help> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
562 <expand macro="citations"/> |
9ca360dde8e3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
563 </tool> |