annotate inspect.xml @ 22:27c054e8d949 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/scanpy commit a6bd86a67a159906ff55e8b2dedda71d019d3caf
author iuc
date Wed, 03 Dec 2025 10:03:00 +0000
parents 3b5ef3b00cdd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
27c054e8d949 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/scanpy commit a6bd86a67a159906ff55e8b2dedda71d019d3caf
iuc
parents: 21
diff changeset
1 <tool id="scanpy_inspect" name="Scanpy Inspect and manipulate" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
2 <macros>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
3 <import>macros.xml</import>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
4 <xml name="params_score_genes">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
5 <param argument="n_bins" type="integer" value="25" label="Number of expression level bins for sampling"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
6 <param argument="random_state" type="integer" value="0" label="Random seed for sampling"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
7 <expand macro="param_use_raw"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
8 </xml>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
9 <token name="@CMD_PARAMS_SCORE_GENES@"><![CDATA[
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
10 n_bins=$method.n_bins,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
11 random_state=$method.random_state,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
12 use_raw=$method.use_raw,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
13 copy=False
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
14 ]]>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
15 </token>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
16 <xml name="corr_method">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
17 <param argument="corr_method" type="select" label="P-value correction method">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
18 <option value="benjamini-hochberg" selected="true">Benjamini-Hochberg</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
19 <option value="bonferroni">Bonferroni</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
20 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
21 </xml>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
22 <xml name="fit_intercept">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
23 <param argument="fit_intercept" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Should a constant (a.k.a. bias or intercept) be added to the decision function?"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
24 </xml>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
25 <xml name="max_iter">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
26 <param argument="max_iter" type="integer" min="0" value="100" label="Maximum number of iterations taken for the solvers to converge"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
27 </xml>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
28 <xml name="multi_class">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
29 <param argument="multi_class" type="select" label="Multi class">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
30 <option value="auto" selected="true">auto: selects ‘ovr’ if the data is binary and otherwise selects ‘multinomial’</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
31 <option value="ovr">ovr: a binary problem is fit for each label</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
32 <option value="multinomial">multinomial: the multinomial loss fit across the entire probability distribution, even when the data is binary</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
33 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
34 </xml>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
35 <xml name="penalty">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
36 <param argument="penalty" type="select" label="Norm used in the penalization">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
37 <option value="l2" selected="true">l2</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
38 <option value="l1">l1</option>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
39 <yield/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
40 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
41 </xml>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
42 <xml name="random_state">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
43 <param argument="random_state" type="integer" value="" optional="true" label="The seed of the pseudo random number generator to use when shuffling the data"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
44 </xml>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
45 </macros>
11
6bd82ed14acd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents: 10
diff changeset
46 <expand macro="bio_tools"/>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
47 <expand macro="requirements">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
48 <requirement type="package" version="1.5.1">scikit-learn</requirement>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
49 </expand>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
50 <expand macro="version_command"/>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
51 <command detect_errors="exit_code"><![CDATA[
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
52 @CMD@
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
53 ]]></command>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
54 <configfiles>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
55 <configfile name="script_file"><![CDATA[
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
56 @CMD_IMPORTS@
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
57 @CMD_READ_INPUTS@
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
58
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
59 #if str($method.method) == 'pp.calculate_qc_metrics':
21
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
60 #if str($method.qc_vars) != '':
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
61 #set $qc_vars = [str(x.strip()) for x in str($method.qc_vars).split(',')]
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
62
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
63 # function to convert 'True' and 'False' strings to boolean values
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
64
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
65 def fix_var_keys(adata, var_keys):
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
66 for key in var_keys:
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
67 if key not in adata.var.columns:
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
68 raise ValueError(f"Column '{key}' not found in adata.var")
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
69
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
70 if adata.var[key].dtype == bool:
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
71 continue # Skip conversion if already boolean
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
72
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
73 unique_values = set(adata.var[key].astype(str).str.upper())
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
74 if not unique_values.issubset({'TRUE', 'FALSE'}):
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
75 raise ValueError(f"Column '{key}' contains values other than 'True' or 'False'. qc_vars must contain only boolean (True/False) columns.")
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
76
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
77 adata.var[key] = adata.var[key].astype(str).str.upper().map({'TRUE': True, 'FALSE': False}).astype(bool)
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
78 print(f"'{key}' has been converted to a boolean.")
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
79
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
80 return adata
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
81
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
82 adata = fix_var_keys(adata, $qc_vars)
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
83 #end if
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
84
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
85 sc.pp.calculate_qc_metrics(
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
86 adata=adata,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
87 expr_type='$method.expr_type',
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
88 var_type='$method.var_type',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
89 #if str($method.qc_vars) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
90 qc_vars=$qc_vars,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
91 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
92 #if str($method.percent_top) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
93 #set $percent_top = [int(x.strip()) for x in str($method.percent_top).split(',')]
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
94 percent_top=$percent_top,
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
95 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
96 #if str($method.layer) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
97 layer='$method.layer',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
98 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
99 use_raw=$method.use_raw,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
100 log1p=$method.log1p,
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
101 inplace=True)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
102
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
103 #else if str($method.method) == 'pp.neighbors':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
104 sc.pp.neighbors(
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
105 adata=adata,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
106 n_neighbors=$method.n_neighbors,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
107 #if str($method.n_pcs) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
108 n_pcs=$method.n_pcs,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
109 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
110 #if str($method.use_rep) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
111 use_rep='$method.use_rep',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
112 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
113 knn=$method.knn,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
114 method='$method.pp_neighbors_method',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
115 metric='$method.metric',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
116 random_state=$method.random_state,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
117 #if str($method.key_added) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
118 key_added='$method.key_added',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
119 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
120 copy=False)
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
121
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
122 #else if str($method.method) == 'tl.score_genes':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
123 sc.tl.score_genes(
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
124 adata=adata,
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
125 #set $gene_list = [str(x.strip()) for x in str($method.gene_list).split(',')]
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
126 gene_list=$gene_list,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
127 ctrl_size=$method.ctrl_size,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
128 #if str($method.gene_pool) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
129 #set $gene_pool = [str(x.strip()) for x in str($method.gene_pool).split(',')]
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
130 gene_pool=$gene_pool,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
131 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
132 score_name='$method.score_name',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
133 @CMD_PARAMS_SCORE_GENES@)
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
134
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
135 #else if str($method.method) == 'tl.score_genes_cell_cycle':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
136 #if str($method.s_genes.format) == 'file':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
137 with open('$method.s_genes.file', 'r') as s_genes_f:
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
138 s_genes = [str(x.strip()) for x in s_genes_f.readlines()]
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
139 print(s_genes)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
140 #end if
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
141
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
142 #if str($method.g2m_genes.format) == 'file':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
143 with open('$method.g2m_genes.file', 'r') as g2m_genes_f:
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
144 g2m_genes = [str(x.strip()) for x in g2m_genes_f.readlines()]
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
145 print(g2m_genes)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
146 #end if
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
147
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
148 sc.tl.score_genes_cell_cycle(
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
149 adata=adata,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
150 #if str($method.s_genes.format) == 'text':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
151 #set $s_genes = [str(x.strip()) for x in str($method.s_genes.text).split(',')]
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
152 s_genes=$s_genes,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
153 #else if str($method.s_genes.format) == 'file':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
154 s_genes=s_genes,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
155 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
156 #if str($method.g2m_genes.format) == 'text':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
157 #set $g2m_genes = [str(x.strip()) for x in str($method.g2m_genes.text).split(',')]
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
158 g2m_genes=$g2m_genes,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
159 #else if str($method.g2m_genes.format) == 'file':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
160 g2m_genes=g2m_genes,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
161 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
162 @CMD_PARAMS_SCORE_GENES@)
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
163
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
164 #else if str($method.method) == 'tl.rank_genes_groups':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
165 sc.tl.rank_genes_groups(
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
166 adata=adata,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
167 #if str($method.groupby) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
168 groupby='$method.groupby',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
169 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
170 use_raw=$method.use_raw,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
171 #if str($method.groups) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
172 #set $group=[x.strip() for x in str($method.groups).split(',')]
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
173 groups=$group,
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
174 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
175 #if str($method.layer) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
176 layer='$method.layer',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
177 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
178 #if str($method.ref.rest) == 'rest':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
179 reference='$method.ref.rest',
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
180 #else
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
181 reference='$method.ref.reference',
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
182 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
183 #if str($method.n_genes) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
184 n_genes=$method.n_genes,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
185 #end if
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
186 method='$method.tl_rank_genes_groups_method.method',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
187 #if str($method.tl_rank_genes_groups_method.method) != 'logreg':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
188 corr_method='$method.tl_rank_genes_groups_method.corr_method',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
189 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
190 #if str($method.tl_rank_genes_groups_method.method) == 'wilcoxon':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
191 tie_correct=$method.tl_rank_genes_groups_method.tie_correct,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
192 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
193 #if str($method.tl_rank_genes_groups_method.method) == 'logreg':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
194 solver='$method.tl_rank_genes_groups_method.solver.solver',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
195 #if str($method.tl_rank_genes_groups_method.solver.solver) == 'lbfgs':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
196 penalty='$method.tl_rank_genes_groups_method.solver.penalty',
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
197 fit_intercept=$method.tl_rank_genes_groups_method.solver.fit_intercept,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
198 max_iter=$method.tl_rank_genes_groups_method.solver.max_iter,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
199 multi_class='$method.tl_rank_genes_groups_method.solver.multi_class',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
200 #else if str($method.tl_rank_genes_groups_method.solver.solver) == 'newton-cg':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
201 penalty='$method.tl_rank_genes_groups_method.solver.penalty',
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
202 fit_intercept=$method.tl_rank_genes_groups_method.solver.fit_intercept,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
203 max_iter=$method.tl_rank_genes_groups_method.solver.max_iter,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
204 multi_class='$method.tl_rank_genes_groups_method.solver.multi_class',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
205 #else if str($method.tl_rank_genes_groups_method.solver.solver) == 'liblinear':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
206 #if str($method.tl_rank_genes_groups_method.solver.penalty.penalty) == 'l1':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
207 penalty='l1',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
208 #else:
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
209 penalty='l2',
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
210 dual=$method.tl_rank_genes_groups_method.solver.penalty.dual,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
211 #end if
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
212 fit_intercept=$method.tl_rank_genes_groups_method.solver.intercept_scaling.fit_intercept,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
213 #if str($method.tl_rank_genes_groups_method.solver.intercept_scaling.fit_intercept) == 'True':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
214 intercept_scaling=$method.tl_rank_genes_groups_method.solver.intercept_scaling.intercept_scaling,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
215 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
216 #if str($method.tl_rank_genes_groups_method.solver.random_state) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
217 random_state=$method.tl_rank_genes_groups_method.solver.random_state,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
218 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
219 #else if str($method.tl_rank_genes_groups_method.solver.solver) == 'sag':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
220 penalty='$method.tl_rank_genes_groups_method.solver.penalty.penalty',
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
221 fit_intercept=$method.tl_rank_genes_groups_method.solver.fit_intercept,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
222 #if str($method.tl_rank_genes_groups_method.solver.random_state) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
223 random_state=$method.tl_rank_genes_groups_method.solver.random_state,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
224 #end if
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
225 max_iter=$method.tl_rank_genes_groups_method.solver.max_iter,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
226 multi_class=$method.tl_rank_genes_groups_method.solver.multi_class,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
227 #else if str($method.tl_rank_genes_groups_method.solver.solver) == 'saga':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
228 #if str($method.tl_rank_genes_groups_method.solver.penalty.penalty) == 'l1':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
229 penalty='l1',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
230 #else if str($method.tl_rank_genes_groups_method.solver.penalty.penalty) == 'l2':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
231 penalty='l2',
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
232 #else if str($method.tl_rank_genes_groups_method.solver.penalty.penalty) == 'elasticnet':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
233 penalty='elasticnet',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
234 #else:
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
235 penalty='None',
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
236 #end if
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
237 fit_intercept=$method.tl_rank_genes_groups_method.solver.fit_intercept,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
238 multi_class=$method.tl_rank_genes_groups_method.solver.multi_class,
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
239 #end if
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
240 tol=$method.tl_rank_genes_groups_method.tol,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
241 C=$method.tl_rank_genes_groups_method.c,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
242 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
243 #if str($method.key_added) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
244 key_added='$method.key_added',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
245 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
246 copy=False)
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
247
20
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
248 #if str($method.get_df.get_df_select) == 'True':
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
249 cluster_DEG = sc.get.rank_genes_groups_df(adata,
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
250 group=None, # return all groups
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
251 #if str($method.get_df.key) != '':
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
252 key='$method.get_df.key',
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
253 #end if
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
254 #if str($method.get_df.pval_cutoff) != '':
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
255 pval_cutoff=$method.get_df.pval_cutoff,
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
256 #end if
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
257 #if str($method.get_df.log2fc_min) != '':
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
258 log2fc_min=$method.get_df.log2fc_min,
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
259 #end if
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
260 #if str($method.get_df.log2fc_max) != '':
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
261 log2fc_max=$method.get_df.log2fc_max,
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
262 #end if
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
263 @CMD_PARAM_GENE_SYMBOLS@
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
264 )
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
265
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
266 cluster_DEG.to_csv('DEG.tsv', sep="\t", index=False)
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
267 #end if
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
268
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
269 #else if str($method.method) == "tl.marker_gene_overlap":
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
270 reference_markers = {}
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
271 #for $i, $s in enumerate($method.reference_markers)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
272 #set $list=[x.strip() for x in str($s.values).split(',')]
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
273 reference_markers['$s.key'] = $list
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
274 #end for
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
275
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
276 # Temporary fix for the issue with "inplace=True" for Pandas dataframes.
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
277 # see here: https://github.com/scverse/scanpy/blob/b6193502e11b84fc1b4a011ee9cf08a19da22ebf/src/scanpy/tools/_marker_gene_overlap.py#L167
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
278 marker_overlap_result = sc.tl.marker_gene_overlap(
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
279 adata,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
280 reference_markers,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
281 #if str($method.key) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
282 key='$method.key',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
283 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
284 method='$method.overlap.method',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
285 #if str($method.overlap.method) == 'overlap_count' and str($method.overlap.normalize) != 'None':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
286 normalize='$method.overlap.normalize',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
287 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
288 #if str($method.top_n_markers) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
289 top_n_markers=$method.top_n_markers,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
290 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
291 #if str($method.adj_pval_threshold) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
292 adj_pval_threshold=$method.adj_pval_threshold,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
293 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
294 #if $method.key_added:
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
295 key_added='$method.key_added',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
296 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
297 inplace=False)
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
298
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
299 adata.uns['marker_gene_overlap'] = marker_overlap_result
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
300
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
301 #else if str($method.method) == "pp.log1p":
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
302 sc.pp.log1p(
8
9d33775ec67d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
303 adata,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
304 #if str($method.base) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
305 base=$method.base,
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
306 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
307 #if str($method.layer) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
308 layer='$method.layer',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
309 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
310 #if str($method.obsm) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
311 obsm='$method.obsm',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
312 #end if
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
313 copy=False)
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
314
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
315 #else if str($method.method) == "pp.scale":
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
316 sc.pp.scale(
8
9d33775ec67d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
317 adata,
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
318 zero_center=$method.zero_center,
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
319 #if str($method.max_value) != '':
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
320 max_value=$method.max_value,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
321 #end if
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
322 #if str($method.layer) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
323 layer='$method.layer',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
324 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
325 #if str($method.obsm) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
326 obsm='$method.obsm',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
327 #end if
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
328 #if str($method.mask_obs) != '':
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
329 mask_obs='$method.mask_obs',
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
330 #end if
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
331 copy=False)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
332
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
333 #else if str($method.method) == "pp.sqrt":
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
334
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
335 print("stats before sqrt:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean())
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
336
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
337 sc.pp.sqrt(
8
9d33775ec67d "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
338 adata,
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
339 copy=False)
20
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
340
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
341 print("stats after sqrt:", "min=", adata.X.min(), "max=", adata.X.max(), "mean=", adata.X.mean())
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
342 #end if
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
343
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
344 @CMD_ANNDATA_WRITE_OUTPUTS@
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
345 ]]>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
346 </configfile>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
347 </configfiles>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
348 <inputs>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
349 <expand macro="inputs_anndata"/>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
350 <conditional name="method">
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
351 <param argument="method" type="select" label="Method used for inspecting">
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
352 <option value="pp.calculate_qc_metrics">Calculate quality control metrics, using 'pp.calculate_qc_metrics'</option>
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
353 <option value="pp.neighbors">Compute a neighborhood graph of observations, using 'pp.neighbors'</option>
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
354 <option value="tl.score_genes">Score a set of genes, using 'tl.score_genes'</option>
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
355 <option value="tl.score_genes_cell_cycle">Score cell cycle genes, using 'tl.score_genes_cell_cycle'</option>
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
356 <option value="tl.rank_genes_groups">Rank genes for characterizing groups, using 'tl.rank_genes_groups'</option>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
357 <option value="tl.marker_gene_overlap">Calculate an overlap score between data-deriven marker genes and provided markers, using 'tl.marker_gene_overlap'</option>
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
358 <option value="pp.log1p">Logarithmize the data matrix, using 'pp.log1p'</option>
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
359 <option value="pp.scale">Scale data to unit variance and zero mean, using 'pp.scale'</option>
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
360 <option value="pp.sqrt">Square root the data matrix, using 'pp.sqrt'</option>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
361 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
362 <when value="pp.calculate_qc_metrics">
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
363 <param argument="expr_type" type="text" value="counts" label="Name of kind of values in X">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
364 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
365 </param>
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
366 <param argument="var_type" type="text" value="genes" label="The kind of thing the variables are">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
367 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
368 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
369 <param argument="qc_vars" type="text" optional="true" value="" label="Keys for boolean columns of '.var' which identify variables you could want to control for" help="Keys separated by a comma">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
370 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
371 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
372 <param argument="percent_top" type="text" value="" optional="true" label="Proportions of top genes to cover"
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
373 help=" Values (integers) are considered 1-indexed, '50' finds cumulative proportion to the 50th most expressed genes. Values separated by a comma. If empty don't calculate">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
374 <expand macro="sanitize_vectors"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
375 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
376 <expand macro="param_layer"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
377 <expand macro="param_use_raw"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
378 <param argument="log1p" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Compute log1p transformed annotations"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
379 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
380 <when value="pp.neighbors">
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
381 <param argument="n_neighbors" type="integer" min="0" value="15" label="The size of local neighborhood (in terms of number of neighboring data points) used for manifold approximation" help="Larger values result in more global views of the manifold, while smaller values result in more local data being preserved. In general values should be in the range 2 to 100. If 'knn' is 'True', number of nearest neighbors to be searched. If 'knn' is 'False', a Gaussian kernel width is set to the distance of the 'n_neighbors' neighbor."/>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
382 <param argument="n_pcs" type="integer" min="0" value="" optional="true" label="Number of PCs to use"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
383 <expand macro="param_use_rep"/>
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
384 <param argument="knn" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Use a hard threshold to restrict the number of neighbors to n_neighbors?" help="If true, it considers a knn graph. Otherwise, it uses a Gaussian Kernel to assign low weights to neighbors more distant than the 'n_neighbors' nearest neighbor."/>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
385 <param name="pp_neighbors_method" argument="method" type="select" label="Method for computing connectivities">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
386 <option value="umap" selected="true">umap (McInnes et al, 2018)</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
387 <option value="gauss">gauss: Gauss kernel following (Coifman et al 2005) with adaptive width (Haghverdi et al 2016)</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
388 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
389 <param argument="metric" type="select" label="Distance metric">
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
390 <expand macro="distance_metric_options"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
391 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
392 <param argument="random_state" type="integer" value="0" label="Numpy random seed"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
393 <param argument="key_added" type="text" value="" optional="true" label="Key to store neighbors, distances and connectivities" help="If specified, the neighbors data is added to .uns[key_added], distances are stored in .obsp[key_added+'_distances'] and connectivities in .obsp[key_added+'_connectivities']"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
394 </when>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
395 <when value="tl.score_genes">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
396 <param argument="gene_list" type="text" value="" optional="false" label="The list of gene names used for score calculation" help="Genes separated by a comma">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
397 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
398 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
399 <param argument="ctrl_size" type="integer" value="50" label="Number of reference genes to be sampled" help="If 'len(gene_list)' is not too low, you can set 'ctrl_size=len(gene_list)'."/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
400 <param argument="gene_pool" type="text" value="" optional="true" label="Genes for sampling the reference set" help="Default is all genes. Genes separated by a comma">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
401 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
402 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
403 <param argument="score_name" type="text" value="score" label="Name of the field to be added in '.obs'">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
404 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
405 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
406 <expand macro="params_score_genes"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
407 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
408 <when value="tl.score_genes_cell_cycle">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
409 <conditional name='s_genes'>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
410 <param name="format" type="select" label="Format for the list of genes associated with S phase">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
411 <option value="text" selected="true">Text</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
412 <option value="file">File</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
413 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
414 <when value="text">
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
415 <param name="text" type="text" value="" label="List of genes associated with S phase" help="Genes separated by a comma">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
416 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
417 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
418 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
419 <when value="file">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
420 <param name="file" type="data" format="txt" label="File with the list of genes associated with S phase" help="One gene per line"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
421 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
422 </conditional>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
423 <conditional name='g2m_genes'>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
424 <param name="format" type="select" label="Format for the list of genes associated with G2M phase">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
425 <option value="text" selected="true">Text</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
426 <option value="file">File</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
427 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
428 <when value="text">
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
429 <param name="text" type="text" value="" label="List of genes associated with G2M phase" help="Genes separated by a comma">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
430 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
431 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
432 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
433 <when value="file">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
434 <param name="file" type="data" format="txt" label="File with the list of genes associated with G2M phase" help="One gene per line"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
435 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
436 </conditional>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
437 <expand macro="params_score_genes"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
438 </when>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
439 <when value="tl.rank_genes_groups">
20
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
440 <conditional name="get_df">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
441 <param name="get_df_select" type="select" label="Get ranked genes as a Tabular file?">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
442 <option value="False" selected="true">False</option>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
443 <option value="True">True</option>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
444 </param>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
445 <when value="False"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
446 <when value="True">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
447 <param argument="key" type="text" value="" optional="true" label="Key differential expression groups were stored under"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
448 <param argument="pval_cutoff" type="float" min="0.0" value="" optional="true" label="Return only adjusted p-values below the cutoff."/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
449 <param argument="log2fc_min" type="float" value="" optional="true" label="Minimum logfc to return."/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
450 <param argument="log2fc_max" type="float" value="" optional="true" label="Maximum logfc to return."/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
451 <expand macro="param_gene_symbols" label="Column name in [.var] DataFrame that stores gene symbols."/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
452 </when>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
453 </conditional>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
454 <param argument="groupby" type="text" value="" label="The key of the observations grouping to consider">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
455 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
456 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
457 <expand macro="param_use_raw"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
458 <param argument="groups" type="text" value="" label="Subset of groups to which comparison shall be restricted" help="e.g. ['g1', 'g2', 'g3']. If not passed, a ranking will be generated for all groups.">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
459 <expand macro="sanitize_query"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
460 </param>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
461 <param argument="layer" type="text" value="" label="Key from adata.layers whose value will be used to perform tests on">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
462 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
463 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
464 <conditional name="ref">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
465 <param name="rest" type="select" label="Comparison">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
466 <option value="rest" selected="true">Compare each group to the union of the rest of the group</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
467 <option value="group_id">Compare with respect to a specific group</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
468 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
469 <when value="rest"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
470 <when value="group_id">
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
471 <param argument="reference" type="text" value="" label="Group identifier with respect to which compare">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
472 <expand macro="sanitize_query"/>
7
6c145a6868cc "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
473 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
474 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
475 </conditional>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
476 <param argument="n_genes" type="integer" min="0" value="" optional="true" label="The number of genes that appear in the returned tables" help="Defaults to all genes"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
477 <conditional name="tl_rank_genes_groups_method">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
478 <param argument="method" type="select" label="Method">
12
3081ff5c84a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6fc3a3aa54d7ece1fd8bfffe62ad7e2b620539e0
iuc
parents: 11
diff changeset
479 <option value="t-test" selected="true">t-test</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
480 <option value="wilcoxon">Wilcoxon-Rank-Sum</option>
12
3081ff5c84a3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6fc3a3aa54d7ece1fd8bfffe62ad7e2b620539e0
iuc
parents: 11
diff changeset
481 <option value="t-test_overestim_var">t-test with overestimate of variance of each group</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
482 <option value="logreg">Logistic regression</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
483 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
484 <when value="t-test">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
485 <expand macro="corr_method"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
486 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
487 <when value="wilcoxon">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
488 <expand macro="corr_method"/>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
489 <param argument="tie_correct" type="boolean" truevalue="True" falsevalue="False" checked="false" label="Use tie correction for 'wilcoxon' scores"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
490 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
491 <when value="t-test_overestim_var">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
492 <expand macro="corr_method"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
493 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
494 <when value="logreg">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
495 <conditional name="solver">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
496 <param argument="solver" type="select" label="Algorithm to use in the optimization problem" help="For small datasets, ‘liblinear’ is a good choice, whereas ‘sag’ and ‘saga’ are faster for large ones. For multiclass problems, only ‘newton-cg’, ‘sag’, ‘saga’ and ‘lbfgs’ handle multinomial loss; ‘liblinear’ is limited to one-versus-rest schemes. ‘newton-cg’, ‘lbfgs’ and ‘sag’ only handle L2 penalty, whereas ‘liblinear’ and ‘saga’ handle L1 penalty.">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
497 <option value="lbfgs" selected="true">lbfgs</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
498 <option value="newton-cg">newton-cg</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
499 <option value="liblinear">liblinear</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
500 <option value="sag">sag</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
501 <option value="saga">saga</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
502 </param>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
503 <when value="lbfgs">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
504 <param name="penalty" type="boolean" truevalue="l2" falsevalue="None" checked="true" label="use l2 penalty?"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
505 <expand macro="fit_intercept"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
506 <expand macro="max_iter"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
507 <expand macro="multi_class"/>
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
508 </when>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
509 <when value="newton-cg">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
510 <param name="penalty" type="boolean" truevalue="l2" falsevalue="None" checked="true" label="use l2 penalty?"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
511 <expand macro="fit_intercept"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
512 <expand macro="max_iter"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
513 <expand macro="multi_class"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
514 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
515 <when value="liblinear">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
516 <conditional name="penalty">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
517 <expand macro="penalty"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
518 <when value="l1"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
519 <when value="l2">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
520 <param argument="dual" type="boolean" truevalue="True" falsevalue="False" checked="false"
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
521 label="Dual (not primal) formulation?" help="Prefer primal when n_samples > n_features"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
522 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
523 </conditional>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
524 <conditional name="intercept_scaling">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
525 <param argument="fit_intercept" type="select" label="Should a constant (a.k.a. bias or intercept) be added to the decision function?">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
526 <option value="True" selected="true">Yes</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
527 <option value="False">No</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
528 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
529 <when value="True">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
530 <param argument="intercept_scaling" type="float" value="1.0" label="Intercept scaling" help="x becomes [x, self.intercept_scaling], i.e. a 'synthetic' feature with constant value equal to intercept_scaling is appended to the instance vector. The intercept becomes intercept_scaling * synthetic_feature_weight."/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
531 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
532 <when value="False"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
533 </conditional>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
534 <expand macro="random_state"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
535 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
536 <when value="sag">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
537 <param name="penalty" type="boolean" truevalue="l2" falsevalue="None" checked="true" label="use l2 penalty?"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
538 <expand macro="fit_intercept"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
539 <expand macro="random_state"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
540 <expand macro="max_iter"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
541 <expand macro="multi_class"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
542 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
543 <when value="saga">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
544 <conditional name="penalty">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
545 <expand macro="penalty">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
546 <option value="elasticnet">elasticnet</option>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
547 <option value="None">None</option>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
548 </expand>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
549 <when value="l1"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
550 <when value="l2"/>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
551 <when value="elasticnet"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
552 <when value="None"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
553 </conditional>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
554 <expand macro="fit_intercept"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
555 <expand macro="multi_class"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
556 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
557 </conditional>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
558 <param argument="tol" type="float" value="1e-4" label="Tolerance for stopping criteria"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
559 <param argument="c" type="float" value="1.0" label="Inverse of regularization strength" help="It must be a positive float. Like in support vector machines, smaller values specify stronger regularization."/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
560 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
561 </conditional>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
562 <param argument="key_added" type="text" value="" optional="true" label="The key in adata.uns information is saved to"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
563 </when>
11
6bd82ed14acd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents: 10
diff changeset
564 <!-- With inplace=True, NotImplementedError: Writing Pandas dataframes to h5ad is currently under development. Please use `inplace=False`. -->
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
565 <!-- Issue is fixed in the script -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
566 <when value="tl.marker_gene_overlap">
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
567 <repeat name="reference_markers" title="Marker genes">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
568 <param name="key" type="text" value="" label="Cell identity name"/>
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
569 <param name="values" type="text" value="" label="List of genes" help="Comma-separated names from 'var'"/>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
570 </repeat>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
571 <param argument="key" type="text" value="rank_genes_groups" label="Key in adata.uns where the rank_genes_groups output is stored"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
572 <conditional name="overlap">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
573 <param argument="method" type="select" label="Method to calculate marker gene overlap">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
574 <option value="overlap_count" selected="true">overlap_count: Intersection of the gene set</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
575 <option value="overlap_coef">overlap_coef: Overlap coefficient</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
576 <option value="jaccard">jaccard: Jaccard index</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
577 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
578 <when value="overlap_count">
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
579 <param argument="normalize" type="select" label="Normalization option for the marker gene overlap output">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
580 <option value="None" selected="true">None</option>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
581 <option value="reference">reference: Normalization of the data by the total number of marker genes given in the reference annotation per group</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
582 <option value="data">data: Normalization of the data by the total number of marker genes used for each cluster</option>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
583 </param>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
584 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
585 <when value="overlap_coef"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
586 <when value="jaccard"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
587 </conditional>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
588 <param argument="top_n_markers" type="integer" optional="true" value="" label="Number of top data-derived marker genes to use" help="By default all calculated marker genes are used. If adj_pval_threshold is set along with top_n_markers, then adj_pval_threshold is ignored."/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
589 <param argument="adj_pval_threshold" type="float" optional="true" value="" label="Significance threshold on the adjusted p-values to select marker genes" help=" This can only be used when adjusted p-values are calculated by 'tl.rank_genes_groups'. If adj_pval_threshold is set along with top_n_markers, then adj_pval_threshold is ignored."/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
590 <param argument="key_added" type="text" optional="true" value="" label="Key that will contain the marker overlap scores in 'uns'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
591 </when>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
592 <when value="pp.log1p">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
593 <param argument="base" type="integer" value="" optional="true" label="Base of the logarithm." help="Natural logarithm is used by default."/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
594 <param argument="layer" type="text" value="" optional="true" label="Entry of layers to transform">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
595 <expand macro="sanitize_query"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
596 </param>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
597 <param argument="obsm" type="text" value="" optional="true" label="Entry of obsm to transform">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
598 <expand macro="sanitize_query"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
599 </param>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
600 </when>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
601 <when value="pp.scale">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
602 <param argument="zero_center" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Zero center?" help="If not, it omits zero-centering variables, which allows to handle sparse input efficiently."/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
603 <param argument="max_value" type="float" value="" optional="true" label="Maximum value" help="Clip (truncate) to this value after scaling. If not set, it does not clip."/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
604 <param argument="layer" type="text" value="" label="Which element of layers to scale">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
605 <expand macro="sanitize_query"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
606 </param>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
607 <param argument="obsm" type="text" value="" label="Which element of obsm to scale">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
608 <expand macro="sanitize_query"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
609 </param>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
610 <param argument="mask_obs" type="text" value="" label="Restrict both the derivation of scaling parameters and the scaling itself to a certain set of observations.">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
611 <expand macro="sanitize_query"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
612 </param>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
613 </when>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
614 <when value="pp.sqrt"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
615 </conditional>
6
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
616 <expand macro="inputs_common_advanced"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
617 </inputs>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
618 <outputs>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
619 <expand macro="anndata_outputs"/>
20
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
620 <data name="ranked_gene" format="tabular" from_work_dir="DEG.tsv" label="${tool.name} (${method.method}) on ${on_string}: Ranked genes">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
621 <filter> method['method'] == 'tl.rank_genes_groups' and method['get_df']['get_df_select'] == 'True'</filter>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
622 </data>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
623 </outputs>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
624 <tests>
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
625 <!-- test 1 -->
11
6bd82ed14acd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents: 10
diff changeset
626 <test expect_num_outputs="2">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
627 <param name="adata" value="sparce_csr_matrix.h5ad"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
628 <conditional name="method">
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
629 <param name="method" value="pp.calculate_qc_metrics"/>
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
630 <param name="qc_vars" value="mito,negative"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
631 </conditional>
6
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
632 <section name="advanced_common">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
633 <param name="show_log" value="true"/>
6
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
634 </section>
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
635 <output name="hidden_output">
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
636 <assert_contents>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
637 <has_text_matching expression="sc.pp.calculate_qc_metrics"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
638 <has_text_matching expression="expr_type='counts'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
639 <has_text_matching expression="var_type='genes'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
640 <has_text_matching expression="qc_vars=\['mito', 'negative'\]"/>
6
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
641 </assert_contents>
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
642 </output>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
643 <output name="anndata_out" ftype="h5ad">
6
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
644 <assert_contents>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
645 <has_h5_keys keys="obs/n_genes_by_counts,obs/log1p_n_genes_by_counts,obs/total_counts,obs/log1p_total_counts,obs/pct_counts_in_top_50_genes,obs/pct_counts_in_top_100_genes,obs/pct_counts_in_top_200_genes,obs/pct_counts_in_top_500_genes,obs/total_counts_mito,obs/log1p_total_counts_mito,obs/pct_counts_mito,obs/total_counts_negative,obs/log1p_total_counts_negative,obs/pct_counts_negative"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
646 <has_h5_keys keys="var/n_cells_by_counts,var/mean_counts,var/log1p_mean_counts,var/pct_dropout_by_counts,var/total_counts,var/log1p_total_counts"/>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
647 </assert_contents>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
648 </output>
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
649 </test>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
650
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
651 <!-- test 2 -->
11
6bd82ed14acd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents: 10
diff changeset
652 <test expect_num_outputs="2">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
653 <param name="adata" value="sparce_csr_matrix.h5ad"/>
15
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
654 <conditional name="method">
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
655 <param name="method" value="pp.calculate_qc_metrics"/>
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
656 <param name="qc_vars" value="mito,negative"/>
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
657 <param name="percent_top" value="50,100,200,300"/>
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
658 </conditional>
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
659 <section name="advanced_common">
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
660 <param name="show_log" value="true" />
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
661 </section>
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
662 <output name="hidden_output">
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
663 <assert_contents>
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
664 <has_text_matching expression="sc.pp.calculate_qc_metrics" />
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
665 <has_text_matching expression="expr_type='counts'" />
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
666 <has_text_matching expression="var_type='genes'" />
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
667 <has_text_matching expression="qc_vars=\['mito', 'negative'\]" />
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
668 <has_text_matching expression="percent_top=\[50, 100, 200, 300\]" />
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
669 </assert_contents>
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
670 </output>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
671 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
672 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
673 <has_h5_keys keys="obs/n_genes_by_counts,obs/log1p_n_genes_by_counts,obs/total_counts,obs/log1p_total_counts,obs/pct_counts_in_top_50_genes,obs/pct_counts_in_top_100_genes,obs/pct_counts_in_top_200_genes,obs/pct_counts_in_top_300_genes,obs/total_counts_mito,obs/log1p_total_counts_mito,obs/pct_counts_mito,obs/total_counts_negative,obs/log1p_total_counts_negative,obs/pct_counts_negative"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
674 <has_h5_keys keys="var/mito,var/negative,var/n_cells_by_counts,var/mean_counts,var/log1p_mean_counts,var/pct_dropout_by_counts,var/total_counts,var/log1p_total_counts"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
675 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
676 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
677 </test>
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
678
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
679 <!-- test 3 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
680 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
681 <param name="adata" value="pp.recipe_weinreb17.paul15_subsample.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
682 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
683 <param name="method" value="pp.neighbors"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
684 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
685 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
686 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
687 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
688 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
689 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
690 <has_text_matching expression="sc.pp.neighbors"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
691 <has_text_matching expression="n_neighbors=15"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
692 <has_text_matching expression="knn=True"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
693 <has_text_matching expression="random_state=0"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
694 <has_text_matching expression="method='umap'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
695 <has_text_matching expression="metric='euclidean'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
696 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
697 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
698 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
699 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
700 <has_h5_keys keys="uns/neighbors"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
701 <has_h5_keys keys="obsp/connectivities,obsp/distances"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
702 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
703 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
704 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
705
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
706 <!-- test 4 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
707 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
708 <param name="adata" value="pp.recipe_weinreb17.paul15_subsample.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
709 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
710 <param name="method" value="pp.neighbors"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
711 <param name="pp_neighbors_method" value="gauss"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
712 <param name="metric" value="braycurtis"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
713 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
714 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
715 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
716 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
717 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
718 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
719 <has_text_matching expression="sc.pp.neighbors"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
720 <has_text_matching expression="n_neighbors=15"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
721 <has_text_matching expression="knn=True"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
722 <has_text_matching expression="random_state=0"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
723 <has_text_matching expression="method='gauss'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
724 <has_text_matching expression="metric='braycurtis'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
725 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
726 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
727 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
728 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
729 <has_h5_keys keys="obsp/connectivities,obsp/distances"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
730 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
731 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
732 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
733
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
734 <!-- test 5 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
735 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
736 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
737 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
738 <param name="method" value="tl.score_genes"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
739 <param name="gene_list" value="Gata2, Fog1"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
740 <param name="ctrl_size" value="2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
741 <param name="n_bins" value="2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
742 <param name="random_state" value="2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
743 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
744 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
745 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
746 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
747 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
748 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
749 <has_text_matching expression="sc.tl.score_genes"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
750 <has_text_matching expression="gene_list=\['Gata2', 'Fog1'\]"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
751 <has_text_matching expression="ctrl_size=2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
752 <has_text_matching expression="score_name='score'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
753 <has_text_matching expression="n_bins=2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
754 <has_text_matching expression="random_state=2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
755 <has_text_matching expression="use_raw=False"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
756 <has_text_matching expression="copy=False"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
757 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
758 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
759 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
760 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
761 <has_h5_keys keys="obs/score"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
762 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
763 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
764 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
765
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
766 <!-- test 6 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
767 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
768 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
769 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
770 <param name="method" value="tl.score_genes_cell_cycle"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
771 <conditional name='s_genes'>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
772 <param name="format" value="text"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
773 <param name="text" value="Gata2, Fog1, EgrNab"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
774 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
775 <conditional name='g2m_genes'>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
776 <param name="format" value="text"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
777 <param name="text" value="Gata2, Fog1, EgrNab"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
778 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
779 <param name="n_bins" value="2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
780 <param name="random_state" value="1"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
781 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
782 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
783 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
784 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
785 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
786 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
787 <has_text_matching expression="sc.tl.score_genes_cell_cycle"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
788 <has_text_matching expression="s_genes=\['Gata2', 'Fog1', 'EgrNab'\]"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
789 <has_text_matching expression="g2m_genes=\['Gata2', 'Fog1', 'EgrNab'\]"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
790 <has_text_matching expression="n_bins=2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
791 <has_text_matching expression="random_state=1"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
792 <has_text_matching expression="use_raw=False"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
793 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
794 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
795 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
796 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
797 <has_h5_keys keys="obs/S_score,obs/G2M_score,obs/phase"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
798 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
799 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
800 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
801
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
802 <!-- test 7 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
803 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
804 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
805 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
806 <param name="method" value="tl.rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
807 <param name="groupby" value="cell_type"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
808 <param name="n_genes" value="100"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
809 <conditional name="tl_rank_genes_groups_method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
810 <param name="method" value="t-test_overestim_var"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
811 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
812 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
813 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
814 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
815 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
816 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
817 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
818 <has_text_matching expression="sc.tl.rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
819 <has_text_matching expression="groupby='cell_type'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
820 <has_text_matching expression="use_raw=False"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
821 <has_text_matching expression="reference='rest'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
822 <has_text_matching expression="n_genes=100"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
823 <has_text_matching expression="method='t-test_overestim_var'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
824 <has_text_matching expression="corr_method='benjamini-hochberg'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
825 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
826 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
827 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
828 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
829 <has_h5_keys keys="uns/rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
830 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
831 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
832 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
833
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
834 <!-- test 8 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
835 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
836 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
837 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
838 <param name="method" value="tl.rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
839 <param name="groupby" value="cell_type"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
840 <param name="n_genes" value="100"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
841 <conditional name="tl_rank_genes_groups_method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
842 <param name="method" value="logreg"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
843 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
844 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
845 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
846 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
847 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
848 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
849 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
850 <has_text_matching expression="sc.tl.rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
851 <has_text_matching expression="groupby='cell_type'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
852 <has_text_matching expression="use_raw=False"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
853 <has_text_matching expression="reference='rest'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
854 <has_text_matching expression="n_genes=100"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
855 <has_text_matching expression="method='logreg'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
856 <has_text_matching expression="solver='lbfgs'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
857 <has_text_matching expression="penalty='l2'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
858 <has_text_matching expression="fit_intercept=True"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
859 <has_text_matching expression="max_iter=100"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
860 <has_text_matching expression="multi_class='auto'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
861 <has_text_matching expression="tol=0.0001"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
862 <has_text_matching expression="C=1.0"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
863 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
864 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
865 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
866 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
867 <has_h5_keys keys="uns/rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
868 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
869 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
870 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
871
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
872 <!-- test 9 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
873 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
874 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
875 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
876 <param name="method" value="tl.rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
877 <param name="groupby" value="cell_type"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
878 <param name="n_genes" value="100"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
879 <conditional name="tl_rank_genes_groups_method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
880 <param name="method" value="logreg"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
881 <conditional name="solver">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
882 <param name="solver" value="liblinear"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
883 <conditional name="penalty">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
884 <param name="penalty" value="l2"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
885 </conditional>
21
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
886 <param name="random_state" value="1"/>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
887 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
888 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
889 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
890 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
891 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
892 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
893 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
894 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
895 <has_text_matching expression="sc.tl.rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
896 <has_text_matching expression="groupby='cell_type'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
897 <has_text_matching expression="use_raw=False"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
898 <has_text_matching expression="reference='rest'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
899 <has_text_matching expression="n_genes=100"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
900 <has_text_matching expression="method='logreg'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
901 <has_text_matching expression="solver='liblinear'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
902 <has_text_matching expression="penalty='l2'"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
903 <has_text_matching expression="dual=False"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
904 <has_text_matching expression="fit_intercept=True"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
905 <has_text_matching expression="intercept_scaling=1.0"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
906 <has_text_matching expression="tol=0.0001"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
907 <has_text_matching expression="C=1.0"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
908 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
909 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
910 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
911 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
912 <has_h5_keys keys="uns/rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
913 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
914 </output>
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
915 </test>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
916
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
917 <!-- test 10 -->
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
918 <test expect_num_outputs="2">
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
919 <param name="adata" value="krumsiek11.h5ad"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
920 <conditional name="method">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
921 <param name="method" value="tl.rank_genes_groups"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
922 <param name="groupby" value="cell_type"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
923 <param name="groups" value="Ery"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
924 <conditional name="ref">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
925 <param name="rest" value="group_id"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
926 <param name="reference" value="Mk"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
927 </conditional>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
928 <param name="n_genes" value="100"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
929 <conditional name="tl_rank_genes_groups_method">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
930 <param name="method" value="logreg"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
931 <conditional name="solver">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
932 <param name="solver" value="liblinear"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
933 <conditional name="penalty">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
934 <param name="penalty" value="l2"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
935 </conditional>
21
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
936 <param name="random_state" value="1"/>
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
937 </conditional>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
938 </conditional>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
939 </conditional>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
940 <section name="advanced_common">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
941 <param name="show_log" value="true"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
942 </section>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
943 <output name="hidden_output">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
944 <assert_contents>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
945 <has_text_matching expression="sc.tl.rank_genes_groups"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
946 <has_text_matching expression="groupby='cell_type'"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
947 <has_text_matching expression="use_raw=False"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
948 <has_text_matching expression="n_genes=100"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
949 <has_text_matching expression="method='logreg'"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
950 <has_text_matching expression="solver='liblinear'"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
951 <has_text_matching expression="penalty='l2'"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
952 <has_text_matching expression="dual=False"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
953 <has_text_matching expression="fit_intercept=True"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
954 <has_text_matching expression="intercept_scaling=1.0"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
955 <has_text_matching expression="tol=0.0001"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
956 <has_text_matching expression="C=1.0"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
957 <has_text_matching expression="groups=\['Ery'\]"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
958 <has_text_matching expression="reference='Mk'"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
959 </assert_contents>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
960 </output>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
961 <output name="anndata_out" ftype="h5ad">
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
962 <assert_contents>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
963 <has_h5_keys keys="uns/rank_genes_groups"/>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
964 </assert_contents>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
965 </output>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
966 </test>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
967
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
968 <!-- test 11 -->
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
969 <test expect_num_outputs="2">
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
970 <param name="adata" value="tl.rank_genes_groups.newton-cg.pbmc68k_reduced.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
971 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
972 <param name="method" value="tl.marker_gene_overlap"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
973 <repeat name="reference_markers">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
974 <param name="key" value="CD4 T cells"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
975 <param name="values" value="IL7R"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
976 </repeat>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
977 <repeat name="reference_markers">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
978 <param name="key" value="CD14+ Monocytes"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
979 <param name="values" value="CD14,LYZ"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
980 </repeat>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
981 <repeat name="reference_markers">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
982 <param name="key" value="B cells"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
983 <param name="values" value="MS4A1"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
984 </repeat>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
985 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
986 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
987 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
988 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
989 <assert_stdout>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
990 <has_text_matching expression="marker_gene_overlap"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
991 </assert_stdout>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
992 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
993 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
994 <has_text_matching expression="sc.tl.marker_gene_overlap"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
995 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
996 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
997 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
998 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
999 <has_h5_keys keys="uns/rank_genes_groups"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1000 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1001 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1002 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1003
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
1004 <!-- test 12 -->
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1005 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1006 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1007 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1008 <param name="method" value="pp.log1p"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1009 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1010 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1011 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1012 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1013 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1014 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1015 <has_text_matching expression="sc.pp.log1p"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1016 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1017 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1018 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1019 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1020 <has_h5_keys keys="uns/log1p"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1021 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1022 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1023 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1024
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
1025 <!-- test 13 -->
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1026 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1027 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1028 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1029 <param name="method" value="pp.scale"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1030 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1031 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1032 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1033 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1034 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1035 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1036 <has_text_matching expression="sc.pp.scale"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1037 <has_text_matching expression="zero_center=True"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1038 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1039 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1040 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1041 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1042 <has_h5_keys keys="var/mean,var/std"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1043 </assert_contents>
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
1044 </output>
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
1045 </test>
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1046
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
1047 <!-- test 14 -->
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1048 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1049 <param name="adata" value="krumsiek11.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1050 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1051 <param name="method" value="pp.scale"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1052 <param name="max_value" value="10"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1053 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1054 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1055 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1056 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1057 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1058 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1059 <has_text_matching expression="sc.pp.scale"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1060 <has_text_matching expression="zero_center=True"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1061 <has_text_matching expression="max_value=10.0"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1062 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1063 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1064 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1065 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1066 <has_h5_keys keys="var/mean,var/std"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1067 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1068 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1069 </test>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1070
18
d1cd8c147809 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c3d9d45e910ef2fad8a85e5f08c8122059a45634
iuc
parents: 17
diff changeset
1071 <!-- test 15 -->
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1072 <test expect_num_outputs="2">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1073 <param name="adata" value="random-randint.h5ad"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1074 <conditional name="method">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1075 <param name="method" value="pp.sqrt"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1076 </conditional>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1077 <section name="advanced_common">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1078 <param name="show_log" value="true"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1079 </section>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1080 <output name="hidden_output">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1081 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1082 <has_text_matching expression="sc.pp.sqrt"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1083 <has_text_matching expression="stats before sqrt: min= 0.0 max= 999.0 mean= 499.83777"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1084 <has_text_matching expression="stats after sqrt: min= 0.0 max= 31.606962 mean= 21.079018"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1085 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1086 </output>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1087 <output name="anndata_out" ftype="h5ad">
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1088 <assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1089 <has_h5_keys keys="obs/index"/>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1090 </assert_contents>
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1091 </output>
15
ca086f24422f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit c21958f44b81d740191999fb6015d5ae69538ee0
iuc
parents: 14
diff changeset
1092 </test>
20
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1093
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1094 <!-- test 16 -->
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1095 <test expect_num_outputs="3">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1096 <param name="adata" value="krumsiek11.h5ad"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1097 <conditional name="method">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1098 <param name="method" value="tl.rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1099 <conditional name="get_df">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1100 <param name="get_df_select" value="True"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1101 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1102 <param name="groupby" value="cell_type"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1103 <param name="n_genes" value="100"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1104 <conditional name="tl_rank_genes_groups_method">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1105 <param name="method" value="t-test_overestim_var"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1106 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1107 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1108 <section name="advanced_common">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1109 <param name="show_log" value="true"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1110 </section>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1111 <output name="hidden_output">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1112 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1113 <has_text_matching expression="sc.tl.rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1114 <has_text_matching expression="groupby='cell_type'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1115 <has_text_matching expression="use_raw=False"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1116 <has_text_matching expression="reference='rest'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1117 <has_text_matching expression="n_genes=100"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1118 <has_text_matching expression="method='t-test_overestim_var'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1119 <has_text_matching expression="corr_method='benjamini-hochberg'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1120 <has_text_matching expression="sc.get.rank_genes_groups_df"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1121 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1122 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1123 <output name="anndata_out" ftype="h5ad">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1124 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1125 <has_h5_keys keys="uns/rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1126 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1127 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1128 <output name="ranked_gene" ftype="tabular">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1129 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1130 <has_line_matching expression="group\tnames\tscores\tlogfoldchanges\tpvals\tpvals_adj"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1131 <has_line_matching expression="Ery\tEKLF\t39.086777\t4.8413053\t1.7995717323073084e-66\t1.979528905538039e-65"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1132 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1133 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1134 </test>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1135
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1136 <!-- test 17 -->
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1137 <test expect_num_outputs="3">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1138 <param name="adata" value="krumsiek11.h5ad"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1139 <conditional name="method">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1140 <param name="method" value="tl.rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1141 <conditional name="get_df">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1142 <param name="get_df_select" value="True"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1143 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1144 <param name="groupby" value="cell_type"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1145 <param name="groups" value="Ery"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1146 <conditional name="ref">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1147 <param name="rest" value="group_id"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1148 <param name="reference" value="Mk"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1149 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1150 <param name="n_genes" value="100"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1151 <conditional name="tl_rank_genes_groups_method">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1152 <param name="method" value="logreg"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1153 <conditional name="solver">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1154 <param name="solver" value="liblinear"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1155 <conditional name="penalty">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1156 <param name="penalty" value="l2"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1157 </conditional>
21
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1158 <param name="random_state" value="1"/>
20
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1159 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1160 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1161 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1162 <section name="advanced_common">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1163 <param name="show_log" value="true"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1164 </section>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1165 <output name="hidden_output">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1166 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1167 <has_text_matching expression="sc.tl.rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1168 <has_text_matching expression="groupby='cell_type'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1169 <has_text_matching expression="use_raw=False"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1170 <has_text_matching expression="n_genes=100"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1171 <has_text_matching expression="method='logreg'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1172 <has_text_matching expression="solver='liblinear'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1173 <has_text_matching expression="penalty='l2'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1174 <has_text_matching expression="dual=False"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1175 <has_text_matching expression="fit_intercept=True"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1176 <has_text_matching expression="intercept_scaling=1.0"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1177 <has_text_matching expression="tol=0.0001"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1178 <has_text_matching expression="C=1.0"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1179 <has_text_matching expression="groups=\['Ery'\]"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1180 <has_text_matching expression="reference='Mk'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1181 <has_text_matching expression="sc.get.rank_genes_groups_df"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1182 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1183 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1184 <output name="anndata_out" ftype="h5ad">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1185 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1186 <has_h5_keys keys="uns/rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1187 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1188 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1189 <output name="ranked_gene" ftype="tabular">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1190 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1191 <has_text_matching expression="names\tscores"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1192 <has_text_matching expression="Fli1\t3.5328505"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1193 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1194 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1195 </test>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1196
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1197 <!-- test 18 -->
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1198 <test expect_num_outputs="3">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1199 <param name="adata" value="krumsiek11.h5ad"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1200 <conditional name="method">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1201 <param name="method" value="tl.rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1202 <conditional name="get_df">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1203 <param name="get_df_select" value="True"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1204 <param name="pval_cutoff" value="0.05"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1205 <param name="log2fc_min" value="1"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1206 <param name="log2fc_max" value="3"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1207 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1208 <param name="groupby" value="cell_type"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1209 <param name="n_genes" value="100"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1210 <conditional name="tl_rank_genes_groups_method">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1211 <param name="method" value="t-test_overestim_var"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1212 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1213 </conditional>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1214 <section name="advanced_common">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1215 <param name="show_log" value="true"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1216 </section>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1217 <output name="hidden_output">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1218 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1219 <has_text_matching expression="sc.tl.rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1220 <has_text_matching expression="groupby='cell_type'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1221 <has_text_matching expression="use_raw=False"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1222 <has_text_matching expression="reference='rest'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1223 <has_text_matching expression="n_genes=100"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1224 <has_text_matching expression="method='t-test_overestim_var'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1225 <has_text_matching expression="corr_method='benjamini-hochberg'"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1226 <has_text_matching expression="sc.get.rank_genes_groups_df"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1227 <has_text_matching expression="pval_cutoff=0.05"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1228 <has_text_matching expression="log2fc_min=1"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1229 <has_text_matching expression="log2fc_max=3"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1230 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1231 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1232 <output name="anndata_out" ftype="h5ad">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1233 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1234 <has_h5_keys keys="uns/rank_genes_groups"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1235 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1236 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1237 <output name="ranked_gene" ftype="tabular">
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1238 <assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1239 <has_line_matching expression="group\tnames\tscores\tlogfoldchanges\tpvals\tpvals_adj"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1240 <has_line_matching expression="Ery\tFog1\t21.071571\t2.8023682\t5.701001345880348e-35\t3.135550740234191e-34"/>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1241 </assert_contents>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1242 </output>
d86cb2ce311b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
iuc
parents: 18
diff changeset
1243 </test>
21
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1244 <!-- test 19: check str var conversion to boolean -->
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1245 <test expect_num_outputs="2">
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1246 <param name="adata" value="sparce_csr_matrix_var_str.h5ad"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1247 <conditional name="method">
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1248 <param name="method" value="pp.calculate_qc_metrics"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1249 <param name="qc_vars" value="mito,negative"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1250 </conditional>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1251 <section name="advanced_common">
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1252 <param name="show_log" value="true"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1253 </section>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1254 <output name="hidden_output">
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1255 <assert_contents>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1256 <has_text_matching expression="sc.pp.calculate_qc_metrics"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1257 <has_text_matching expression="expr_type='counts'"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1258 <has_text_matching expression="var_type='genes'"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1259 <has_text_matching expression="qc_vars=\['mito', 'negative'\]"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1260 <has_text_matching expression="\'mito\' has been converted to a boolean."/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1261 <has_text_matching expression="\'negative\' has been converted to a boolean."/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1262 </assert_contents>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1263 </output>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1264 <output name="anndata_out" ftype="h5ad">
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1265 <assert_contents>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1266 <has_h5_keys keys="obs/n_genes_by_counts,obs/log1p_n_genes_by_counts,obs/total_counts,obs/log1p_total_counts,obs/pct_counts_in_top_50_genes,obs/pct_counts_in_top_100_genes,obs/pct_counts_in_top_200_genes,obs/pct_counts_in_top_500_genes,obs/total_counts_mito,obs/log1p_total_counts_mito,obs/pct_counts_mito,obs/total_counts_negative,obs/log1p_total_counts_negative,obs/pct_counts_negative"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1267 <has_h5_keys keys="var/n_cells_by_counts,var/mean_counts,var/log1p_mean_counts,var/pct_dropout_by_counts,var/total_counts,var/log1p_total_counts"/>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1268 </assert_contents>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1269 </output>
3b5ef3b00cdd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 76bfefa9116713dc1078ae407ab6dd69ed14a244
iuc
parents: 20
diff changeset
1270 </test>
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1271 </tests>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1272 <help><![CDATA[
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1273 Calculate quality control metrics., using `pp.calculate_qc_metrics`
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1274 ===================================================================
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1275
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1276 Calculates a number of qc metrics for an AnnData object, largely based on calculateQCMetrics from scater.
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1277 Currently is most efficient on a sparse CSR or dense matrix.
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1278
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
1279 It updates the observation level metrics with
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1280
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1281 - total_{var_type}_by_{expr_type} (e.g. "total_genes_by_counts", number of genes with positive counts in a cell)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1282 - total_{expr_type} (e.g. "total_counts", total number of counts for a cell)
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
1283 - pct_{expr_type}_in_top_{n}_{var_type} - for n in percent_top (e.g. "pct_counts_in_top_50_genes", cumulative percentage of counts for 50 most expressed genes in a cell)
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
1284 - total_{expr_type}_{qc_var} - for qc_var in qc_vars (e.g. "total_counts_mito", total number of counts for variabes in qc_vars)
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
1285 - pct_{expr_type}_{qc_var} - for qc_var in qc_vars (e.g. "pct_counts_mito", proportion of total counts for a cell which are mitochondrial)
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1286
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1287 And also the variable level metrics:
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1288
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1289 - total_{expr_type} (e.g. "total_counts", sum of counts for a gene)
3
cc0deb593fc8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
1290 - mean_{expr_type} (e.g. "mean counts", mean expression over all cells)
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1291 - n_cells_by_{expr_type} (e.g. "n_cells_by_counts", number of cells this expression is measured in)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1292 - pct_dropout_by_{expr_type} (e.g. "pct_dropout_by_counts", percentage of cells this feature does not appear in)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1293
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1294 More details on the `scanpy documentation
14
f54f0f0598ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents: 12
diff changeset
1295 <https://scanpy.readthedocs.io/en/stable/api/scanpy.pp.calculate_qc_metrics.html>`__
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1296
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1297 Compute a neighborhood graph of observations, using `pp.neighbors`
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1298 ==================================================================
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1299
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1300 The neighbor search efficiency of this heavily relies on UMAP (McInnes et al, 2018),
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1301 which also provides a method for estimating connectivities of data points -
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1302 the connectivity of the manifold (`method=='umap'`). If `method=='diffmap'`,
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1303 connectivities are computed according to Coifman et al (2005), in the adaption of
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1304 Haghverdi et al (2016).
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1305
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1306 The returned AnnData object contains:
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1307
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1308 - Weighted adjacency matrix of the neighborhood graph of data points (connectivities). Weights should be interpreted as connectivities.
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1309 - Distances for each pair of neighbors (distances)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1310
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1311 This data are stored in the unstructured annotation (uns) and can be accessed using the inspect tool for AnnData objects
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1312
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1313 More details on the `scanpy documentation
14
f54f0f0598ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents: 12
diff changeset
1314 <https://scanpy.readthedocs.io/en/stable/api/generated/scanpy.pp.neighbors.html>`__
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1315
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1316 Score a set of genes, using `tl.score_genes`
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1317 ============================================
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1318
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1319 The score is the average expression of a set of genes subtracted with the
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1320 average expression of a reference set of genes. The reference set is
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1321 randomly sampled from the `gene_pool` for each binned expression value.
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1322
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1323 This reproduces the approach in Seurat (Satija et al, 2015) and has been implemented
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1324 for Scanpy by Davide Cittaro.
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1325
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1326 More details on the `scanpy documentation
14
f54f0f0598ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents: 12
diff changeset
1327 <https://scanpy.readthedocs.io/en/stable/api/scanpy.tl.score_genes.html>`__
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1328
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1329 Score cell cycle genes, using `tl.score_genes_cell_cycle`
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1330 =========================================================
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1331
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1332 Given two lists of genes associated to S phase and G2M phase, calculates
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1333 scores and assigns a cell cycle phase (G1, S or G2M). See
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1334 `score_genes` for more explanation.
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1335
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1336 More details on the `scanpy documentation
14
f54f0f0598ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents: 12
diff changeset
1337 <https://scanpy.readthedocs.io/en/stable/api/scanpy.tl.score_genes_cell_cycle.html>`__
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1338
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1339 Rank genes for characterizing groups, using `tl.rank_genes_groups`
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1340 ==================================================================
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1341
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1342 The returned AnnData object contains:
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1343
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1344 - Gene names, ordered according to scores
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1345 - Z-score underlying the computation of a p-value for each gene for each group, prdered according to scores
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1346 - Log2 fold change for each gene for each group, ordered according to scores. It is only provided if method is ‘t-test’ like. This is an approximation calculated from mean-log values.
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1347 - P-values
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1348 - Ajusted p-values
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1349
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1350 This data are stored in the unstructured annotation (uns) and can be accessed using the inspect tool for AnnData objects
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1351
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1352 More details on the `scanpy documentation
14
f54f0f0598ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents: 12
diff changeset
1353 <https://scanpy.readthedocs.io/en/stable/api/scanpy.tl.rank_genes_groups.html>`__
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1354
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1355
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1356 Calculate an overlap score between data-deriven marker genes and provided markers (`tl.marker_gene_overlap`)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1357 ============================================================================================================
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1358
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1359 Marker gene overlap scores can be quoted as overlap counts, overlap coefficients, or jaccard indices. The method returns a pandas dataframe which can be used to annotate clusters based on marker gene overlaps.
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1360
17
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1361 More details on the `scanpy documentation
18262103fa61 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents: 15
diff changeset
1362 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.tl.marker_gene_overlap.html>`__
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1363
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1364 Logarithmize the data matrix (`pp.log1p`)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1365 =========================================
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1366
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1367 More details on the `scanpy documentation
14
f54f0f0598ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents: 12
diff changeset
1368 <https://scanpy.readthedocs.io/en/stable/api/scanpy.pp.log1p.html>`__
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1369
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1370 Scale data to unit variance and zero mean (`pp.scale`)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1371 ======================================================
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1372
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1373 More details on the `scanpy documentation
14
f54f0f0598ad planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents: 12
diff changeset
1374 <https://scanpy.readthedocs.io/en/stable/api/scanpy.pp.scale.html>`__
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1375
1
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1376 Computes the square root the data matrix (`pp.sqrt`)
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1377 ====================================================
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1378
a755eaa1cc32 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
1379 `X = sqrt(X)`
0
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1380 ]]></help>
5d2e17328afe planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
1381 <expand macro="citations"/>
6
5e9171dc8244 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
1382 </tool>