annotate dimension_reduction_clustering.xml @ 5:d3ea0ba3d066 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit a9dc6c2d00d4488dfb751609bac74b19f241e06a
author iuc
date Thu, 07 Nov 2024 13:07:58 +0000
parents 8f8bef61fd0b
children
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>
5
d3ea0ba3d066 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit a9dc6c2d00d4488dfb751609bac74b19f241e06a
iuc
parents: 1
diff changeset
6 <expand macro="xrefs"/>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
7 <requirements>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
8 <expand macro="requirements"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
9 </requirements>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
10 <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
11 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
12 @PREP_ADATA@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
13 @CMD@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
14 ]]></command>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
15 <configfiles>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
16 <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
17
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
18 @CMD_imports@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
19 @CMD_read_inputs@
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
20
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
21 #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
22 #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
23 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
24 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
25 #end if
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
26 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
27 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
28 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
29 #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
30 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
31 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
32 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
33 #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
34 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
35 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
36 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
37 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
38 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
39 inplace = True
0
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
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
42 #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
43 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
44 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
45 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
46 #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
47 #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
48 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
49 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
50 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
51 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
52 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
53 inplace = True
0
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
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
56 #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
57 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
58 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
59 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
60 #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
61 #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
62 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
63 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
64 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
65 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
66 inplace = True,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
67 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
68 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
69
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
70 #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
71 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
72 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
73 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
74 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
75 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
76 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
77 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
78 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
79
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
80 #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
81 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
82 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
83 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
84 #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
85 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
86 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
87 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
88 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
89 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
90 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
91 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
92 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
93 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
94
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
95 #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
96 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
97 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
98 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
99 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
100 #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
101 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
102 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
103 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
104 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
105 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
106 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
107 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
108 inplace = True
0
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
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
111 #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
112 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
113 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
114 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
115 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
116 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
117 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
118 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
119 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
120
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
121 #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
122 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
123 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
124 #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
125 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
126 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
127 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
128 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
129
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
130 #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
131 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
132 adata,
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
133 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
134 #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
135 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
136 #end if
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
137 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
138 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
139 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
140 inplace = True
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
141 )
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
142 #end if
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
143
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
144 @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
145 ]]></configfile>
0
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
146 </configfiles>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
147 <inputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
148 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
149 <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
150 <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
151 <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
152 <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
153 <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
154 <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
155 <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
156 <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
157 <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
158 <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
159 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
160 <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
161 <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
162 <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
163 <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
164 <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
165 <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
166 <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
167 <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
168 <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
169 <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
170 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
171 <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
172 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
173 <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
174 <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
175 <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
176 <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
177 <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
178 </param>
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_use_rep"/>
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_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
181 <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
182 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
183 <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
184 <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
185 <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
186 <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
187 <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
188 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
189 <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
190 <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
191 <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
192 <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
193 <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
194 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
195 <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
196 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
197 <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
198 <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
199 <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
200 <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
201 <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
202 <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
203 <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
204 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
205 <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
206 <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
207 <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
208 <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
209 <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
210 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
211 <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
212 <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
213 <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
214 <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
215 <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
216 <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
217 <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
218 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
219 <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
220 <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
221 <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
222 <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
223 <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
224 <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
225 <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
226 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
227 <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
228 <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
229 <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
230 <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
231 <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
232 <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
233 <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
234 <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
235 <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
236 </param>
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_random_state"/>
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_use_rep"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
239 <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
240 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
241 <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
242 <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
243 <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
244 <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
245 <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
246 <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
247 </param>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
248 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
249 <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
250 <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
251 <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
252 <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
253 <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
254 <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
255 <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
256 </when>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
257 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
258 <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
259 </inputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
260 <outputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
261 <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
262 <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
263 <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
264 </data>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
265 <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
266 <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
267 </data>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
268 </outputs>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
269 <tests>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
270 <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
271 <!-- tl.spectral -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
272 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
273 <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
274 <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
275 <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
276 <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
277 <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
278 <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
279 <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
280 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
281 <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
282 <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
283 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
284 <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
285 <assert_contents>
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="sa.tl.spectral"/>
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="random_state = 0"/>
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="n_comps = 30"/>
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="chunk_size = 20000"/>
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="distance_metric = 'jaccard'"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
291 <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
292 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
293 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
294 <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
295 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
296 <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
297 <!-- tl.umap -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
298 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
299 <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
300 <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
301 <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
302 <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
303 <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
304 <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
305 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
306 <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
307 <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
308 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
309 <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
310 <assert_contents>
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="sa.tl.umap"/>
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="n_comps = 2"/>
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="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
314 <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
315 <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
316 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
317 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
318 <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
319 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
320 <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
321 <!-- pp.knn -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
322 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
323 <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
324 <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
325 <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
326 <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
327 <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
328 <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
329 <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
330 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
331 <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
332 <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
333 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
334 <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
335 <assert_contents>
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="sa.pp.knn"/>
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="n_neighbors = 50"/>
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="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
339 <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
340 <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
341 <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
342 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
343 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
344 <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
345 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
346 <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
347 <!-- tl.leiden -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
348 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
349 <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
350 <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
351 <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
352 <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
353 <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
354 <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
355 <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
356 <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
357 <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
358 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
359 <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
360 <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
361 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
362 <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
363 <assert_contents>
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="sa.tl.leiden"/>
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="resolution = 2"/>
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="objective_function = 'modularity'"/>
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="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
368 <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
369 <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
370 <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
371 <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
372 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
373 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
374 <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
375 </test>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
376 <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
377 <!-- tl.leiden -->
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
378 <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
379 <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
380 <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
381 <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
382 <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
383 <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
384 <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
385 <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
386 <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
387 <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
388 </conditional>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
389 <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
390 <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
391 </section>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
392 <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
393 <assert_contents>
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="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
395 <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
396 <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
397 <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
398 <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
399 <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
400 <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
401 <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
402 </assert_contents>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
403 </output>
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
404 <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
405 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
406 <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
407 <!-- tl.kmeans -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
408 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
409 <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
410 <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
411 <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
412 <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
413 <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
414 <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
415 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
416 <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
417 <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
418 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
419 <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
420 <assert_contents>
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="sa.tl.kmeans"/>
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="n_iterations = -1"/>
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="random_state = 0"/>
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="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
425 <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
426 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
427 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
428 <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
429 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
430 <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
431 <!-- tl.dbscan -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
432 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
433 <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
434 <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
435 <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
436 <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
437 <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
438 <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
439 <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
440 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
441 <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
442 <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
443 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
444 <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
445 <assert_contents>
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="sa.tl.dbscan"/>
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="eps = 0.5"/>
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="min_samples = 3"/>
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="leaf_size = 5"/>
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="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
451 <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
452 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
453 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
454 <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
455 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
456 <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
457 <!-- tl.hdbscan -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
458 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
459 <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
460 <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
461 <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
462 <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
463 <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
464 <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
465 <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
466 <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
467 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
468 <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
469 <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
470 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
471 <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
472 <assert_contents>
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="sa.tl.hdbscan"/>
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_cluster_size = 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="min_samples = 3"/>
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="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
477 <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
478 <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
479 <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
480 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
481 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
482 <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
483 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
484 <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
485 <!-- tl.aggregate_X -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
486 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
487 <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
488 <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
489 <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
490 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
491 <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
492 <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
493 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
494 <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
495 <assert_contents>
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="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
497 <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
498 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
499 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
500 <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
501 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
502 <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
503 <!-- tl.aggregate_cells -->
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
504 <conditional name="method">
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
505 <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
506 <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
507 <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
508 <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
509 <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
510 <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
511 <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
512 </conditional>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
513 <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
514 <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
515 </section>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
516 <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
517 <assert_contents>
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="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
519 <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
520 <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
521 <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
522 <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
523 <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
524 </assert_contents>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
525 </output>
1
8f8bef61fd0b planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
526 <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
527 </test>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
528 </tests>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
529 <help><![CDATA[
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
530 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
531 =========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
532
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
533 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
534
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
535 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
536
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
537 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
538 <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
539
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
540 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
541 =============================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
542
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
543 Compute Umap
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
544
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
545 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
546 <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
547
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
548 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
549 ============================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
550
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
551 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
552
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
553 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
554
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
555 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
556 <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
557
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
558 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
559 ===============================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
560
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
561 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
562
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
563 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
564
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
565 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
566 <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
567
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
568 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
569 ===========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
570
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
571 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
572
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
573 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
574 <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
575
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
576 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
577 ==========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
578
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
579 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
580
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
581 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
582 <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
583
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
584 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
585 ============================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
586
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
587 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
588
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
589 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
590 <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
591
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
592 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
593 =========================================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
594
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
595 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
596
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
597 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
598
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
599 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
600 <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
601
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
602 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
603 =============================================================
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
604
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
605 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
606
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
607 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
608
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
609 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
610 <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
611 ]]></help>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
612 <expand macro="citations"/>
af821711b356 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
613 </tool>