annotate cluster_reduce_dimension.xml @ 10:aaa5da8e73a9 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 806c15e8f3ae7acea300ebeb83222162c42eca14"
author iuc
date Wed, 22 Sep 2021 21:09:55 +0000
parents 35bc2eb568ed
children edec35114f72
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
1 <tool id="scanpy_cluster_reduce_dimension" name="Cluster, infer trajectories and embed" version="@galaxy_version@" profile="@profile@">
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
2 <description>with scanpy</description>
10
aaa5da8e73a9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 806c15e8f3ae7acea300ebeb83222162c42eca14"
iuc
parents: 8
diff changeset
3 <expand macro="bio_tools"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
4 <macros>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
5 <import>macros.xml</import>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
6 <xml name="pca_inputs">
8
35bc2eb568ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
7 <param argument="n_comps" type="integer" min="0" value="50" label="Number of principal components to compute" help="If the value is larger than the number of observations the number of observations is used instead"/>
7
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
8 <param argument="dtype" type="text" value="float32" label="Numpy data type string to which to convert the result" help="">
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
9 <expand macro="sanitize_query" />
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
10 </param>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
11 <conditional name="pca">
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
12 <param argument="chunked" type="select" label="Type of PCA?">
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
13 <option value="True">Incremental PCA on segments (incremental PCA automatically zero centers and ignores settings of 'random_seed' and 'svd_solver')</option>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
14 <option value="False" selected="true">Full PCA</option>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
15 </param>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
16 <when value="True">
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
17 <param argument="chunk_size" type="integer" min="0" value="" label="chunk_size" help="Number of observations to include in each chunk"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
18 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
19 <when value="False">
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
20 <param argument="zero_center" type="boolean" truevalue="True" falsevalue="False" checked="true"
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
21 label="Compute standard PCA from covariance matrix?"
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
22 help="If not, it omits zero-centering variables (uses *TruncatedSVD* from scikit-learn), which allows to handle sparse input efficiently."/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
23 <expand macro="svd_solver"/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
24 <param argument="random_state" type="integer" value="0" label="Initial states for the optimization" help=""/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
25 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
26 </conditional>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
27 <param argument="use_highly_variable" type="boolean" truevalue="True" falsevalue="False" checked="false" label="Use highly variable genes only?" help="They should be use if they have been determined beforehand."/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
28 </xml>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
29 <xml name="param_random_state">
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
30 <param argument="random_state" type="integer" value="0" label="Random state" help="Change the initialization of the optimization."/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
31 </xml>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
32 <xml name="param_use_weights">
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
33 <param argument="use_weights" type="boolean" truevalue="True" falsevalue="False" checked="false" label="Use weights from knn graph?"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
34 </xml>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
35 <token name="@CMD_pca_help@"><![CDATA[
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
36 The PCA is computed using the implementation of *scikit-learn*.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
37
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
38 The returned AnnData object contains:
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
39
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
40 - PCA coordinates in the multi-dimensional observation annotation (obsm)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
41 - Principal components containing the loadings in the multi-dimensional variable annotation (varm)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
42 - The variance decomposition in the unstructured annotation (uns)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
43 - Ratio of explained variance for PCA (variance)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
44 - Explained variance, equivalent to the eigenvalues of the covariance matrix
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
45
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
46 This data is accessible using the inspect tool for AnnData
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
47 ]]></token>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
48 <token name="@CMD_pca_params@"><![CDATA[
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
49 data=adata,
8
35bc2eb568ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
50 n_comps=min($method.n_comps, adata.n_vars),
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
51 dtype='$method.dtype',
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
52 copy=False,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
53 chunked=$method.pca.chunked,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
54 #if $method.pca.chunked == 'True'
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
55 chunk_size=$method.pca.chunk_size,
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
56 #else
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
57 zero_center=$method.pca.zero_center,
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
58 svd_solver='$method.pca.svd_solver',
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
59 random_state=$method.pca.random_state,
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
60 #end if
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
61 use_highly_variable=$method.use_highly_variable
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
62 ]]></token>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
63 </macros>
2
dc2de14881ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit e6675eff6b4d49386c2a9e4dde0011ba33aedbcc"
iuc
parents: 1
diff changeset
64 <expand macro="requirements">
8
35bc2eb568ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
65 <requirement type="package" version="0.7.0">louvain</requirement>
2
dc2de14881ba "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit e6675eff6b4d49386c2a9e4dde0011ba33aedbcc"
iuc
parents: 1
diff changeset
66 </expand>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
67 <expand macro="version_command"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
68 <command detect_errors="exit_code"><![CDATA[
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
69 @CMD@
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
70 ]]></command>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
71 <configfiles>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
72 <configfile name="script_file"><![CDATA[
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
73 @CMD_imports@
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
74 @CMD_read_inputs@
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
75
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
76 #if $method.method == 'tl.louvain'
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
77 sc.tl.louvain(
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
78 adata=adata,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
79 flavor = '$method.flavor.flavor',
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
80 #if $method.flavor.flavor == 'vtraag'
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
81 resolution=$method.flavor.resolution,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
82 #end if
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
83 random_state=$method.random_state,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
84 key_added='$method.key_added',
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
85 directed=$method.directed,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
86 use_weights=$method.use_weights,
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
87 copy=False)
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
88
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
89 #else if $method.method == 'tl.leiden'
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
90 sc.tl.leiden(
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
91 adata=adata,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
92 resolution=$method.resolution,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
93 random_state=$method.random_state,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
94 key_added='$method.key_added',
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
95 use_weights=$method.use_weights,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
96 n_iterations=$method.n_iterations,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
97 copy=False)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
98
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
99 #else if $method.method == 'pp.pca'
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
100 sc.pp.pca(@CMD_pca_params@)
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
101
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
102 #else if $method.method == 'tl.pca'
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
103 sc.tl.pca(@CMD_pca_params@)
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
104
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
105 #else if $method.method == 'tl.diffmap'
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
106 sc.tl.diffmap(
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
107 adata=adata,
8
35bc2eb568ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
108 n_comps=min($method.n_comps, adata.n_vars),
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
109 copy =False)
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
110
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
111 #else if $method.method == 'tl.tsne'
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
112 sc.tl.tsne(
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
113 adata=adata,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
114 #if $method.n_pcs
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
115 n_pcs=$method.n_pcs,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
116 #end if
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
117 perplexity=$method.perplexity,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
118 early_exaggeration=$method.early_exaggeration,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
119 learning_rate=$method.learning_rate,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
120 random_state=$method.random_state,
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
121 use_fast_tsne=$method.use_fast_tsne,
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
122 copy=False)
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
123
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
124 #else if $method.method == 'tl.umap'
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
125 sc.tl.umap(
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
126 adata=adata,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
127 min_dist=$method.min_dist,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
128 spread=$method.spread,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
129 n_components=$method.n_components,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
130 #if $method.maxiter
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
131 maxiter=$method.maxiter,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
132 #end if
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
133 alpha=$method.alpha,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
134 gamma=$method.gamma,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
135 negative_sample_rate=$method.negative_sample_rate,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
136 init_pos='$method.init_pos',
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
137 random_state=$method.random_state,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
138 copy=False)
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
139
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
140 #else if $method.method == 'tl.draw_graph'
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
141
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
142 #if str($method.adjacency) != 'None'
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
143 from scipy import io
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
144 adjacency = io.mmread('$method.adjacency')
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
145 #end if
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
146
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
147 sc.tl.draw_graph(
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
148 adata=adata,
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
149 layout='$method.layout',
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
150 #if str($method.root) != ''
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
151 #set $root=([int(x.strip()) for x in str($method.root).split(',')])
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
152 root=$root,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
153 #end if
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
154 random_state=$method.random_state,
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
155 #if str($method.init_pos) != ''
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
156 init_pos='$method.init_pos',
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
157 #end if
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
158 #if str($method.adjacency) != 'None'
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
159 adjacency=adjacency,
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
160 #end if
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
161 #if str($method.key_ext) != ''
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
162 key_ext='$method.key_ext',
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
163 #end if
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
164 copy=False)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
165
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
166 #else if $method.method == "tl.paga"
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
167 sc.tl.paga(
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
168 adata=adata,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
169 groups='$method.groups',
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
170 use_rna_velocity=$method.use_rna_velocity,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
171 model='$method.model',
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
172 copy=False)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
173
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
174 #else if $method.method == "tl.dpt"
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
175 sc.tl.dpt(
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
176 adata=adata,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
177 n_dcs=$method.n_dcs,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
178 n_branchings=$method.n_branchings,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
179 min_group_size=$method.min_group_size,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
180 allow_kendall_tau_shift=$method.allow_kendall_tau_shift,
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
181 copy=False)
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
182 #end if
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
183
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
184 @CMD_anndata_write_outputs@
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
185 ]]></configfile>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
186 </configfiles>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
187 <inputs>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
188 <expand macro="inputs_anndata"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
189 <conditional name="method">
4
766be978777a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit ef863b8664b89ae02bb232a1277798dd0503e785"
iuc
parents: 3
diff changeset
190 <param argument="method" type="select" label="Method used">
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
191 <option value="tl.louvain">Cluster cells into subgroups, using 'tl.louvain'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
192 <option value="tl.leiden">Cluster cells into subgroups, using 'tl.leiden'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
193 <option value="pp.pca">Computes PCA (principal component analysis) coordinates, loadings and variance decomposition, using 'pp.pca'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
194 <option value="tl.pca">Computes PCA (principal component analysis) coordinates, loadings and variance decomposition, using 'tl.pca'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
195 <option value="tl.diffmap">Diffusion Maps, using 'tl.diffmap'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
196 <option value="tl.tsne">t-distributed stochastic neighborhood embedding (tSNE), using 'tl.tsne'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
197 <option value="tl.umap">Embed the neighborhood graph using UMAP, using 'tl.umap'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
198 <option value="tl.draw_graph">Force-directed graph drawing, using 'tl.draw_graph'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
199 <option value="tl.dpt">Infer progression of cells through geodesic distance along the graph, using 'tl.dpt'</option>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
200 <option value="tl.paga">Generate cellular maps of differentiation manifolds with complex topologies, using 'tl.paga'</option>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
201 </param>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
202 <when value="tl.louvain">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
203 <conditional name="flavor">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
204 <param argument="flavor" type="select" label="Flavor for the clustering" help="">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
205 <option value="vtraag">vtraag (much more powerful)</option>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
206 <option value="igraph">igraph</option>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
207 </param>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
208 <when value="vtraag">
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
209 <param argument="resolution" type="float" value="1.0"
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
210 label="Resolution"
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
211 help="Higher resolution means finding more and smaller clusters, which defaults to 1.0. See “Time as a resolution parameter” in Lambiotte et al, 2009"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
212 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
213 <when value="igraph"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
214 </conditional>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
215 <expand macro="param_random_state"/>
7
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
216 <param argument="key_added" type="text" value="louvain" optional="true" label="Key under which to add the cluster labels" help="">
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
217 <expand macro="sanitize_query" />
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
218 </param>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
219 <param argument="directed" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Interpret the adjacency matrix as directed graph?"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
220 <expand macro="param_use_weights"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
221 </when>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
222 <when value="tl.leiden">
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
223 <param argument="resolution" type="float" value="1" label="Coarseness of the clusterin" help="Higher values lead to more clusters"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
224 <expand macro="param_random_state"/>
7
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
225 <param argument="key_added" type="text" value="leiden" label="Key under which to add the cluster labels" help="">
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
226 <expand macro="sanitize_query" />
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
227 </param>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
228 <expand macro="param_use_weights"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
229 <param argument="n_iterations" type="integer" value="-1" label="How many iterations of the Leiden clustering algorithm to perform." help="Positive values above 2 define the total number of iterations to perform, -1 has the algorithm run until it reaches its optimal clustering."/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
230 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
231 <when value="pp.pca">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
232 <expand macro="pca_inputs"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
233 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
234 <when value="tl.pca">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
235 <expand macro="pca_inputs"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
236 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
237 <when value="tl.diffmap">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
238 <param argument="n_comps" type="integer" min="0" value="15" optional="true" label="Number of dimensions of the representation" help=""/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
239 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
240 <when value="tl.tsne">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
241 <param name="n_pcs" type="integer" min="0" value="" optional="true" label="Number of PCs to use" help=""/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
242 <param name="perplexity" type="float" value="30" label="Perplexity" help="The perplexity is related to the number of nearest neighbors that is used in other manifold learning algorithms. Larger datasets usually require a larger perplexity. Consider selecting a value between 5 and 50. The choice is not extremely critical since t-SNE is quite insensitive to this parameter."/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
243 <param name="early_exaggeration" type="float" value="12.0" label="Early exaggeration" help="Controls how tight natural clusters in the original space are in the embedded space and how much space will be between them. For larger values, the space between natural clusters will be larger in the embedded space. Again, the choice of this parameter is not very critical. If the cost function increases during initial optimization, the early exaggeration factor or the learning rate might be too high."/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
244 <param name="learning_rate" type="float" value="1000" label="Learning rate" help="The learning rate can be a critical parameter. It should be between 100 and 1000. If the cost function increases during initial optimization, the early exaggeration factor or the learning rate might be too high. If the cost function gets stuck in a bad local minimum increasing the learning rate helps sometimes."/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
245 <param name="random_state" type="integer" value="0" label="Random state" help="Change this to use different intial states for the optimization"/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
246 <param argument="use_fast_tsne" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Use the MulticoreTSNE package if possible?"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
247 </when>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
248 <when value="tl.umap">
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
249 <param argument="min_dist" type="float" value="0.5" label="Effective minimum distance between embedded points" help="Smaller values will result in a more clustered/clumped embedding where nearby points on the manifold are drawn closer together, while larger values will result on a more even dispersal of points. The value should be set relative to the 'spread' value, which determines the scale at which embedded points will be spread out. The default of in the 'umap-learn' package is 0.1."/>
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
250 <param argument="spread" type="float" value="1.0" label="Effective scale of embedded points" help="In combination with 'min_dist' this determines how clustered/clumped the embedded points are."/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
251 <param argument="n_components" type="integer" min="0" value="2" label="Number of dimensions of the embedding" help=""/>
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
252 <param argument="maxiter" type="integer" min="0" value="" optional="true" label="Number of iterations (epochs) of the optimization" help="Called 'n_epochs' in the original UMAP."/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
253 <param argument="alpha" type="float" value="1.0" label="Initial learning rate for the embedding optimization" help=""/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
254 <param argument="gamma" type="float" value="1.0" label="Weighting applied to negative samples in low dimensional embedding optimization" help="Values higher than one will result in greater weight being given to negative samples."/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
255 <param argument="negative_sample_rate" type="integer" min="0" value="5" label="The number of negative edge/1-simplex samples to use per positive edge/1-simplex sample in optimizing the low dimensional embedding" help=""/>
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
256 <param argument="init_pos" type="select" label="How to initialize the low dimensional embedding" help="Called 'init' in the original UMAP">
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
257 <option value="paga">Position from paga</option>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
258 <option value="spectral" selected="true">Spectral embedding of the graph</option>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
259 <option value="random">Initial embedding positions at random</option>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
260 </param>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
261 <expand macro="param_random_state"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
262 </when>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
263 <when value="tl.draw_graph">
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
264 <expand macro="param_layout"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
265 <expand macro="param_root"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
266 <expand macro="param_random_state"/>
7
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
267 <param argument="init_pos" type="text" optional="true" value="" label="Precomputed coordinates for initialization" help="It should be a valid 2d observation (e.g. paga)">
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
268 <expand macro="sanitize_query" />
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
269 </param>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
270 <param argument="adjacency" type="data" format="mtx" optional="true" label="Sparse adjacency matrix of the graph" help="If not set, it uses the unstructured annotation (uns) / neighbors / connectivities"/>
7
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
271 <param argument="key_ext" type="text" optional="true" value="" label="External key" help="If not set, it appends 'layout'">
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
272 <expand macro="sanitize_query" />
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
273 </param>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
274 </when>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
275 <when value="tl.dpt">
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
276 <param argument="n_dcs" type="integer" min="0" value="10" label="Number of diffusion components to use" help=""/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
277 <param argument="n_branchings" type="integer" min="0" value="0" label="Number of branchings to detect" help=""/>
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
278 <param argument="min_group_size" type="float" min="0" value="0.01" label="Min group size" help="During recursive splitting of branches ('dpt groups') for 'n_branchings' &gt; 1, do not consider groups that contain less than 'min_group_size' data points. If a float, 'min_group_size' refers to a fraction of the total number of data points."/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
279 <param argument="allow_kendall_tau_shift" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Allow Kendal tau shift?" help="If a very small branch is detected upon splitting, shift away from maximum correlation in Kendall tau criterion of Haghverdi et al (2016) to stabilize the splitting."/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
280 </when>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
281 <when value="tl.paga">
7
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
282 <param argument="groups" type="text" value="louvain" label="Key for categorical in the input" help="You can pass your predefined groups by choosing any categorical annotation of observations ('adata.obs').">
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
283 <expand macro="sanitize_query" />
b2df381a6004 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents: 6
diff changeset
284 </param>
3
ac8e59e87ce3 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents: 2
diff changeset
285 <param argument="use_rna_velocity" type="boolean" truevalue="False" falsevalue="False" checked="false" label="Use RNA velocity to orient edges in the abstracted graph and estimate transitions?" help="Requires that 'adata.uns' contains a directed single-cell graph with key '['velocyto_transitions']'. This feature might be subject to change in the future."/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
286 <param argument="model" type="select" label="PAGA connectivity model" help="">
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
287 <option value="v1.2">v1.2</option>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
288 <option value="v1.0">v1.0</option>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
289 </param>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
290 </when>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
291 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
292 <expand macro="inputs_common_advanced"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
293 </inputs>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
294 <outputs>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
295 <expand macro="anndata_outputs"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
296 </outputs>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
297 <tests>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
298 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
299 <!-- test 0 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
300 <param name="adata" value="pp.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
301 <conditional name="method">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
302 <param name="method" value="tl.louvain"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
303 <conditional name="flavor">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
304 <param name="flavor" value="vtraag"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
305 <param name="resolution" value="1.0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
306 </conditional>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
307 <param name="random_state" value="10"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
308 <param name="key_added" value="louvain"/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
309 <param name="directed" value="true"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
310 <param name="use_weights" value="false"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
311 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
312 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
313 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
314 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
315 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
316 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
317 <has_text_matching expression="sc.tl.louvain"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
318 <has_text_matching expression="adata=adata"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
319 <has_text_matching expression="flavor = 'vtraag'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
320 <has_text_matching expression="resolution=1.0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
321 <has_text_matching expression="random_state=10"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
322 <has_text_matching expression="key_added='louvain'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
323 <has_text_matching expression="directed=True"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
324 <has_text_matching expression="use_weights=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
325 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
326 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
327 <output name="anndata_out" file="tl.louvain.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" ftype="h5ad" compare="sim_size"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
328 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
329 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
330 <!-- test 1 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
331 <param name="adata" value="pp.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" />
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
332 <conditional name="method">
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
333 <param name="method" value="tl.leiden"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
334 <param name="random_state" value="1"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
335 <param name="random_state" value="10"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
336 <param name="key_added" value="leiden"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
337 <param name="use_weights" value="false"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
338 <param name="n_iterations" value="-1"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
339 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
340 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
341 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
342 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
343 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
344 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
345 <has_text_matching expression="sc.tl.leiden"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
346 <has_text_matching expression="resolution=1"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
347 <has_text_matching expression="random_state=10"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
348 <has_text_matching expression="key_added='leiden'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
349 <has_text_matching expression="use_weights=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
350 <has_text_matching expression="n_iterations=-1"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
351 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
352 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
353 <output name="anndata_out" file="tl.leiden.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" ftype="h5ad" compare="sim_size"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
354 </test>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
355 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
356 <!-- test 1 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
357 <param name="adata" value="krumsiek11.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
358 <conditional name="method">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
359 <param name="method" value="pp.pca"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
360 <param name="n_comps" value="50"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
361 <param name="dtype" value="float32"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
362 <conditional name="pca">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
363 <param name="chunked" value="False"/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
364 <param name="zero_center" value="true"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
365 <param name="svd_solver" value="auto"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
366 <param name="random_state" value="0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
367 </conditional>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
368 <param name="use_highly_variable" value="false"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
369 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
370 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
371 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
372 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
373 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
374 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
375 <has_text_matching expression="sc.pp.pca"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
376 <has_text_matching expression="dtype='float32'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
377 <has_text_matching expression="copy=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
378 <has_text_matching expression="chunked=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
379 <has_text_matching expression="zero_center=True"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
380 <has_text_matching expression="svd_solver='auto'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
381 <has_text_matching expression="random_state=0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
382 <has_text_matching expression="use_highly_variable=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
383 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
384 </output>
8
35bc2eb568ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
385 <output name="anndata_out" file="pp.pca.krumsiek11.h5ad" ftype="h5ad" compare="sim_size" delta="100000" delta_frac="0.15"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
386 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
387 <!--<test>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
388 < test 3 >
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
389 <param name="adata" value="krumsiek11.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
390 <conditional name="method">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
391 <param name="method" value="pp.pca"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
392 <param name="n_comps" value="20"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
393 <param name="dtype" value="float32"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
394 <conditional name="pca">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
395 <param name="chunked" value="True"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
396 <param name="chunk_size" value="50"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
397 </conditional>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
398 <param name="use_highly_variable" value="false"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
399 </conditional>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
400 <assert_stdout>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
401 <has_text_matching expression="sc.pp.pca"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
402 <has_text_matching expression="data=adata"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
403 <has_text_matching expression="n_comps=20"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
404 <has_text_matching expression="dtype='float32'"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
405 <has_text_matching expression="copy=False"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
406 <has_text_matching expression="chunked=True"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
407 <has_text_matching expression="chunk_size=50"/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
408 <has_text_matching expression="use_highly_variable=False"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
409 </assert_stdout>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
410 <output name="anndata_out" file="pp.pca.krumsiek11_chunk.h5ad" ftype="h5ad" compare="sim_size"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
411 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
412 -->
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
413 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
414 <!-- test 2 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
415 <param name="adata" value="krumsiek11.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
416 <conditional name="method">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
417 <param name="method" value="tl.pca"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
418 <param name="n_comps" value="50"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
419 <param name="dtype" value="float32"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
420 <conditional name="pca">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
421 <param name="chunked" value="False"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
422 <param name="zero_center" value="True"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
423 <param name="svd_solver" value="auto"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
424 <param name="random_state" value="0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
425 </conditional>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
426 <param name="use_highly_variable" value="false"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
427 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
428 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
429 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
430 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
431 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
432 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
433 <has_text_matching expression="sc.tl.pca"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
434 <has_text_matching expression="dtype='float32'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
435 <has_text_matching expression="copy=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
436 <has_text_matching expression="chunked=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
437 <has_text_matching expression="zero_center=True"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
438 <has_text_matching expression="svd_solver='auto'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
439 <has_text_matching expression="use_highly_variable=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
440 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
441 </output>
8
35bc2eb568ed "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 7b8af82cb8a3438d2a6535986e357527e5c6efec"
iuc
parents: 7
diff changeset
442 <output name="anndata_out" file="tl.pca.krumsiek11.h5ad" ftype="h5ad" compare="sim_size" delta="100000" delta_frac="0.15"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
443 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
444 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
445 <!-- test 3 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
446 <param name="adata" value="pp.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
447 <conditional name="method">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
448 <param name="method" value="tl.diffmap"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
449 <param name="n_comps" value="15"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
450 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
451 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
452 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
453 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
454 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
455 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
456 <has_text_matching expression="sc.tl.diffmap"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
457 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
458 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
459 <output name="anndata_out" file="tl.diffmap.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" ftype="h5ad" compare="sim_size"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
460 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
461 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
462 <!-- test 4 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
463 <param name="adata" value="krumsiek11.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
464 <conditional name="method">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
465 <param name="method" value="tl.tsne"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
466 <param name="n_pcs" value="10"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
467 <param name="perplexity" value="30"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
468 <param name="early_exaggeration" value="12.0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
469 <param name="learning_rate" value="1000"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
470 <param name="random_state" value="0"/>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
471 <param name="use_fast_tsne" value="true"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
472 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
473 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
474 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
475 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
476 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
477 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
478 <has_text_matching expression="sc.tl.tsne"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
479 <has_text_matching expression="n_pcs=10"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
480 <has_text_matching expression="perplexity=30.0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
481 <has_text_matching expression="early_exaggeration=12.0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
482 <has_text_matching expression="learning_rate=1000.0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
483 <has_text_matching expression="random_state=0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
484 <has_text_matching expression="use_fast_tsne=True"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
485 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
486 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
487 <output name="anndata_out" file="tl.tsne.krumsiek11.h5ad" ftype="h5ad" compare="sim_size"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
488 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
489 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
490 <!-- test 5 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
491 <param name="adata" value="pp.neighbors_umap_euclidean.recipe_weinreb17.paul15_subsample.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
492 <conditional name="method">
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
493 <param name="method" value="tl.umap"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
494 <param name="min_dist" value="0.5"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
495 <param name="spread" value="1.0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
496 <param name="n_components" value="2"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
497 <param name="maxiter" value="2"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
498 <param name="alpha" value="1.0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
499 <param name="gamma" value="1.0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
500 <param name="negative_sample_rate" value="5"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
501 <param name="init_pos" value="spectral"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
502 <param name="random_state" value="0"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
503 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
504 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
505 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
506 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
507 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
508 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
509 <has_text_matching expression="sc.tl.umap"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
510 <has_text_matching expression="min_dist=0.5"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
511 <has_text_matching expression="spread=1.0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
512 <has_text_matching expression="n_components=2"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
513 <has_text_matching expression="maxiter=2"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
514 <has_text_matching expression="alpha=1.0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
515 <has_text_matching expression="gamma=1.0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
516 <has_text_matching expression="negative_sample_rate=5"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
517 <has_text_matching expression="init_pos='spectral'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
518 <has_text_matching expression="random_state=0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
519 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
520 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
521 <output name="anndata_out" file="tl.umap.neighbors_umap_euclidean.recipe_weinreb17.paul15_subsample.h5ad" ftype="h5ad" compare="sim_size">
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
522 <assert_contents>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
523 <has_h5_keys keys="X, obs, obsm, uns, var" />
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
524 </assert_contents>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
525 </output>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
526 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
527 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
528 <!-- test 6 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
529 <param name="adata" value="pp.neighbors_umap_euclidean.recipe_weinreb17.paul15_subsample.h5ad"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
530 <conditional name="method">
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
531 <param name="method" value="tl.draw_graph"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
532 <param name="layout" value="fa"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
533 <param name="random_state" value="0"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
534 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
535 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
536 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
537 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
538 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
539 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
540 <has_text_matching expression="sc.tl.draw_graph"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
541 <has_text_matching expression="layout='fa'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
542 <has_text_matching expression="random_state=0"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
543 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
544 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
545 <output name="anndata_out" file="tl.draw_graph.pp.neighbors_umap_euclidean.recipe_weinreb17.paul15_subsample.h5ad" ftype="h5ad" compare="sim_size"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
546 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
547 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
548 <!-- test 7 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
549 <param name="adata" value="pp.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
550 <conditional name="method">
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
551 <param name="method" value="tl.paga"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
552 <param name="groups" value="paul15_clusters"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
553 <param name="use_rna_velocity" value="False"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
554 <param name="model" value="v1.2"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
555 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
556 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
557 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
558 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
559 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
560 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
561 <has_text_matching expression="sc.tl.paga"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
562 <has_text_matching expression="groups='paul15_clusters'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
563 <has_text_matching expression="use_rna_velocity=False"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
564 <has_text_matching expression="model='v1.2'"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
565 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
566 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
567 <output name="anndata_out" file="tl.paga.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" ftype="h5ad" compare="sim_size"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
568 </test>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
569 <test>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
570 <!-- test 8 -->
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
571 <param name="adata" value="tl.diffmap.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" />
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
572 <conditional name="method">
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
573 <param name="method" value="tl.dpt"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
574 <param name="n_dcs" value="15"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
575 <param name="n_branchings" value="1"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
576 <param name="min_group_size" value="0.01"/>
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
577 <param name="allow_kendall_tau_shift" value="True"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
578 </conditional>
6
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
579 <section name="advanced_common">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
580 <param name="show_log" value="true" />
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
581 </section>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
582 <output name="hidden_output">
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
583 <assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
584 <has_text_matching expression="sc.tl.dpt"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
585 <has_text_matching expression="n_dcs=15"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
586 <has_text_matching expression="n_branchings=1"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
587 <has_text_matching expression="min_group_size=0.01"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
588 <has_text_matching expression="allow_kendall_tau_shift=True"/>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
589 </assert_contents>
77b91b9bdf52 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents: 5
diff changeset
590 </output>
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
591 <output name="anndata_out" file="tl.dpt.diffmap.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad" ftype="h5ad" compare="sim_size"/>
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
592 </test>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
593 </tests>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
594 <help><![CDATA[
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
595 Cluster cells into subgroups (`tl.louvain`)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
596 ===========================================
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
597
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
598 Cluster cells using the Louvain algorithm (Blondel et al, 2008) in the implementation
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
599 of Traag et al,2017. The Louvain algorithm has been proposed for single-cell
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
600 analysis by Levine et al, 2015.
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
601
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
602 This requires to run `pp.neighbors`, first.
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
603
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
604 More details on the `tl.louvain scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
605 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.louvain.html>`_
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
606
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
607 Cluster cells into subgroups (`tl.leiden`)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
608 ==========================================
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
609
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
610 Cluster cells using the Leiden algorithm (Traag et al, 2018), an improved version of the Louvain algorithm (Blondel et al, 2008).
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
611
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
612 The Louvain algorithm has been proposed for single-cell analysis by Levine et al, 2015.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
613
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
614 More details on the `tl.leiden scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
615 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.leiden.html>`_
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
616
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
617 Computes PCA (principal component analysis) coordinates, loadings and variance decomposition, using `pp.pca`
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
618 ============================================================================================================
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
619
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
620 @CMD_pca_outputs@
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
621
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
622 More details on the `pp.pca scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
623 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.pp.pca.html>`__
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
624
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
625 Computes PCA (principal component analysis) coordinates, loadings and variance decomposition, using `tl.pca`
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
626 ============================================================================================================
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
627
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
628 @CMD_pca_outputs@
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
629
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
630 More details on the `tl.pca scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
631 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.pca.html>`__
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
632
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
633 Diffusion Maps, using `tl.diffmap`
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
634 ==================================
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
635
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
636 Diffusion maps (Coifman et al 2005) has been proposed for visualizing single-cell
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
637 data by Haghverdi et al (2015). The tool uses the adapted Gaussian kernel suggested
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
638 by Haghverdi et al (2016) in the implementation of Wolf et al (2017).
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
639
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
640 The width ("sigma") of the connectivity kernel is implicitly determined by
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
641 the number of neighbors used to compute the single-cell graph in
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
642 `pp.neighbors`. To reproduce the original implementation
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
643 using a Gaussian kernel, use `method=='gauss'` in
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
644 `pp.neighbors`. To use an exponential kernel, use the default
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
645 `method=='umap'`. Differences between these options shouldn't usually be
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
646 dramatic.
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
647
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
648 The diffusion map representation of data are added to the return AnnData in the multi-dimensional
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
649 observations annotation (obsm). It is the right eigen basis of the transition matrix with eigenvectors
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
650 as colum. It can be accessed using the inspect tool for AnnData
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
651
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
652 More details on the `tl.diffmap scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
653 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.diffmap.html>`__
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
654
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
655 t-distributed stochastic neighborhood embedding (tSNE), using `tl.tsne`
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
656 =======================================================================
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
657
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
658 t-distributed stochastic neighborhood embedding (tSNE) (Maaten et al, 2008) has been
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
659 proposed for visualizating single-cell data by (Amir et al, 2013). Here, by default,
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
660 we use the implementation of *scikit-learn* (Pedregosa et al, 2011).
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
661
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
662 It returns `X_tsne`, tSNE coordinates of data.
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
663
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
664 More details on the `tl.tsne scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
665 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.tsne.html>`__
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
666
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
667 Embed the neighborhood graph using UMAP, using `tl.umap`
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
668 ========================================================
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
669
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
670 UMAP (Uniform Manifold Approximation and Projection) is a manifold learning
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
671 technique suitable for visualizing high-dimensional data. Besides tending to
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
672 be faster than tSNE, it optimizes the embedding such that it best reflects
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
673 the topology of the data, which we represent throughout Scanpy using a
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
674 neighborhood graph. tSNE, by contrast, optimizes the distribution of
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
675 nearest-neighbor distances in the embedding such that these best match the
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
676 distribution of distances in the high-dimensional space. We use the
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
677 implementation of `umap-learn <https://github.com/lmcinnes/umap>`__
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
678 (McInnes et al, 2018). For a few comparisons of UMAP with tSNE, see this `preprint
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
679 <https://doi.org/10.1101/298430>`__.
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
680
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
681 The UMAP coordinates of data are added to the return AnnData in the multi-dimensional
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
682 observations annotation (obsm). This data is accessible using the inspect tool for AnnData
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
683
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
684 More details on the `tl.umap scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
685 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.umap.html>`__
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
686
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
687 Force-directed graph drawing, using `tl.draw_graph`
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
688 ===================================================
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
689
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
690 Force-directed graph drawing describes a class of long-established algorithms for visualizing graphs.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
691 It has been suggested for visualizing single-cell data by Islam et al, 11.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
692 Many other layouts as implemented in igraph are available. Similar approaches have been used by
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
693 Zunder et al, 2015 or Weinreb et al, 2016.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
694
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
695 This is an alternative to tSNE that often preserves the topology of the data better.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
696 This requires to run `pp.neighbors`, first.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
697
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
698 The default layout (ForceAtlas2) uses the package fa2.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
699
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
700 The coordinates of graph layout are added to the return AnnData in the multi-dimensional
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
701 observations annotation (obsm). This data is accessible using the inspect tool for AnnData.
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
702
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
703 More details on the `tl.draw_graph scanpy documentation
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
704 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.draw_graph.html>`__
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
705
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
706 Infer progression of cells through geodesic distance along the graph (`tl.dpt`)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
707 ===============================================================================
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
708
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
709 Reconstruct the progression of a biological process from snapshot
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
710 data. `Diffusion Pseudotime` has been introduced by Haghverdi et al (2016) and
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
711 implemented within Scanpy (Wolf et al, 2017). Here, we use a further developed
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
712 version, which is able to deal with disconnected graphs (Wolf et al, 2017) and can
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
713 be run in a `hierarchical` mode by setting the parameter
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
714 `n_branchings>1`. We recommend, however, to only use
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
715 `tl.dpt` for computing pseudotime (`n_branchings=0`) and
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
716 to detect branchings via `paga`. For pseudotime, you need
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
717 to annotate your data with a root cell.
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
718
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
719 This requires to run `pp.neighbors`, first. In order to
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
720 reproduce the original implementation of DPT, use `method=='gauss'` in
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
721 this. Using the default `method=='umap'` only leads to minor quantitative
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
722 differences, though.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
723
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
724
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
725 If `n_branchings==0`, no field `dpt_groups` will be written.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
726
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
727 - dpt_pseudotime : Array of dim (number of samples) that stores the pseudotime of each cell, that is, the DPT distance with respect to the root cell.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
728 - dpt_groups : Array of dim (number of samples) that stores the subgroup id ('0','1', ...) for each cell. The groups typically correspond to 'progenitor cells', 'undecided cells' or 'branches' of a process.
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
729
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
730 The tool is similar to the R package `destiny` of Angerer et al (2016).
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
731
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
732 More details on the `tl.dpt scanpy documentation
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
733 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.dpt.html>`_
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
734
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
735
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
736 Generate cellular maps of differentiation manifolds with complex topologies (`tl.paga`)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
737 =======================================================================================
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
738
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
739 By quantifying the connectivity of partitions (groups, clusters) of the
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
740 single-cell graph, partition-based graph abstraction (PAGA) generates a much
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
741 simpler abstracted graph (*PAGA graph*) of partitions, in which edge weights
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
742 represent confidence in the presence of connections. By tresholding this
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
743 confidence in `paga`, a much simpler representation of data
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
744 can be obtained.
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
745
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
746 The confidence can be interpreted as the ratio of the actual versus the
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
747 expected value of connetions under the null model of randomly connecting
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
748 partitions. We do not provide a p-value as this null model does not
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
749 precisely capture what one would consider "connected" in real data, hence it
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
750 strongly overestimates the expected value. See an extensive discussion of
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
751 this in Wolf et al (2017).
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
752
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
753 Together with a random walk-based distance measure, this generates a partial
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
754 coordinatization of data useful for exploring and explaining its variation.
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
755
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
756 The returned AnnData object contains:
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
757
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
758 - Full adjacency matrix of the abstracted graph, weights correspond to confidence in the connectivities of partition (connectivities)
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
759 - Adjacency matrix of the tree-like subgraph that best explains the topology (connectivities_tree)
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
760
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
761 These datasets are stored in the unstructured annotation (uns) and can be accessed using the inspect tool for AnnData objects
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
762
1
20cfb9f3dded "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents: 0
diff changeset
763 More details on the `tl.paga scanpy documentation
5
6f2d2c7f77ee "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents: 4
diff changeset
764 <https://icb-scanpy.readthedocs-hosted.com/en/@version@/api/scanpy.tl.paga.html>`_
0
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
765 ]]></help>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
766 <expand macro="citations"/>
0e212e42ef88 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff changeset
767 </tool>