annotate dimension_reduction_clustering.xml @ 3:509baa4a2da0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
author iuc
date Wed, 17 Jul 2024 05:54:38 +0000
parents 8f8bef61fd0b
children d3ea0ba3d066
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
1 <tool id="snapatac2_clustering" name="SnapATAC2 Clustering" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
2 <description>and dimension reduction</description>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
3 <macros>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
4 <import>macros.xml</import>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
5 </macros>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
6 <requirements>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
8 </requirements>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
10 export NUMBA_CACHE_DIR="\${TEMP:-/tmp}";
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
11 @PREP_ADATA@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
12 @CMD@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
13 ]]></command>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
14 <configfiles>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
15 <configfile name="script_file"><![CDATA[
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
16
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
17 @CMD_imports@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
18 @CMD_read_inputs@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
19
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
20 #if $method.method == 'tl.spectral'
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
21 #if $method.features
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
22 with open('$method.features') as f:
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
23 features_mask = [x.lower().capitalize() == "True" for x in f.read().splitlines()]
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
24 #end if
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
25 sa.tl.spectral(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
26 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
27 n_comps = $method.n_comps,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
28 #if $method.features
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
29 features = features_mask,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
30 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
31 random_state = $method.random_state,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
32 #if $method.sample_size
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
33 sample_size = $method.sample_size,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
34 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
35 chunk_size = $method.chunk_size,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
36 distance_metric = '$method.distance_metric',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
37 weighted_by_sd = $method.weighted_by_sd,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
38 inplace = True
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
39 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
40
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
41 #else if $method.method == 'tl.umap'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
42 sa.tl.umap(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
43 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
44 n_comps = $method.n_comps,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
45 #if $method.use_dims != ''
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
46 #set $dims = ([x.strip() for x in str($method.use_dims).split(',')])
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
47 use_dims=$dims,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
48 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
49 use_rep = '$method.use_rep',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
50 key_added = '$method.key_added',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
51 random_state = $method.random_state,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
52 inplace = True
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
53 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
54
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
55 #else if $method.method == 'pp.knn'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
56 sa.pp.knn(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
57 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
58 n_neighbors = $method.n_neighbors,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
59 #if $method.use_dims != ''
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
60 #set $dims = ([x.strip() for x in str($method.use_dims).split(',')])
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
61 use_dims=$dims,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
62 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
63 use_rep = '$method.use_rep',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
64 method = '$method.algorithm',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
65 inplace = True,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
66 random_state = $method.random_state
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
67 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
68
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
69 #else if $method.method == 'tl.dbscan'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
70 sa.tl.dbscan(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
71 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
72 eps = $method.eps,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
73 min_samples = $method.min_samples,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
74 leaf_size = $method.leaf_size,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
75 use_rep = '$method.use_rep',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
76 key_added = '$method.key_added'
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
77 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
78
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
79 #else if $method.method == 'tl.hdbscan'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
80 sa.tl.hdbscan(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
81 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
82 min_cluster_size = $method.min_cluster_size,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
83 #if $method.min_samples
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
84 min_samples = $method.min_samples,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
85 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
86 cluster_selection_epsilon = $method.cluster_selection_epsilon,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
87 alpha = $method.alpha,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
88 cluster_selection_method = '$method.cluster_selection_method',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
89 random_state = $method.random_state,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
90 use_rep = '$method.use_rep',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
91 key_added = '$method.key_added'
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
92 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
93
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
94 #else if $method.method == 'tl.leiden'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
95 sa.tl.leiden(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
96 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
97 resolution = $method.resolution,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
98 objective_function = '$method.objective_function',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
99 #if $method.objective_function == 'RBConfiguration'
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
100 use_leidenalg = True,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
101 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
102 min_cluster_size = $method.min_cluster_size,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
103 n_iterations = $method.n_iterations,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
104 random_state = $method.random_state,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
105 key_added = '$method.key_added',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
106 weighted = $method.weighted,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
107 inplace = True
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
108 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
109
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
110 #else if $method.method == 'tl.kmeans'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
111 sa.tl.kmeans(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
112 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
113 n_clusters = $method.n_clusters,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
114 n_iterations = $method.n_iterations,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
115 random_state = $method.random_state,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
116 use_rep = '$method.use_rep',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
117 key_added = '$method.key_added'
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
118 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
119
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
120 #else if $method.method == 'tl.aggregate_X'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
121 sa.tl.aggregate_X(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
122 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
123 #if $method.groupby != ''
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
124 groupby = '$method.groupby',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
125 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
126 normalize = '$method.normalize'
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
127 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
128
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
129 #else if $method.method == 'tl.aggregate_cells'
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
130 sa.tl.aggregate_cells(
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
131 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
132 use_rep = '$method.use_rep',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
133 #if $method.target_num_cells
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
134 target_num_cells = $method.target_num_cells,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
135 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
136 min_cluster_size = $method.min_cluster_size,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
137 random_state = $method.random_state,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
138 key_added = '$method.key_added',
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
139 inplace = True
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
140 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
141 #end if
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
142
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
143 @CMD_anndata_write_outputs@
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
144 ]]></configfile>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
145 </configfiles>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
146 <inputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
147 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
148 <param name="method" type="select" label="Dimension reduction and Clustering">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
149 <option value="tl.spectral">Perform dimension reduction using Laplacian Eigenmap, using 'tl.spectral'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
150 <option value="tl.umap">Compute Umap, using 'tl.umap'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
151 <option value="pp.knn">Compute a neighborhood graph of observations, using 'pp.knn'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
152 <option value="tl.leiden">Cluster cells into subgroups, using 'tl.leiden'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
153 <option value="tl.kmeans">Cluster cells into subgroups using the K-means algorithm, using 'tl.kmeans'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
154 <option value="tl.dbscan">Cluster cells into subgroups using the DBSCAN algorithm, using 'tl.dbscan'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
155 <option value="tl.hdbscan">Cluster cells into subgroups using the HDBSCAN algorithm, using 'tl.hdbscan'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
156 <option value="tl.aggregate_X">Aggregate values in adata.X in a row-wise fashion, using 'tl.aggregate_X'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
157 <option value="tl.aggregate_cells">Aggregate cells into pseudo-cells, using 'tl.aggregate_cells'</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
158 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
159 <when value="tl.spectral">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
160 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
161 <expand macro="param_n_comps"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
162 <param argument="features" type="data" format="txt" optional="true" label="Text file indicating features to keep. Each line contains only word (True/False)." help="True means that the feature is kept. False means the feature is removed"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
163 <expand macro="param_random_state"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
164 <param argument="sample_size" type="float" min="0" max="1" optional="true" label="Approximate the embedding using the Nystrom algorithm by selecting a subset of cells" help="Using this only when the number of cells is too large, e.g. &gt; 10,000,000, or the `distance_metric` is “jaccard”"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
165 <param argument="chunk_size" type="integer" value="20000" label="chunk size"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
166 <param argument="distance_metric" type="select" label="distance metric: “jaccard”, “cosine“">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
167 <option value="jaccard">jaccard</option>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
168 <option value="cosine" selected="true">cosine</option>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
169 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
170 <param argument="weighted_by_sd" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Whether to weight the result eigenvectors by the square root of eigenvalues"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
171 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
172 <when value="tl.umap">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
173 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
174 <param argument="n_comps" type="integer" value="2" label="Number of dimensions of embedding"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
175 <param argument="use_dims" type="text" optional="true" label="Use these dimensions in `use_rep`" help="comma separated list of dimensions">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
176 <expand macro="sanitize_query"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
177 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
178 <expand macro="param_use_rep"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
179 <expand macro="param_key_added" key_added="umap"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
180 <expand macro="param_random_state"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
181 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
182 <when value="pp.knn">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
183 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
184 <param argument="n_neighbors" type="integer" value="50" label="The number of nearest neighbors to be searched"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
185 <param argument="use_dims" type="text" value="" optional="true" label="The dimensions used for computation">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
186 <expand macro="sanitize_query"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
187 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
188 <param argument="use_rep" type="text" value="X_spectral" label="The key for the matrix"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
189 <param argument="algorithm" type="select" label="Choose method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
190 <option value="kdtree" selected="true">'kdtree': use the kdtree algorithm to find the nearest neighbors</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
191 <option value="hora">'hora': use the HNSW algorithm to find the approximate nearest neighbors</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
192 <option value="pynndescent">'pynndescent': use the pynndescent algorithm to find the approximate nearest neighbors</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
193 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
194 <param argument="random_state" type="integer" value="0" label="Random seed for approximate nearest neighbor search"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
195 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
196 <when value="tl.leiden">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
197 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
198 <param argument="resolution" type="float" value="1" label="Parameter value controlling the coarseness of the clustering" help="Higher values lead to more clusters"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
199 <param argument="objective_function" type="select" label="Whether to use the Constant Potts Model (CPM) or modularity">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
200 <option value="CPM">CPM</option>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
201 <option value="modularity" selected="true">modularity</option>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
202 <option value="RBConfiguration">RBConfiguration</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
203 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
204 <param argument="min_cluster_size" type="integer" value="5" label="The minimum size of clusters"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
205 <expand macro="param_n_iterations"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
206 <expand macro="param_random_state"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
207 <expand macro="param_key_added" key_added="leiden"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
208 <param argument="weighted" type="boolean" truevalue="True" falsevalue="False" label="Whether to use the edge weights in the graph"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
209 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
210 <when value="tl.kmeans">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
211 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
212 <param argument="n_clusters" type="integer" value="5" label="Number of clusters to return"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
213 <expand macro="param_n_iterations"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
214 <expand macro="param_random_state"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
215 <expand macro="param_use_rep"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
216 <expand macro="param_key_added" key_added="kmeans"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
217 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
218 <when value="tl.dbscan">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
219 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
220 <param argument="eps" type="float" value="0.5" label=" The maximum distance between two samples for one to be considered as in the neighborhood of the other" help="This is not a maximum bound on the distances of points within a cluster. This is the most important DBSCAN parameter to choose appropriately for your data set and distance function."/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
221 <param argument="min_samples" type="integer" value="5" label="The number of samples (or total weight) in a neighborhood for a point to be considered as a core point."/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
222 <param argument="leaf_size" type="integer" value="30" label="Leaf size passed to BallTree or cKDTree" help="This can affect the speed of the construction and query, as well as the memory required to store the tree."/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
223 <expand macro="param_use_rep"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
224 <expand macro="param_key_added" key_added="dbscan"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
225 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
226 <when value="tl.hdbscan">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
227 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
228 <param argument="min_cluster_size" type="integer" value="5" label="The minimum size of clusters"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
229 <param argument="min_samples" type="integer" value="" optional="true" label="The number of samples in a neighbourhood for a point to be considered a core point"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
230 <param argument="cluster_selection_epsilon" type="float" value="0.0" label="A distance threshold. Clusters below this value will be merged"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
231 <param argument="alpha" type="float" value="1.0" label="A distance scaling parameter as used in robust single linkage"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
232 <param argument="cluster_selection_method" type="select" label="The method used to select clusters from the condensed tree">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
233 <option value="eom">Excess of Mass algorithm to find the most persistent clusters</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
234 <option value="leaf">Select the clusters at the leaves of the tree - this provides the most fine grained and homogeneous clusters</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
235 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
236 <expand macro="param_random_state"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
237 <expand macro="param_use_rep"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
238 <expand macro="param_key_added" key_added="hdbscan"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
239 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
240 <when value="tl.aggregate_X">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
241 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
242 <expand macro="param_groupby"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
243 <param argument="normalize" type="select" optional="true" label="normalization method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
244 <option value="RPM">RPM</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
245 <option value="RPKM">RPKM</option>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
246 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
247 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
248 <when value="tl.aggregate_cells">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
249 <expand macro="inputs_anndata"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
250 <expand macro="param_use_rep"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
251 <param argument="target_num_cells" type="integer" value="" optional="true" label="target_num_cells" help="If None, `target_num_cells = num_cells / min_cluster_size`"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
252 <param argument="min_cluster_size" type="integer" value="50" label="The minimum size of clusters"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
253 <expand macro="param_random_state"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
254 <expand macro="param_key_added" key_added="pseudo_cell"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
255 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
256 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
257 <expand macro="inputs_common_advanced"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
258 </inputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
259 <outputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
260 <data name="anndata_out" format="h5ad" from_work_dir="anndata.h5ad" label="${tool.name} (${method.method}) on ${on_string}: Annotated data matrix"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
261 <data name="hidden_output" format="txt" label="Log file">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
262 <filter>advanced_common['show_log']</filter>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
263 </data>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
264 <data name="diff_peaks" format="tabular" from_work_dir="differential_peaks.tsv" label="${tool.name} on ${on_string}: Differential peaks">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
265 <filter>method['method'] and 'tl.diff_test' in method['method']</filter>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
266 </data>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
267 </outputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
268 <tests>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
269 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
270 <!-- tl.spectral -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
271 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
272 <param name="method" value="tl.spectral"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
273 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.select_features.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
274 <param name="n_comps" value="30"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
275 <param name="random_state" value="0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
276 <param name="chunk_size" value="20000"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
277 <param name="distance_metric" value="jaccard"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
278 <param name="weighted_by_sd" value="True"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
279 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
280 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
281 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
282 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
283 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
284 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
285 <has_text_matching expression="sa.tl.spectral"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
286 <has_text_matching expression="random_state = 0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
287 <has_text_matching expression="n_comps = 30"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
288 <has_text_matching expression="chunk_size = 20000"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
289 <has_text_matching expression="distance_metric = 'jaccard'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
290 <has_text_matching expression="weighted_by_sd = True"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
291 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
292 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
293 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.spectral.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
294 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
295 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
296 <!-- tl.umap -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
297 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
298 <param name="method" value="tl.umap"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
299 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.spectral.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
300 <param name="n_comps" value="2"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
301 <param name="use_rep" value="X_spectral"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
302 <param name="key_added" value="umap"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
303 <param name="random_state" value="0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
304 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
305 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
306 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
307 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
308 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
309 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
310 <has_text_matching expression="sa.tl.umap"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
311 <has_text_matching expression="n_comps = 2"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
312 <has_text_matching expression="use_rep = 'X_spectral'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
313 <has_text_matching expression="key_added = 'umap'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
314 <has_text_matching expression="random_state = 0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
315 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
316 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
317 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.umap.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
318 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
319 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
320 <!-- pp.knn -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
321 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
322 <param name="method" value="pp.knn"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
323 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.umap.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
324 <param name="n_neighbors" value="50"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
325 <param name="use_rep" value="X_spectral"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
326 <param name="method_" value="kdtree"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
327 <param name="inplace" value="True"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
328 <param name="random_state" value="0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
329 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
330 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
331 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
332 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
333 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
334 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
335 <has_text_matching expression="sa.pp.knn"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
336 <has_text_matching expression="n_neighbors = 50"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
337 <has_text_matching expression="use_rep = 'X_spectral'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
338 <has_text_matching expression="method = 'kdtree'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
339 <has_text_matching expression="inplace = True"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
340 <has_text_matching expression="random_state = 0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
341 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
342 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
343 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.knn.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
344 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
345 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
346 <!-- tl.leiden -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
347 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
348 <param name="method" value="tl.leiden"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
349 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.knn.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
350 <param name="resolution" value="2"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
351 <param name="objective_function" value="modularity"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
352 <param name="min_cluster_size" value="3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
353 <param name="n_iterations" value="-1"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
354 <param name="random_state" value="0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
355 <param name="key_added" value="leiden"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
356 <param name="weighted" value="False"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
357 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
358 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
359 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
360 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
361 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
362 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
363 <has_text_matching expression="sa.tl.leiden"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
364 <has_text_matching expression="resolution = 2"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
365 <has_text_matching expression="objective_function = 'modularity'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
366 <has_text_matching expression="min_cluster_size = 3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
367 <has_text_matching expression="n_iterations = -1"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
368 <has_text_matching expression="random_state = 0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
369 <has_text_matching expression="key_added = 'leiden'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
370 <has_text_matching expression="weighted = False"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
371 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
372 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
373 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.leiden.modularity.pbmc_500_chr21.h5ad"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
374 </test>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
375 <test expect_num_outputs="2">
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
376 <!-- tl.leiden -->
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
377 <conditional name="method">
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
378 <param name="method" value="tl.leiden"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
379 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.knn.pbmc_500_chr21.h5ad"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
380 <param name="resolution" value="2"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
381 <param name="objective_function" value="RBConfiguration"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
382 <param name="min_cluster_size" value="3"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
383 <param name="n_iterations" value="-1"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
384 <param name="random_state" value="0"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
385 <param name="key_added" value="leiden"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
386 <param name="weighted" value="False"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
387 </conditional>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
388 <section name="advanced_common">
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
389 <param name="show_log" value="true"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
390 </section>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
391 <output name="hidden_output">
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
392 <assert_contents>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
393 <has_text_matching expression="sa.tl.leiden"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
394 <has_text_matching expression="resolution = 2"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
395 <has_text_matching expression="objective_function = 'RBConfiguration'"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
396 <has_text_matching expression="min_cluster_size = 3"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
397 <has_text_matching expression="n_iterations = -1"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
398 <has_text_matching expression="random_state = 0"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
399 <has_text_matching expression="key_added = 'leiden'"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
400 <has_text_matching expression="weighted = False"/>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
401 </assert_contents>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
402 </output>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
403 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.leiden.RBConfiguration.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
404 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
405 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
406 <!-- tl.kmeans -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
407 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
408 <param name="method" value="tl.kmeans"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
409 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.spectral.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
410 <param name="n_iterations" value="-1"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
411 <param name="random_state" value="0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
412 <param name="use_rep" value="X_spectral"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
413 <param name="key_added" value="kmeans"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
414 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
415 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
416 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
417 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
418 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
419 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
420 <has_text_matching expression="sa.tl.kmeans"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
421 <has_text_matching expression="n_iterations = -1"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
422 <has_text_matching expression="random_state = 0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
423 <has_text_matching expression="use_rep = 'X_spectral'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
424 <has_text_matching expression="key_added = 'kmeans'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
425 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
426 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
427 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.kmeans.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
428 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
429 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
430 <!-- tl.dbscan -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
431 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
432 <param name="method" value="tl.dbscan"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
433 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.spectral.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
434 <param name="eps" value="0.5"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
435 <param name="min_samples" value="3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
436 <param name="leaf_size" value="5"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
437 <param name="use_rep" value="X_spectral"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
438 <param name="key_added" value="dbscan"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
439 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
440 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
441 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
442 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
443 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
444 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
445 <has_text_matching expression="sa.tl.dbscan"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
446 <has_text_matching expression="eps = 0.5"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
447 <has_text_matching expression="min_samples = 3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
448 <has_text_matching expression="leaf_size = 5"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
449 <has_text_matching expression="use_rep = 'X_spectral'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
450 <has_text_matching expression="key_added = 'dbscan'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
451 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
452 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
453 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.dbscan.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
454 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
455 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
456 <!-- tl.hdbscan -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
457 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
458 <param name="method" value="tl.hdbscan"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
459 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.spectral.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
460 <param name="min_cluster_size" value="3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
461 <param name="min_samples" value="3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
462 <param name="cluster_selection_method" value="eom"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
463 <param name="random_state" value="0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
464 <param name="use_rep" value="X_spectral"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
465 <param name="key_added" value="hdbscan"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
466 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
467 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
468 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
469 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
470 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
471 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
472 <has_text_matching expression="sa.tl.hdbscan"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
473 <has_text_matching expression="min_cluster_size = 3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
474 <has_text_matching expression="min_samples = 3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
475 <has_text_matching expression="cluster_selection_method = 'eom'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
476 <has_text_matching expression="random_state = 0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
477 <has_text_matching expression="use_rep = 'X_spectral'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
478 <has_text_matching expression="key_added = 'hdbscan'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
479 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
480 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
481 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.hdbscan.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
482 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
483 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
484 <!-- tl.aggregate_X -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
485 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
486 <param name="method" value="tl.aggregate_X"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
487 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.spectral.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
488 <param name="normalize" value="RPKM"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
489 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
490 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
491 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
492 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
493 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
494 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
495 <has_text_matching expression="sa.tl.aggregate_X"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
496 <has_text_matching expression="normalize = 'RPKM'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
497 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
498 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
499 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.aggregate_X.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
500 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
501 <test expect_num_outputs="2">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
502 <!-- tl.aggregate_cells -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
503 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
504 <param name="method" value="tl.aggregate_cells"/>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
505 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.spectral.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
506 <param name="use_rep" value="X_spectral"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
507 <param name="target_num_cells" value="5"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
508 <param name="min_cluster_size" value="3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
509 <param name="random_state" value="0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
510 <param name="key_added" value="pseudo_cell"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
511 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
512 <section name="advanced_common">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
513 <param name="show_log" value="true"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
514 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
515 <output name="hidden_output">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
516 <assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
517 <has_text_matching expression="sa.tl.aggregate_cells"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
518 <has_text_matching expression="use_rep = 'X_spectral'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
519 <has_text_matching expression="target_num_cells = 5"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
520 <has_text_matching expression="min_cluster_size = 3"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
521 <has_text_matching expression="random_state = 0"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
522 <has_text_matching expression="key_added = 'pseudo_cell'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
523 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
524 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
525 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/tl.aggregate_cells.pbmc_500_chr21.h5ad"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
526 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
527 </tests>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
528 <help><![CDATA[
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
529 Perform dimension reduction using Laplacian Eigenmap, using `tl.spectral`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
530 =========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
531
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
532 Perform dimension reduction using Laplacian Eigenmaps.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
533
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
534 Convert the cell-by-feature count matrix into lower dimensional representations using the spectrum of the normalized graph Laplacian defined by pairwise similarity between cells. This function utilizes the matrix-free spectral embedding algorithm to compute the embedding when `distance_metric` is “cosine”, which scales linearly with the number of cells. For other types of similarity metrics, the time and space complexity scale quadratically with the number of cells.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
535
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
536 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
537 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.spectral.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
538
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
539 Compute Umap, using `tl.umap`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
540 =============================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
541
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
542 Compute Umap
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
543
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
544 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
545 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.umap.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
546
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
547 Compute a neighborhood graph of observations, using `pp.knn`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
548 ============================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
549
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
550 Compute a neighborhood graph of observations.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
551
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
552 Computes a neighborhood graph of observations stored in adata using the method specified by method. The distance metric used is Euclidean.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
553
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
554 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
555 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.knn.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
556
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
557 Cluster cells into subgroups, using `tl.leiden`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
558 ===============================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
559
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
560 Cluster cells into subgroups.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
561
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
562 Cluster cells using the Leiden algorithm, an improved version of the Louvain algorithm. It has been proposed for single-cell analysis by. This requires having ran `knn`.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
563
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
564 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
565 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.leiden.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
566
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
567 Cluster cells into subgroups using the K-means algorithm, using `tl.kmeans`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
568 ===========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
569
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
570 Cluster cells into subgroups using the K-means algorithm, a classical algorithm in data mining.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
571
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
572 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
573 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.kmeans.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
574
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
575 Cluster cells into subgroups using the DBSCAN algorithm, using `tl.dbscan`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
576 ==========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
577
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
578 Cluster cells into subgroups using the DBSCAN algorithm.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
579
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
580 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
581 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.dbscan.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
582
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
583 Cluster cells into subgroups using the HDBSCAN algorithm, using `tl.hdbscan`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
584 ============================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
585
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
586 Cluster cells into subgroups using the HDBSCAN algorithm.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
587
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
588 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
589 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.hdbscan.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
590
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
591 Aggregate values in adata.X in a row-wise fashion, using `tl.aggregate_X`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
592 =========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
593
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
594 Aggregate values in adata.X in a row-wise fashion.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
595
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
596 Aggregate values in adata.X in a row-wise fashion. This is used to compute RPKM or RPM values stratified by user-provided groupings.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
597
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
598 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
599 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.aggregate_X.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
600
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
601 Aggregate cells into pseudo-cells, using `tl.aggregate_cells`
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
602 =============================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
603
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
604 Aggregate cells into pseudo-cells.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
605
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
606 Aggregate cells into pseudo-cells by iterative clustering.
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
607
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
608 More details on the `SnapATAC2 documentation
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
609 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.tl.aggregate_cells.html>`__
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
610 ]]></help>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
611 <expand macro="citations"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
612 </tool>