Mercurial > repos > iuc > scanpy_cluster_reduce_dimension
annotate cluster_reduce_dimension.xml @ 20:8983e7a04ba7 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 55ba4cd74d5d8f7baff164b1864c36759d1c7fd9
author | iuc |
---|---|
date | Fri, 18 Oct 2024 10:37:48 +0000 |
parents | cb43c5d3acd3 |
children |
rev | line source |
---|---|
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
1 <tool id="scanpy_cluster_reduce_dimension" name="Scanpy cluster, embed" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
2 <description>and infer trajectories</description> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
3 <macros> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
5 <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
|
6 <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"/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
7 <param argument="layer" type="text" value="" optional="true" label="If provided, which element of layers to use for PCA"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
8 <expand macro="sanitize_query"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
9 </param> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
10 <param argument="dtype" type="select" label="Numpy data type string to which to convert the result"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
11 <option value="float32" selected="true">float32</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
12 <option value="int32">int32</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
13 <option value="int64">int64</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
14 <option value="uint32">uint32</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
15 <option value="uint64">uint64</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
16 <option value="float16">float16</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
17 <option value="float64">float64</option> |
7
b2df381a6004
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
18 </param> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
19 <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
|
20 <param argument="chunked" type="select" label="Type of PCA?"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
21 <option value="False" selected="true">Full PCA</option> |
3
ac8e59e87ce3
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents:
2
diff
changeset
|
22 <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
|
23 </param> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
24 <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
|
25 <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
|
26 </when> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
27 <when value="False"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
28 <param argument="zero_center" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Compute standard PCA from covariance matrix?" help="If not, it omits zero-centering variables (uses *TruncatedSVD* from scikit-learn), which allows to handle sparse input efficiently."/> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
29 <expand macro="svd_solver"/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
30 <param argument="random_state" type="integer" value="0" label="Change to use different initial states for the optimization"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
31 </when> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
32 </conditional> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
33 <param argument="mask_var" type="text" value="" optional="true" label="To run only on a certain set of genes given by a string referring to an array in" help="By default, uses .var['highly_variable'] if available, else everything"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
34 </xml> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
35 <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
|
36 <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
|
37 </xml> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
38 <xml name="param_use_weights" token_checked=""> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
39 <param argument="use_weights" type="boolean" truevalue="True" falsevalue="False" checked="@CHECKED@" label="Use weights from knn graph?"/> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
40 </xml> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
41 <token name="@CMD_PCA_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
|
42 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
|
43 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
44 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
|
45 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
46 - 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
|
47 - 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
|
48 - 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
|
49 - 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
|
50 - 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
|
51 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
52 This data is accessible using the inspect tool for AnnData |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
53 ]]> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
54 </token> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
55 </macros> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
56 <expand macro="bio_tools"/> |
2
dc2de14881ba
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit e6675eff6b4d49386c2a9e4dde0011ba33aedbcc"
iuc
parents:
1
diff
changeset
|
57 <expand macro="requirements"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
58 <requirement type="package" version="0.5.6">umap-learn</requirement> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
59 <requirement type="package" version="0.10.2">leidenalg</requirement> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
60 <requirement type="package" version="0.8.2">louvain</requirement> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
61 <requirement type="package" version="1.5.1">scikit-learn</requirement> |
2
dc2de14881ba
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit e6675eff6b4d49386c2a9e4dde0011ba33aedbcc"
iuc
parents:
1
diff
changeset
|
62 </expand> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
63 <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
|
64 <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
|
65 @CMD@ |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
66 ]]> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
67 </command> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
68 <configfiles> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
69 <configfile name="script_file"><![CDATA[ |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
70 @CMD_IMPORTS@ |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
71 @CMD_READ_INPUTS@ |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
72 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
73 #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
|
74 sc.tl.louvain( |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
75 adata=adata, |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
76 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
|
77 #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
|
78 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
|
79 #end if |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
80 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
|
81 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
|
82 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
|
83 use_weights=$method.use_weights, |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
84 @CMD_PARAM_NEIGHBORS_KEY@ |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
85 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
|
86 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
87 #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
|
88 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
|
89 adata=adata, |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
90 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
|
91 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
|
92 key_added='$method.key_added', |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
93 directed=$method.directed, |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
94 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
|
95 n_iterations=$method.n_iterations, |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
96 @CMD_PARAM_NEIGHBORS_KEY@ |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
97 flavor='$method.flavor', |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
98 copy=False) |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
99 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
100 #else if $method.method == 'pp.pca' |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
101 sc.pp.pca( |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
102 data=adata, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
103 n_comps=min($method.n_comps, adata.n_vars-1), |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
104 #if $method.layer != '' |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
105 layer='$method.layer', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
106 #end if |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
107 dtype='$method.dtype', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
108 chunked=$method.pca.chunked, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
109 #if $method.pca.chunked == 'True' |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
110 chunk_size=$method.pca.chunk_size, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
111 #else |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
112 zero_center=$method.pca.zero_center, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
113 #if $method.pca.svd_solver != '' |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
114 svd_solver='$method.pca.svd_solver', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
115 #end if |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
116 random_state=$method.pca.random_state, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
117 #end if |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
118 #if $method.mask_var != '' |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
119 mask_var='$method.mask_var', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
120 #end if |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
121 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
|
122 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
123 #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
|
124 sc.tl.diffmap( |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
125 adata=adata, |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
126 n_comps=min($method.n_comps, adata.n_vars-1), |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
127 random_state=$method.random_state, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
128 @CMD_PARAM_NEIGHBORS_KEY@ |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
129 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
|
130 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
131 #else if $method.method == 'tl.tsne' |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
132 import os |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
133 sc.tl.tsne( |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
134 adata=adata, |
12
6acb08931836
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6fc3a3aa54d7ece1fd8bfffe62ad7e2b620539e0
iuc
parents:
11
diff
changeset
|
135 #if str($method.n_pcs) != '' |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
136 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
|
137 #end if |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
138 #if $method.use_rep != '' |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
139 use_rep='$method.use_rep', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
140 #end if |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
141 perplexity=$method.perplexity, |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
142 metric='$method.metric', |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
143 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
|
144 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
|
145 random_state=$method.random_state, |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
146 n_jobs = int(os.getenv("GALAXY_SLOTS", 4)), |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
147 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
|
148 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
149 #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
|
150 sc.tl.umap( |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
151 adata=adata, |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
152 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
|
153 spread=$method.spread, |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
154 n_components=$method.n_components, |
12
6acb08931836
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6fc3a3aa54d7ece1fd8bfffe62ad7e2b620539e0
iuc
parents:
11
diff
changeset
|
155 #if str($method.maxiter) != '' |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
156 maxiter=$method.maxiter, |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
157 #end if |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
158 alpha=$method.alpha, |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
159 gamma=$method.gamma, |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
160 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
|
161 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
|
162 random_state=$method.random_state, |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
163 @CMD_PARAM_NEIGHBORS_KEY@ |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
164 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
|
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.draw_graph' |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
167 #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
|
168 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
|
169 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
|
170 #end if |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
171 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
172 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
|
173 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
|
174 layout='$method.layout', |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
175 #if str($method.root) |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
176 root=$method.root, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
177 #end if |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
178 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
|
179 #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
|
180 adjacency=adjacency, |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
181 #end if |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
182 #if $method.key_added_ext != '' |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
183 key_added_ext='$method.key_added_ext', |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
184 #end if |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
185 #if $method.init_pos != '' |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
186 init_pos='$method.init_pos', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
187 #end if |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
188 @CMD_PARAM_NEIGHBORS_KEY@ |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
189 copy=False) |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
190 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
191 #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
|
192 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
|
193 adata=adata, |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
194 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
|
195 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
|
196 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
|
197 allow_kendall_tau_shift=$method.allow_kendall_tau_shift, |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
198 @CMD_PARAM_NEIGHBORS_KEY@ |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
199 copy=False) |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
200 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
201 #else if $method.method == "tl.paga" |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
202 sc.tl.paga( |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
203 adata=adata, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
204 #if $method.groups != '': |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
205 groups='$method.groups', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
206 #end if |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
207 use_rna_velocity=$method.use_rna_velocity, |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
208 model='$method.model', |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
209 @CMD_PARAM_NEIGHBORS_KEY@ |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
210 copy=False) |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
211 |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
212 #else if $method.method == "tl.embedding_density" |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
213 sc.tl.embedding_density( |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
214 adata=adata, |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
215 basis='$method.basis', |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
216 #if $method.groupby != '' |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
217 groupby='$method.groupby', |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
218 #end if |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
219 #if $method.key_added != '' |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
220 key_added='$method.key_added', |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
221 #end if |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
222 ) |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
223 |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
224 #end if |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
225 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
226 @CMD_ANNDATA_WRITE_OUTPUTS@ |
19
cb43c5d3acd3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
iuc
parents:
17
diff
changeset
|
227 ]]> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
228 </configfile> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
229 </configfiles> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
230 <inputs> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
231 <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
|
232 <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
|
233 <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
|
234 <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
|
235 <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
|
236 <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
|
237 <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
|
238 <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
|
239 <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
|
240 <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
|
241 <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
|
242 <option value="tl.paga">Generate cellular maps of differentiation manifolds with complex topologies, using 'tl.paga'</option> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
243 <option value="tl.embedding_density">Calculate the density of cells in an embedding (per condition), using 'tl.embedding_density'</option> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
244 </param> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
245 <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
|
246 <conditional name="flavor"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
247 <param argument="flavor" type="select" label="Flavor for the clustering"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
248 <option value="vtraag" selected="true">vtraag (much more powerful than igraph)</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
249 <option value="igraph">Built in igraph method</option> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
250 </param> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
251 <when value="vtraag"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
252 <param argument="resolution" type="float" value="1.0" label="Resolution" help="Higher resolution means finding more and smaller clusters, which defaults to 1.0. See “Time as a resolution parameter” in Lambiotte et al, 2014"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
253 </when> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
254 <when value="igraph"/> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
255 </conditional> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
256 <expand macro="param_random_state"/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
257 <param argument="key_added" type="text" value="louvain" optional="true" label="Key under which to add the cluster labels"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
258 <expand macro="sanitize_query"/> |
7
b2df381a6004
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
259 </param> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
260 <param argument="directed" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Interpret the adjacency matrix as directed graph?"/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
261 <expand macro="param_use_weights" checked="false"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
262 <expand macro="param_neighbors_key"/> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
263 </when> |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
264 <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
|
265 <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
|
266 <expand macro="param_random_state"/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
267 <param argument="key_added" type="text" value="leiden" label="Key under which to add the cluster labels"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
268 <expand macro="sanitize_query"/> |
7
b2df381a6004
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
269 </param> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
270 <param argument="directed" type="boolean" truevalue="True" falsevalue="None" checked="false" label="Treat the graph as directed or undirected?"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
271 <expand macro="param_use_weights" checked="true"/> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
272 <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."/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
273 <expand macro="param_neighbors_key"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
274 <param argument="flavor" type="select" label="Flavor for the clustering"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
275 <option value="leidenalg" selected="true">leidenalg</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
276 <option value="igraph">Built in igraph method</option> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
277 </param> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
278 </when> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
279 <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
|
280 <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
|
281 </when> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
282 <when value="tl.diffmap"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
283 <param argument="n_comps" type="integer" min="0" value="15" optional="true" label="Number of dimensions of the representation"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
284 <param argument="random_state" type="integer" value="0" label="Seed used by the random number generator"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
285 <expand macro="param_neighbors_key"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
286 </when> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
287 <when value="tl.tsne"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
288 <param argument="n_pcs" type="integer" min="0" value="" optional="true" label="Number of PCs to use"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
289 <expand macro="param_use_rep"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
290 <param argument="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."/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
291 <param argument="metric" type="select"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
292 <expand macro="distance_metric_options"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
293 </param> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
294 <param argument="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."/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
295 <param argument="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."/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
296 <param argument="random_state" type="integer" value="0" label="Random state" help="Change this to use different intial states for the optimization"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
297 </when> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
298 <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
|
299 <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
|
300 <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."/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
301 <param argument="n_components" type="integer" min="0" value="2" label="Number of dimensions of the embedding"/> |
3
ac8e59e87ce3
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents:
2
diff
changeset
|
302 <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."/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
303 <param argument="alpha" type="float" value="1.0" label="Initial learning rate for the embedding optimization"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
304 <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."/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
305 <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"/> |
3
ac8e59e87ce3
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents:
2
diff
changeset
|
306 <param argument="init_pos" type="select" label="How to initialize the low dimensional embedding" help="Called 'init' in the original UMAP"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
307 <option value="spectral" selected="true">Spectral embedding of the graph</option> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
308 <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
|
309 <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
|
310 </param> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
311 <param argument="random_state" type="integer" value="0" label="Seed used by the random number generator"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
312 <expand macro="param_neighbors_key"/> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
313 </when> |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
314 <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
|
315 <expand macro="param_layout"/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
316 <param argument="root" type="integer" value="" optional="true" label="Root for tree layouts"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
317 <param argument="random_state" type="integer" value="0" optional="true" label="Random state" help="For layouts with random initialization like 'fr', change this to use different intial states for the optimization."/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
318 <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"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
319 <param argument="key_added_ext" type="text" optional="true" value="" label="External key" help="If not set, it appends 'layout'"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
320 <expand macro="sanitize_query"/> |
7
b2df381a6004
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
321 </param> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
322 <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)"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
323 <expand macro="sanitize_query"/> |
7
b2df381a6004
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
324 </param> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
325 <expand macro="param_neighbors_key"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
326 </when> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
327 <when value="tl.dpt"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
328 <param argument="n_dcs" type="integer" min="0" value="10" label="Number of diffusion components to use"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
329 <param argument="n_branchings" type="integer" min="0" value="0" label="Number of branchings to detect"/> |
3
ac8e59e87ce3
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3b41d687ff30583540d055f6995de00530cca81d"
iuc
parents:
2
diff
changeset
|
330 <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' > 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
|
331 <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."/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
332 <expand macro="param_neighbors_key"/> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
333 </when> |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
334 <when value="tl.paga"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
335 <param argument="groups" type="text" optional="true" value="" label="Key for categorical in the input" help="You can pass your predefined groups by choosing any categorical annotation of observations ('adata.obs')."> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
336 <expand macro="sanitize_query"/> |
7
b2df381a6004
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 150c96596b94f9658c8b7c44814c420d38fbee0c"
iuc
parents:
6
diff
changeset
|
337 </param> |
13
6f83f8fd381f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 3974c0ff86bb1d6633281f29dfb4c605a74e1e6e
iuc
parents:
12
diff
changeset
|
338 <param argument="use_rna_velocity" type="boolean" truevalue="True" 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."/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
339 <param argument="model" type="select" label="PAGA connectivity model"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
340 <option value="v1.2" selected="true">v1.2</option> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
341 <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
|
342 </param> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
343 <expand macro="param_neighbors_key"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
344 </when> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
345 <when value="tl.embedding_density"> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
346 <param argument="basis" type="text" value="umap" label="The embedding over which the density will be calculated." help="This embedded representation should be found in adata.obsm['X_[basis]']"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
347 <expand macro="sanitize_query"/> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
348 </param> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
349 <param argument="groupby" type="text" optional="true" value="" label="Key for categorical observation/cell annotation for which densities are calculated per category." > |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
350 <expand macro="sanitize_query"/> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
351 </param> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
352 <param argument="key_added" type="text" optional="true" value="" label="Name of the .obs covariate that will be added with the density estimates."> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
353 <expand macro="sanitize_query"/> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
354 </param> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
355 </when> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
356 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
357 <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
|
358 </inputs> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
359 <outputs> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
360 <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
|
361 </outputs> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
362 <tests> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
363 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
364 <!-- test 1 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
365 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
366 <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
|
367 <conditional name="method"> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
368 <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
|
369 <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
|
370 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
371 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
372 <param name="show_log" value="true"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
373 </section> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
374 <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
|
375 <assert_contents> |
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="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
|
377 <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
|
378 <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
|
379 <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
|
380 <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
|
381 <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
|
382 <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
|
383 <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
|
384 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
385 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
386 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
387 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
388 <has_h5_keys keys="obs/louvain"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
389 <has_h5_keys keys="uns/louvain"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
390 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
391 </output> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
392 </test> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
393 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
394 <!-- test 2 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
395 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
396 <param name="adata" value="pp.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad"/> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
397 <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
|
398 <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
|
399 <param name="random_state" value="10"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
400 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
401 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
402 <param name="show_log" value="true"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
403 </section> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
404 <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
|
405 <assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
406 <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
|
407 <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
|
408 <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
|
409 <has_text_matching expression="key_added='leiden'"/> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
410 <has_text_matching expression="use_weights=True"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
411 <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
|
412 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
413 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
414 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
415 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
416 <has_h5_keys keys="obs/leiden"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
417 <has_h5_keys keys="uns/leiden"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
418 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
419 </output> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
420 </test> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
421 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
422 <!-- test 3 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
423 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
424 <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
|
425 <conditional name="method"> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
426 <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
|
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"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
429 <param name="show_log" value="true"/> |
6
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.pp.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="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
|
439 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
440 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
441 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
442 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
443 <has_h5_keys keys="uns/pca"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
444 <has_h5_keys keys="obsm/X_pca"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
445 <has_h5_keys keys="varm/PCs"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
446 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
447 </output> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
448 </test> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
449 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
450 <!-- test 4 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
451 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
452 <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
|
453 <conditional name="method"> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
454 <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
|
455 <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
|
456 <conditional name="pca"> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
457 <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
|
458 <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
|
459 </conditional> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
460 </conditional> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
461 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
462 <param name="show_log" value="true"/> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
463 </section> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
464 <output name="hidden_output"> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
465 <assert_contents> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
466 <has_text_matching expression="sc.pp.pca"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
467 <has_text_matching expression="data=adata"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
468 <has_text_matching expression="dtype='float32'"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
469 <has_text_matching expression="copy=False"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
470 <has_text_matching expression="chunked=True"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
471 <has_text_matching expression="chunk_size=50"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
472 </assert_contents> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
473 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
474 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
475 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
476 <has_h5_keys keys="uns/pca"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
477 <has_h5_keys keys="obsm/X_pca"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
478 <has_h5_keys keys="varm/PCs"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
479 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
480 </output> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
481 </test> |
19
cb43c5d3acd3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
iuc
parents:
17
diff
changeset
|
482 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
483 <!-- test 5 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
484 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
485 <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
|
486 <conditional name="method"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
487 <param name="method" value="tl.diffmap"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
488 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
489 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
490 <param name="show_log" value="true"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
491 </section> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
492 <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
|
493 <assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
494 <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
|
495 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
496 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
497 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
498 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
499 <has_h5_keys keys="obsm/X_diffmap"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
500 <has_h5_keys keys="uns/diffmap_evals"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
501 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
502 </output> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
503 </test> |
19
cb43c5d3acd3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
iuc
parents:
17
diff
changeset
|
504 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
505 <!-- test 6 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
506 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
507 <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
|
508 <conditional name="method"> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
509 <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
|
510 <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
|
511 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
512 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
513 <param name="show_log" value="true"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
514 </section> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
515 <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
|
516 <assert_contents> |
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="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
|
518 <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
|
519 <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
|
520 <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
|
521 <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
|
522 <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
|
523 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
524 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
525 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
526 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
527 <has_h5_keys keys="uns/tsne"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
528 <has_h5_keys keys="obsm/X_tsne"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
529 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
530 </output> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
531 </test> |
19
cb43c5d3acd3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
iuc
parents:
17
diff
changeset
|
532 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
533 <!-- test 7 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
534 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
535 <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
|
536 <conditional name="method"> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
537 <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
|
538 <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
|
539 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
540 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
541 <param name="show_log" value="true"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
542 </section> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
543 <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
|
544 <assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
545 <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
|
546 <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
|
547 <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
|
548 <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
|
549 <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
|
550 <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
|
551 <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
|
552 <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
|
553 <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
|
554 <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
|
555 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
556 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
557 <output name="anndata_out" ftype="h5ad"> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
558 <assert_contents> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
559 <has_h5_keys keys="uns/umap"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
560 <has_h5_keys keys="obsm/X_umap"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
561 </assert_contents> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
562 </output> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
563 </test> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
564 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
565 <!-- test 8 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
566 <test expect_num_outputs="2"> |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
567 <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
|
568 <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
|
569 <param name="method" value="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
|
570 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
571 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
572 <param name="show_log" value="true"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
573 </section> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
574 <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
|
575 <assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
576 <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
|
577 <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
|
578 <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
|
579 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
580 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
581 <output name="anndata_out" ftype="h5ad"> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
582 <assert_contents> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
583 <has_h5_keys keys="uns/draw_graph"/> |
19
cb43c5d3acd3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
iuc
parents:
17
diff
changeset
|
584 <has_h5_keys keys="obsm/X_draw_graph_fa"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
585 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
586 </output> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
587 </test> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
588 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
589 <!-- test 9 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
590 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
591 <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
|
592 <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
|
593 <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
|
594 <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
|
595 <param name="n_branchings" value="1"/> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
596 </conditional> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
597 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
598 <param name="show_log" value="true"/> |
6
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
599 </section> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
600 <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
|
601 <assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
602 <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
|
603 <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
|
604 <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
|
605 <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
|
606 <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
|
607 </assert_contents> |
77b91b9bdf52
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 5a90fd345b43ca12366f4475f4cfd88ef197e452"
iuc
parents:
5
diff
changeset
|
608 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
609 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
610 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
611 <has_h5_keys keys="obs/dpt_groups,obs/dpt_order,obs/dpt_order_indices"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
612 <has_h5_keys keys="uns/dpt_changepoints,uns/dpt_grouptips"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
613 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
614 </output> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
615 </test> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
616 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
617 <!-- test 10 --> |
19
cb43c5d3acd3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
iuc
parents:
17
diff
changeset
|
618 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
619 <param name="adata" value="pp.neighbors_gauss_braycurtis.recipe_weinreb17.paul15_subsample.h5ad"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
620 <conditional name="method"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
621 <param name="method" value="tl.paga"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
622 <param name="groups" value="paul15_clusters"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
623 </conditional> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
624 <section name="advanced_common"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
625 <param name="show_log" value="true"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
626 </section> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
627 <output name="hidden_output"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
628 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
629 <has_text_matching expression="sc.tl.paga"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
630 <has_text_matching expression="groups='paul15_clusters'"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
631 <has_text_matching expression="use_rna_velocity=False"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
632 <has_text_matching expression="model='v1.2'"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
633 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
634 </output> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
635 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
636 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
637 <has_h5_keys keys="uns/paga,uns/paul15_clusters_sizes"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
638 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
639 </output> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
640 </test> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
641 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
642 <!-- test 11 --> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
643 <test expect_num_outputs="2"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
644 <param name="adata" value="tl.umap.neighbors_umap_euclidean.recipe_weinreb17.paul15_subsample.h5ad"/> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
645 <conditional name="method"> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
646 <param name="method" value="tl.embedding_density"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
647 <param name="key_added" value="umap_density"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
648 </conditional> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
649 <section name="advanced_common"> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
650 <param name="show_log" value="true"/> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
651 </section> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
652 <output name="hidden_output"> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
653 <assert_contents> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
654 <has_text_matching expression="sc.tl.embedding_density"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
655 <has_text_matching expression="basis='umap'"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
656 <has_text_matching expression="key_added='umap_density'"/> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
657 </assert_contents> |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
658 </output> |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
659 <output name="anndata_out" ftype="h5ad"> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
660 <assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
661 <has_h5_keys keys="obs/umap_density"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
662 <has_h5_keys keys="uns/umap_density_params"/> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
663 </assert_contents> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
664 </output> |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
665 </test> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
666 </tests> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
667 <help><![CDATA[ |
19
cb43c5d3acd3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 0f11c0478793eaafc7d3bd2e7916ee546528b45f
iuc
parents:
17
diff
changeset
|
668 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
669 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
|
670 =========================================== |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
671 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
672 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
|
673 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
|
674 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
|
675 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
676 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
|
677 |
5
6f2d2c7f77ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents:
4
diff
changeset
|
678 More details on the `tl.louvain scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
679 <https://scanpy.readthedocs.io/en/stable/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
|
680 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
681 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
682 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
|
683 ========================================== |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
684 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
685 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
|
686 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
687 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
|
688 |
5
6f2d2c7f77ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents:
4
diff
changeset
|
689 More details on the `tl.leiden scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
690 <https://scanpy.readthedocs.io/en/stable/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
|
691 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
692 |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
693 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
|
694 ============================================================================================================ |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
695 |
5
6f2d2c7f77ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents:
4
diff
changeset
|
696 More details on the `pp.pca scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
697 <https://scanpy.readthedocs.io/en/stable/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
|
698 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
699 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
700 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
|
701 ================================== |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
702 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
703 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
|
704 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
|
705 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
|
706 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
707 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
|
708 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
|
709 `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
|
710 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
|
711 `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
|
712 `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
|
713 dramatic. |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
714 |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
715 The diffusion map representation of data are added to the return AnnData in the multi-dimensional |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
716 observations annotation (obsm). It is the right eigen basis of the transition matrix with eigenvectors |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
717 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
|
718 |
5
6f2d2c7f77ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents:
4
diff
changeset
|
719 More details on the `tl.diffmap scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
720 <https://scanpy.readthedocs.io/en/stable/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
|
721 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
722 |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
723 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
|
724 ======================================================================= |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
725 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
726 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
|
727 proposed for visualizating single-cell data by (Amir et al, 2013). Here, by default, |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
728 we use the implementation of *scikit-learn* (Pedregosa et al, 2011). |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
729 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
730 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
|
731 |
5
6f2d2c7f77ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents:
4
diff
changeset
|
732 More details on the `tl.tsne scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
733 <https://scanpy.readthedocs.io/en/stable/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
|
734 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
735 |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
736 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
|
737 ======================================================== |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
738 |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
739 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
|
740 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
|
741 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
|
742 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
|
743 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
|
744 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
|
745 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
|
746 implementation of `umap-learn <https://github.com/lmcinnes/umap>`__ |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
747 (McInnes et al, 2018). For a few comparisons of UMAP with tSNE, see this `paper |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
748 <https://www.nature.com/articles/nbt.4314>`__. |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
749 |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
750 The UMAP coordinates of data are added to the return AnnData in the multi-dimensional |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
751 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
|
752 |
5
6f2d2c7f77ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents:
4
diff
changeset
|
753 More details on the `tl.umap scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
754 <https://scanpy.readthedocs.io/en/stable/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
|
755 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
756 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
757 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
|
758 =================================================== |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
759 |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
760 Force-directed graph drawing describes a class of long-established algorithms for visualizing graphs. |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
761 It has been suggested for visualizing single-cell data by Islam et al, 11. |
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
762 Many other layouts as implemented in igraph are available. Similar approaches have been used by |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
763 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
|
764 |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
765 This is an alternative to tSNE that often preserves the topology of the data better. |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
766 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
|
767 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
768 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
|
769 |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
770 The coordinates of graph layout are added to the return AnnData in the multi-dimensional |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
771 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
|
772 |
5
6f2d2c7f77ee
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 6b5d0d6f038ebd0fae5dbca02ada51555518ed85"
iuc
parents:
4
diff
changeset
|
773 More details on the `tl.draw_graph scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
774 <https://scanpy.readthedocs.io/en/stable/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
|
775 |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
776 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
777 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
|
778 =============================================================================== |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
779 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
780 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
|
781 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
|
782 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
|
783 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
|
784 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
|
785 `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
|
786 `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
|
787 to detect branchings via `paga`. For pseudotime, you need |
11
edec35114f72
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit aba2a85f5da6e1094f382d1f0d94c4b8f2544a7d
iuc
parents:
10
diff
changeset
|
788 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
|
789 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
790 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
|
791 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
|
792 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
|
793 differences, though. |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
794 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
795 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
796 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
|
797 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
798 - 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
|
799 - 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
|
800 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
801 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
|
802 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
803 More details on the `tl.dpt scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
804 <https://scanpy.readthedocs.io/en/stable/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
|
805 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
806 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
807 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
|
808 ======================================================================================= |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
809 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
810 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
|
811 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
|
812 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
|
813 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
|
814 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
|
815 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
|
816 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
817 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
|
818 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
|
819 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
|
820 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
|
821 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
|
822 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
|
823 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
824 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
|
825 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
|
826 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
827 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
|
828 |
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
829 - 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
|
830 - 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
|
831 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
832 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
|
833 |
1
20cfb9f3dded
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 8ef5f7c6f8728608a3f05bb51e11b642b84a05f5"
iuc
parents:
0
diff
changeset
|
834 More details on the `tl.paga scanpy documentation |
14
4d8f983cd751
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 9d49b2a98de059ae9a053dc1c5a23537cf0311de
iuc
parents:
13
diff
changeset
|
835 <https://scanpy.readthedocs.io/en/stable/api/scanpy.tl.paga.html>`_ |
17
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
836 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
837 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
838 Calculates the density of cells in an embedding (per condition). (`tl.embedding_density`) |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
839 ========================================================================================= |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
840 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
841 Gaussian kernel density estimation is used to calculate the density of cells in an embedded space. This can be performed per category over a categorical cell annotation. |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
842 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
843 Note that density values are scaled to be between 0 and 1. Thus, the density value at each cell is only comparable to densities in the same category. |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
844 |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
845 More details on the `tl.embedding_density scanpy documentation |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
846 <https://scanpy.readthedocs.io/en/stable/generated/scanpy.tl.embedding_density.html>`_ |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
847 ]]> |
178242b82297
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 91121b1e72696f17478dae383badaa71e9f96dbb
iuc
parents:
14
diff
changeset
|
848 </help> |
0
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
849 <expand macro="citations"/> |
0e212e42ef88
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/scanpy/ commit 92f85afaed0097d1879317a9f513093fce5481d6
iuc
parents:
diff
changeset
|
850 </tool> |