annotate normalize.xml @ 2:8e0f141c8c66 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit e6675eff6b4d49386c2a9e4dde0011ba33aedbcc"
author iuc
date Thu, 05 Dec 2019 07:12:40 -0500
parents a9f14e2d1655
children d7ea9b5e6df1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
8e0f141c8c66 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit e6675eff6b4d49386c2a9e4dde0011ba33aedbcc"
iuc
parents: 1
diff changeset
1 <tool id="scanpy_normalize" name="Normalize" version="@galaxy_version@" profile="@profile@">
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
2 <description>with scanpy</description>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
3 <macros>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
5 </macros>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
7 <expand macro="version_command"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
9 @CMD@
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
10 ]]></command>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
11 <configfiles>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
12 <configfile name="script_file"><![CDATA[
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
13 @CMD_imports@
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
14 @CMD_read_inputs@
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
15
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
16 #if $method.method == "pp.normalize_total"
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
17 sc.pp.normalize_total(
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
18 adata,
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
19 #if str($method.target_sum)!= ''
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
20 target_sum=$method.target_sum,
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
21 #end if
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
22 exclude_highly_expressed=$method.exclude_highly_expressed.exclude_highly_expressed,
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
23 #if $method.exclude_highly_expressed.exclude_highly_expressed == "True"
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
24 max_fraction=$method.exclude_highly_expressed.max_fraction,
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
25 #end if
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
26 key_added='$method.key_added',
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
27 #if str($method.layers) != 'all'
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
28 layers[str(x.strip()) for x in str($method.layers).split(',')],
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
29 #else
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
30 layers='$method.layers',
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
31 #end if
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
32 #if str($method.layer_norm) != "None"
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
33 layer_norm='$method.layer_norm',
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
34 #end if
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
35 inplace=True)
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
36
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
37 #else if $method.method == "pp.recipe_zheng17"
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
38 sc.pp.recipe_zheng17(
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
39 adata=adata,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
40 n_top_genes=$method.n_top_genes,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
41 log=$method.log,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
42 plot=False,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
43 copy=False)
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
44
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
45 #else if $method.method == "pp.recipe_weinreb17"
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
46 sc.pp.recipe_weinreb17(
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
47 adata=adata,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
48 log=$method.log,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
49 mean_threshold=$method.mean_threshold,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
50 cv_threshold=$method.cv_threshold,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
51 n_pcs=$method.n_pcs,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
52 svd_solver='$method.svd_solver',
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
53 random_state=$method.random_state,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
54 copy=False)
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
55
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
56 #else if $method.method == "pp.recipe_seurat"
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
57 sc.pp.recipe_seurat(
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
58 adata=adata,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
59 log=$method.log,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
60 plot=False,
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
61 copy=False)
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
62
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
63 #end if
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
64
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
65 @CMD_anndata_write_outputs@
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
66
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
67 ]]></configfile>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
68 </configfiles>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
69 <inputs>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
70 <expand macro="inputs_anndata"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
71 <conditional name="method">
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
72 <param argument="method" type="select" label="Method used for normalization">
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
73 <option value="pp.normalize_total">Normalize counts per cell, using `pp.normalize_total`</option>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
74 <option value="pp.recipe_zheng17">Normalization and filtering as of Zheng et al. (2017), using `pp.recipe_zheng17`</option>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
75 <option value="pp.recipe_weinreb17">Normalization and filtering as of Weinreb et al (2017), using `pp.recipe_weinreb17`</option>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
76 <option value="pp.recipe_seurat">Normalization and filtering as of Seurat et al (2015), using `pp.recipe_seurat`</option>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
77 </param>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
78 <when value="pp.normalize_total">
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
79 <param argument="target_sum" type="float" value="" optional="true" label="Target sum" help="If not provided, after normalization, each observation (cell) has a total count equal to the median of the total counts (cells) before normalization."/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
80 <conditional name="exclude_highly_expressed">
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
81 <param argument="exclude_highly_expressed" type="select" label="Exclude (very) highly expressed genes for the computation of the normalization factor (size factor) for each cell" help=" A gene is considered highly expressed, if it has more than max_fraction of the total counts in at least one cell. The not-excluded genes will sum up to target_sum">
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
82 <option value="True">Yes</option>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
83 <option value="False" selected="true">No</option>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
84 </param>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
85 <when value="True">
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
86 <param argument="max_fraction" type="float" value="0.05" label="Target sum" help="If not provided, after normalization, each observation (cell) has a total count equal to the median of the total counts (cells) before normalization."/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
87 </when>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
88 <when value="False"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
89 </conditional>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
90 <param argument="key_added" type="text" value="n_counts" label="Name of the field in `adata.obs` where the normalization factor is stored" help=""/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
91 <param argument="layers" type="text" value="all" label="List of layers to normalize" help="'All' will normalize all layers. The list should be comma-separated."/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
92 <param argument="layer_norm" type="select" label="How to normalize layers?">
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
93 <option value="None">None: after normalization, for each layer in layers each cell has a total count equal to the median of the median of the total counts (cells) before normalization of the layer.</option>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
94 <option value="after">After: for each layer in layers each cell has a total count equal to target_sum.</option>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
95 <option value="X">X: for each layer in layers each cell has a total count equal to the median of total counts for observations (cells) of adata.X before normalization.</option>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
96 </param>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
97 </when>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
98 <when value="pp.recipe_zheng17">
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
99 <param argument="n_top_genes" type="integer" min="0" value="1000" label="Number of genes to keep" help=""/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
100 <expand macro="param_log"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
101 </when>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
102 <when value="pp.recipe_weinreb17">
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
103 <expand macro="param_log"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
104 <param argument="mean_threshold" type="float" value="0.01" label="Mean threshold" help=""/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
105 <param argument="cv_threshold" type="float" value="2" label="CV threshold" help=""/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
106 <param argument="n_pcs" type="integer" min="0" value="50" label="Number of principal component" help=""/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
107 <expand macro="svd_solver"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
108 <expand macro="pca_random_state"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
109 </when>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
110 <when value="pp.recipe_seurat">
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
111 <expand macro="param_log"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
112 </when>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
113 </conditional>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
114 </inputs>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
115 <outputs>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
116 <expand macro="anndata_outputs"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
117 </outputs>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
118 <tests>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
119 <test>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
120 <!-- test 1 -->
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
121 <param name="adata" value="krumsiek11.h5ad" />
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
122 <conditional name="method">
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
123 <param name="method" value="pp.normalize_total"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
124 <conditional name="exclude_highly_expressed">
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
125 <param name="exclude_highly_expressed" value="False"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
126 </conditional>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
127 <param name="key_added" value="n_counts"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
128 <param name="layers" value="all"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
129 <param name="layer_norm" value="None"/>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
130 </conditional>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
131 <assert_stdout>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
132 <has_text_matching expression="sc.pp.normalize_total"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
133 <has_text_matching expression="exclude_highly_expressed=False"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
134 <has_text_matching expression="key_added='n_counts'"/>
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
135 <has_text_matching expression="layers='all'"/>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
136 </assert_stdout>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
137 <output name="anndata_out" file="pp.normalize_total.krumsiek11.h5ad" ftype="h5ad" compare="sim_size"/>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
138 </test>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
139 <test>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
140 <!-- test 2 -->
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
141 <param name="adata" value="random-randint.h5ad"/>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
142 <conditional name="method">
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
143 <param name="method" value="pp.recipe_zheng17"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
144 <param name="n_top_genes" value="1000"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
145 <param name="log" value="True"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
146 </conditional>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
147 <assert_stdout>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
148 <has_text_matching expression="sc.pp.recipe_zheng17"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
149 <has_text_matching expression="n_top_genes=1000"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
150 <has_text_matching expression="log=True"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
151 </assert_stdout>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
152 <output name="anndata_out" file="pp.recipe_zheng17.random-randint.h5ad" ftype="h5ad" compare="sim_size"/>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
153 </test>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
154 <test>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
155 <!-- test 3 -->
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
156 <param name="adata" value="paul15_subsample.h5ad" />
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
157 <conditional name="method">
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
158 <param name="method" value="pp.recipe_weinreb17"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
159 <param name="log" value="True"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
160 <param name="mean_threshold" value="0.01"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
161 <param name="cv_threshold" value="2.0"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
162 <param name="n_pcs" value="50"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
163 <param name="svd_solver" value="randomized"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
164 <param name="random_state" value="0"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
165 </conditional>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
166 <assert_stdout>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
167 <has_text_matching expression="sc.pp.recipe_weinreb17"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
168 <has_text_matching expression="log=True"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
169 <has_text_matching expression="mean_threshold=0.01"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
170 <has_text_matching expression="cv_threshold=2.0"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
171 <has_text_matching expression="n_pcs=50"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
172 <has_text_matching expression="svd_solver='randomized'"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
173 <has_text_matching expression="random_state=0"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
174 </assert_stdout>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
175 <output name="anndata_out" file="pp.recipe_weinreb17.paul15_subsample.updated.h5ad" ftype="h5ad" compare="sim_size"/>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
176 </test>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
177 <test>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
178 <!-- test 4 -->
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
179 <param name="adata" value="pp.recipe_zheng17.random-randint.h5ad" />
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
180 <conditional name="method">
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
181 <param name="method" value="pp.recipe_seurat"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
182 <param name="log" value="True"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
183 </conditional>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
184 <assert_stdout>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
185 <has_text_matching expression="sc.pp.recipe_seurat"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
186 <has_text_matching expression="log=True"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
187 </assert_stdout>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
188 <output name="anndata_out" file="pp.recipe_seurat.recipe_zheng17.h5ad" ftype="h5ad" compare="sim_size"/>
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
189 </test>
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
190
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
191 </tests>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
192 <help><![CDATA[
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
193 Normalize total counts per cell (`pp.normalize_per_cell`)
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
194 =========================================================
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
195
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
196 Normalize each cell by total counts over all genes, so that every cell has
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
197 the same total count after normalization.
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
198
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
199 Similar functions are used, for example, by Seurat, Cell Ranger or SPRING.
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
200
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
201 More details on the `scanpy documentation
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
202 <https://icb-scanpy.readthedocs-hosted.com/en/stable/api/scanpy.pp.normalize_per_cell.html>`__
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
203
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
204
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
205 Normalization and filtering as of Zheng et al. (2017), the Cell Ranger R Kit of 10x Genomics (`pp.recipe_zheng17`)
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
206 ==================================================================================================================
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
207
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
208 Expects non-logarithmized data. If using logarithmized data, pass `log=False`.
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
209
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
210 The recipe runs the following steps:
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
211
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
212 - only consider genes with more than 1 count
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
213 - normalize with total UMI count per cell
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
214 - select highly-variable genes
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
215 - subset the genes
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
216 - renormalize after filtering
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
217 - log transform (if needed)
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
218 - scale to unit variance and shift to zero mean
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
219
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
220 More details on the `scanpy documentation
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
221 <https://icb-scanpy.readthedocs-hosted.com/en/stable/api/scanpy.pp.recipe_zheng17.html>`__
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
222
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
223
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
224 Normalization and filtering as of Weinreb et al (2017) (`pp.recipe_weinreb17`)
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
225 ==============================================================================
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
226
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
227 Expects non-logarithmized data. If using logarithmized data, pass `log=False`.
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
228
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
229 More details on the `scanpy documentation
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
230 <https://icb-scanpy.readthedocs-hosted.com/en/stable/api/scanpy.pp.recipe_weinreb17.html>`__
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
231
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
232
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
233 Normalization and filtering as of Seurat et al (2015) (`pp.recipe_seurat`)
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
234 ==========================================================================
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
235
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
236 This uses a particular preprocessing.
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
237
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
238 Expects non-logarithmized data. If using logarithmized data, pass `log=False`.
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
239
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
240 More details on the `scanpy documentation
1
a9f14e2d1655 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
241 <https://icb-scanpy.readthedocs-hosted.com/en/stable/api/scanpy.pp.recipe_seurat.html>`__
0
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
242
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
243 ]]></help>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
244 <expand macro="citations"/>
ed64c90a9b93 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
245 </tool>