annotate preprocessing.xml @ 4:fef8f61cb34c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 04112de6f91d4f848fe35d857c84c4b8a9fc980f
author iuc
date Tue, 23 Jul 2024 16:25:03 +0000
parents 4ecdea4cbea1
children c5c94e01a1b5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
1 <tool id="snapatac2_preprocessing" name="SnapATAC2 Preprocessing" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
2 <description>and integration</description>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
3 <macros>
00a6721e1f81 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>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
5 </macros>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
6 <requirements>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
8 </requirements>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
9 <command detect_errors="exit_code"><![CDATA[
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
10 #if $method.method != 'pp.make_fragment_file' and $method.method != 'pp.import_data'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
11 @PREP_ADATA@
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
12 #end if
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
13 @CMD@
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
14 ]]></command>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
15 <configfiles>
00a6721e1f81 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[
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
17 @CMD_imports@
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
18
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
19 #if $method.method != 'pp.make_fragment_file' and $method.method != 'pp.import_data'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
20 @CMD_read_inputs@
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
21 #end if
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
22
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
23 #if $method.method == 'pp.make_fragment_file'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
24 sa.pp.make_fragment_file(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
25 bam_file = '$method.bam_file',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
26 is_paired = $method.is_paired,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
27 #if $method.barcode.extract_type == 'from_tag'
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
28 #if $method.barcode.barcode_tag != ''
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
29 barcode_tag = '$method.barcode.barcode_tag',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
30 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
31 #elif $method.barcode.extract_type == 'from_read_names'
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
32 #if $method.barcode.barcode_regex != ''
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
33 barcode_regex = '$method.barcode.barcode_regex',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
34 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
35 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
36 #if $method.umi_tag != ''
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
37 umi_tag = '$method.umi_tag',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
38 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
39 #if $method.umi_regex != ''
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
40 umi_regex = '$method.umi_regex',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
41 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
42 shift_right = $method.shift_right,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
43 shift_left = $method.shift_left,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
44 min_mapq = $method.min_mapq,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
45 chunk_size = $method.chunk_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
46 compression = 'gzip',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
47 output_file = '$fragments_out',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
48 tempdir = "."
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
49 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
50
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
51 #else if $method.method == 'pp.import_data'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
52 import csv
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
53 with open('$method.chrom_sizes') as f:
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
54 chr_sizes = {x[0]:int(x[1]) for x in csv.reader(f, delimiter='\t')}
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
55
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
56 sa.pp.import_data(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
57 fragment_file = '$method.fragment_file',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
58 chrom_sizes = chr_sizes,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
59 min_num_fragments = $method.min_num_fragments,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
60 sorted_by_barcode = $method.sorted_by_barcode,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
61 #if str($method.whitelist) != 'None'
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
62 whitelist = '$method.whitelist',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
63 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
64 shift_left = $method.shift_left,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
65 shift_right = $method.shift_right,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
66 #set $chr_mt = ([x.strip() for x in str($method.chrM).split(',')])
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
67 chrM = $chr_mt,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
68 chunk_size = $method.chunk_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
69 file = 'anndata.h5ad',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
70 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
71 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
72
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
73 #else if $method.method == 'pp.add_tile_matrix'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
74 sa.pp.add_tile_matrix(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
75 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
76 bin_size = $method.bin_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
77 chunk_size = $method.chunk_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
78 #if $method.exclude_chroms != ''
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
79 #set $excl_chroms = ([x.strip() for x in str($method.exclude_chroms).split(',')])
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
80 exclude_chroms = $excl_chroms,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
81 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
82 #if $method.min_frag_size
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
83 min_frag_size = $method.min_frag_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
84 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
85 #if $method.max_frag_size
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
86 max_frag_size = $method.max_frag_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
87 #end if
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
88 counting_strategy = '$method.counting_strategy',
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
89 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
90 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
91
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
92 #else if $method.method == 'pp.make_gene_matrix'
2
48d9421bf176 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit df9c285dddde7d901823c608c8d7dab971224b5b
iuc
parents: 1
diff changeset
93 adata = sa.pp.make_gene_matrix(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
94 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
95 gene_anno = '$method.gene_anno',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
96 chunk_size = $method.chunk_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
97 use_x = $method.use_x,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
98 id_type = '$method.id_type',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
99 transcript_name_key = '$method.transcript_name_key',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
100 transcript_id_key = '$method.transcript_id_key',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
101 gene_name_key = '$method.gene_name_key',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
102 gene_id_key = '$method.gene_id_key',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
103 #if $method.min_frag_size
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
104 min_frag_size = $method.min_frag_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
105 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
106 #if $method.max_frag_size
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
107 max_frag_size = $method.max_frag_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
108 #end if
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
109 counting_strategy = '$method.counting_strategy'
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
110 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
111
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
112 #else if $method.method == 'pp.filter_cells'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
113 sa.pp.filter_cells(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
114 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
115 min_counts = $method.min_counts,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
116 min_tsse = $method.min_tsse,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
117 #if $method.max_counts
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
118 max_counts = $method.max_counts,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
119 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
120 #if $method.max_tsse
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
121 max_tsse = $method.max_tsse,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
122 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
123 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
124 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
125 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
126
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
127 #else if $method.method == 'pp.select_features'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
128 sa.pp.select_features(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
129 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
130 n_features = $method.n_features,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
131 filter_lower_quantile = $method.filter_lower_quantile,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
132 filter_upper_quantile = $method.filter_upper_quantile,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
133 #if str($method.whitelist) != 'None'
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
134 whitelist = '$method.whitelist',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
135 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
136 #if str($method.blacklist) != 'None'
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
137 blacklist = '$method.blacklist',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
138 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
139 max_iter = $method.max_iter,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
140 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
141 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
142 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
143
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
144 #else if $method.method == 'pp.scrublet'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
145 sa.pp.scrublet(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
146 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
147 #if $method.features
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
148 features = '$method.features',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
149 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
150 n_comps = $method.n_comps,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
151 sim_doublet_ratio = $method.sim_doublet_ratio,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
152 expected_doublet_rate = $method.expected_doublet_rate,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
153 #if $method.n_neighbors
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
154 n_neighbors = $method.n_neighbors,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
155 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
156 use_approx_neighbors = $method.use_approx_neighbors,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
157 random_state = $method.random_state,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
158 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
159 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
160 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
161
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
162 #else if $method.method == 'pp.filter_doublets'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
163 sa.pp.filter_doublets(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
164 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
165 #if $method.probability_threshold
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
166 probability_threshold = $method.probability_threshold,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
167 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
168 #if $method.score_threshold
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
169 score_threshold = $method.score_threshold,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
170 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
171 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
172 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
173 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
174
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
175 #else if $method.method == 'pp.mnc_correct'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
176 sa.pp.mnc_correct(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
177 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
178 batch = '$method.batch',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
179 n_neighbors = $method.n_neighbors,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
180 n_clusters = $method.n_clusters,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
181 n_iter = $method.n_iter,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
182 @CMD_params_data_integration@
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
183 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
184 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
185 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
186
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
187 #else if $method.method == 'pp.harmony'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
188 sa.pp.harmony(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
189 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
190 batch = '$method.batch',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
191 @CMD_params_data_integration@
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
192 inplace = True
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
193 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
194
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
195 #else if $method.method == 'pp.scanorama_integrate'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
196 sa.pp.scanorama_integrate(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
197 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
198 batch = '$method.batch',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
199 n_neighbors = $method.n_neighbors,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
200 @CMD_params_data_integration@
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
201 inplace = True
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
202 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
203
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
204 #else if $method.method == 'metrics.frag_size_distr'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
205 sa.metrics.frag_size_distr(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
206 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
207 max_recorded_size = $method.max_recorded_size,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
208 add_key = '$method.add_key',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
209 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
210 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
211 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
212
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
213 #else if $method.method == 'metrics.tsse'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
214 sa.metrics.tsse(
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
215 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
216 gene_anno = '$method.gene_anno',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
217 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
218 n_jobs = int(os.getenv("GALAXY_SLOTS", 4))
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
219 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
220 #end if
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
221
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
222 #if $method.method != 'pp.make_fragment_file' and $method.method != 'pp.import_data'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
223 @CMD_anndata_write_outputs@
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
224 #end if
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
225 ]]></configfile>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
226 </configfiles>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
227 <inputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
228 <conditional name="method">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
229 <param name="method" type="select" label="Method used for preprocessing">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
230 <option value="pp.make_fragment_file">Convert a BAM file to a fragment file, using 'pp.make_fragment_file'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
231 <option value="pp.import_data">Import data fragment files and compute basic QC metrics, using 'pp.import_data'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
232 <option value="pp.add_tile_matrix">Generate cell by bin count matrix, using 'pp.add_tile_matrix'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
233 <option value="pp.make_gene_matrix">Generate cell by gene activity matrix, using 'pp.make_gene_matrix'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
234 <option value="pp.filter_cells">Filter cell outliers based on counts and numbers of genes expressed, using 'pp.filter_cells'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
235 <option value="pp.select_features">Perform feature selection, using 'pp.select_features'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
236 <option value="pp.scrublet">Compute probability of being a doublet using the scrublet algorithm, using 'pp.scrublet'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
237 <option value="pp.filter_doublets">Remove doublets according to the doublet probability or doublet score, using 'pp.filter_doublets'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
238 <option value="pp.mnc_correct">A modified MNN-Correct algorithm based on cluster centroid, using 'pp.mnc_correct'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
239 <option value="pp.harmony">Use harmonypy to integrate different experiments,using 'pp.harmony'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
240 <option value="pp.scanorama_integrate">Use Scanorama [Hie19] to integrate different experiments, using 'pp.scanorama_integrate'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
241 <option value="metrics.frag_size_distr">Compute the fragment size distribution of the dataset, using 'metrics.frag_size_distr'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
242 <option value="metrics.tsse">Compute the TSS enrichment score (TSSe) for each cell, using 'metrics.tsse'</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
243 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
244 <when value="pp.make_fragment_file">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
245 <param argument="bam_file" type="data" format="bam" label="File name of the BAM file"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
246 <param argument="is_paired" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Indicate whether the BAM file contain paired-end reads"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
247 <conditional name="barcode">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
248 <param name="extract_type" type="select" label="How to extract barcodes from BAM records?">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
249 <option value="from_tag">From TAG fileds</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
250 <option value="from_read_names">From read names using regular expressions</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
251 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
252 <when value="from_tag">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
253 <param argument="barcode_tag" type="text" value="CB" optional="true" label="Extract barcodes from TAG fields of BAM records"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
254 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
255 <when value="from_read_names">
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
256 <param argument="barcode_regex" type="text" value="" optional="true" label="Extract barcodes from read names of BAM records using regular expressions" help="`(..:..:..:..):\w+$` extracts `bd:69:Y6:10` from `A01535:24:HW2MMDSX2:2:1359:8513:3458:bd:69:Y6:10:TGATAGGTT``"/>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
257 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
258 </conditional>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
259 <param argument="umi_tag" type="text" value="" optional="true" label="Extract UMI from TAG fields of BAM records"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
260 <param argument="umi_regex" type="text" value="" optional="true" label="Extract UMI from read names of BAM records using regular expressions"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
261 <expand macro="param_shift"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
262 <param argument="min_mapq" type="integer" min="0" value="30" label="Filter the reads based on MAPQ"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
263 <expand macro="param_chunk_size" size="50000000"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
264 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
265 <when value="pp.import_data">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
266 <param argument="fragment_file" type="data" format="interval" label="Fragment file, optionally compressed with gzip or zstd"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
267 <param argument="chrom_sizes" type="data" format="tabular" label="A tabular file containing chromosome names and sizes"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
268 <param argument="min_num_fragments" type="integer" value="200" label="Number of unique fragments threshold used to filter cells"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
269 <param argument="sorted_by_barcode" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Whether the fragment file has been sorted by cell barcodes"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
270 <param argument="whitelist" type="data" format="txt" optional="True" label="Whitelist file with a list of barcodes" help="Each line must contain a valid barcode. When provided, only barcodes in the whitelist will be retained."/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
271 <param argument="chrM" type="text" value="chrM, M" label="A list of chromosome names that are considered mitochondrial DNA">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
272 <expand macro="sanitize_query"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
273 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
274 <param argument="shift_left" type="integer" value="0" label="Insertion site correction for the left end" help="Note this has no effect on single-end reads"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
275 <param argument="shift_right" type="integer" value="0" label="Insertion site correction for the right end" help="Note this has no effect on single-end reads"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
276 <expand macro="param_chunk_size" size="2000"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
277 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
278 <when value="pp.add_tile_matrix">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
279 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
280 <param argument="bin_size" type="integer" value="500" label="The size of consecutive genomic regions used to record the counts"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
281 <expand macro="param_chunk_size" size="500"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
282 <param argument="exclude_chroms" type="text" value="chrM, chrY, M, Y" optional="true" label="A list of chromosomes to exclude">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
283 <expand macro="sanitize_query"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
284 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
285 <expand macro="min_max_frag_size"/>
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
286 <expand macro="param_counting_strategy"/>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
287 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
288 <when value="pp.make_gene_matrix">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
289 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
290 <param argument="gene_anno" type="data" format="gtf,gff3" label="GTF/GFF file containing the gene annotation"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
291 <expand macro="param_chunk_size" size="500"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
292 <param argument="use_x" type="boolean" truevalue="True" falsevalue="False" checked="false" label="If True, use the matrix stored in .X as raw counts"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
293 <param argument="id_type" type="select" label="Id type, 'gene' or 'transcript'">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
294 <option value="gene" selected="true">gene</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
295 <option value="transcript">transcript</option>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
296 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
297 <param argument="transcript_name_key" type="text" value="transcript_name" label="The key of the transcript name in the gene annotation file"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
298 <param argument="transcript_id_key" type="text" value="transcript_id" label="The key of the transcript id in the gene annotation file"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
299 <param argument="gene_name_key" type="text" value="gene_name" label="The key of the gene name in the gene annotation file"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
300 <param argument="gene_id_key" type="text" value="gene_id" label="The key of the gene id in the gene annotation file"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
301 <expand macro="min_max_frag_size"/>
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
302 <expand macro="param_counting_strategy"/>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
303 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
304 <when value="pp.filter_cells">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
305 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
306 <param argument="min_counts" type="integer" value="1000" label="Minimum number of counts required for a cell to pass filtering"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
307 <param argument="min_tsse" type="float" value="5.0" label="Minimum TSS enrichemnt score required for a cell to pass filtering"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
308 <param argument="max_counts" type="integer" value="" optional="true" label="Maximum number of counts required for a cell to pass filtering"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
309 <param argument="max_tsse" type="float" value="" optional="true" label="Maximum TSS enrichment score expressed required for a cell to pass filtering"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
310 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
311 <when value="pp.select_features">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
312 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
313 <param argument="n_features" type="integer" min="1" value="500000" label="Number of features to keep"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
314 <param argument="filter_lower_quantile" type="float" min="0" value="0.005" label="Lower quantile of the feature count distribution to filter out"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
315 <param argument="filter_upper_quantile" type="float" min="0" value="0.005" label="Upper quantile of the feature count distribution to filter out"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
316 <param argument="whitelist" type="data" format="bed" optional="true" label="A user provided bed file containing genome-wide whitelist regions"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
317 <param argument="blacklist" type="data" format="bed" optional="true" label="A user provided bed file containing genome-wide blacklist regions"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
318 <param argument="max_iter" type="integer" value="1" label="If greater than 1, this function will perform iterative clustering and feature selection"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
319 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
320 <when value="pp.scrublet">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
321 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
322 <param argument="features" type="text" value="" optional="true" label=" Boolean index mask, where True means that the feature is kept, and False means the feature is removed."/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
323 <param argument="n_comps" type="integer" value="15" label="Number of components" help="15 is usually sufficient. The algorithm is not sensitive to this parameter"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
324 <param argument="sim_doublet_ratio" type="float" value="2.0" label="Number of doublets to simulate relative to the number of observed cells"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
325 <param argument="expected_doublet_rate" type="float" value="0.1" label="Expected doublet rate"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
326 <param argument="n_neighbors" type="integer" value="" optional="true" label="Number of neighbors used to construct the KNN graph of observed cells and simulated doublets"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
327 <param argument="use_approx_neighbors" type="boolean" truevalue="True" falsevalue="False" checked="false" label="Whether to use approximate search"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
328 <param argument="random_state" type="integer" value="0" label="Random state"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
329 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
330 <when value="pp.filter_doublets">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
331 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
332 <param argument="probability_threshold" type="float" value="0.5" label="Threshold for doublet probability"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
333 <param argument="score_threshold" type="float" value="" optional="true" label="Threshold for doublet score"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
334 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
335 <when value="pp.mnc_correct">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
336 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
337 <param argument="batch" type="text" value="batch" label="Batch labels for cells">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
338 <expand macro="sanitize_query"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
339 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
340 <param argument="n_neighbors" type="integer" value="5" label="Number of mutual nearest neighbors"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
341 <param argument="n_clusters" type="integer" value="40" label="Number of clusters"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
342 <param argument="n_iter" type="integer" value="1" label="Number of iterations"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
343 <expand macro="params_data_integration"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
344 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
345 <when value="pp.harmony">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
346 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
347 <param argument="batch" type="text" value="batch" label="Batch labels for cells">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
348 <expand macro="sanitize_query"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
349 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
350 <expand macro="params_data_integration"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
351 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
352 <when value="pp.scanorama_integrate">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
353 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
354 <param argument="batch" type="text" value="batch" label="Batch labels for cells">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
355 <expand macro="sanitize_query"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
356 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
357 <param argument="n_neighbors" type="integer" value="20" label="Number of mutual nearest neighbors"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
358 <expand macro="params_data_integration"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
359 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
360 <when value="metrics.frag_size_distr">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
361 <!-- TODO move this to plotting -->
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
362 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
363 <param argument="max_recorded_size" type="integer" min="1" value="1000" label="The maximum fragment size to record in the result"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
364 <param argument="add_key" type="text" value="frag_size_distr" label="Key used to store the result in `adata.uns`"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
365 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
366 <when value="metrics.tsse">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
367 <!-- TODO move this to plotting -->
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
368 <expand macro="inputs_anndata"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
369 <param argument="gene_anno" type="data" format="gtf,gff3" label="GTF/GFF file containing the gene annotation"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
370 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
371 </conditional>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
372 <expand macro="inputs_common_advanced"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
373 </inputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
374 <outputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
375 <data name="fragments_out" format="interval" label="${tool.name} (${method.method}) on ${on_string}: Fragment file">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
376 <filter>method['method'] == 'pp.make_fragment_file'</filter>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
377 </data>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
378 <data name="anndata_out" format="h5ad" from_work_dir="anndata.h5ad" label="${tool.name} (${method.method}) on ${on_string}: Annotated data matrix">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
379 <filter>method['method'] != 'pp.make_fragment_file'</filter>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
380 </data>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
381 <data name="hidden_output" format="txt" label="Log file">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
382 <filter>advanced_common['show_log']</filter>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
383 </data>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
384 </outputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
385 <tests>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
386 <test expect_num_outputs="1">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
387 <!-- pp.make_fragment_file -->
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
388 <conditional name="method">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
389 <param name="method" value="pp.make_fragment_file"/>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
390 <param name="bam_file" location="https://zenodo.org/records/11260316/files/pbmc_500_chr21_subsample.bam"/>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
391 <param name="is_paired" value="true"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
392 <conditional name="barcode">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
393 <param name="extract_type" value="from_tag"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
394 <param name="barcode_tag" value="CB"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
395 </conditional>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
396 <param name="shift_left" value="4"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
397 <param name="shift_right" value="-5"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
398 <param name="min_mapq" value="10"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
399 <param name="chunk_size" value="50000000"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
400 </conditional>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
401 <output name="fragments_out" location="https://zenodo.org/records/11260316/files/pp.make_fragment_file.pbmc_500_chr21.tsv.gz" ftype="interval" compare="sim_size" delta_frac="0.1"/>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
402 </test>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
403 <test expect_num_outputs="2">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
404 <!-- pp.pp.import_data -->
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
405 <conditional name="method">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
406 <param name="method" value="pp.import_data"/>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
407 <param name="fragment_file" location="https://zenodo.org/records/11260316/files/pbmc_500_chr21.tsv.gz"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
408 <param name="chrom_sizes" location="https://zenodo.org/records/11260316/files/chr21_size.tabular"/>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
409 <param name="min_num_fragments" value="1"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
410 <param name="sorted_by_barcode" value="False"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
411 <param name="shift_left" value="0"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
412 <param name="chrM" value="chrM, M"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
413 <param name="shift_right" value="0"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
414 <param name="chunk_size" value="1000"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
415 </conditional>
00a6721e1f81 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">
00a6721e1f81 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"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
418 </section>
00a6721e1f81 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">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
420 <assert_contents>
00a6721e1f81 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.pp.import_data"/>
00a6721e1f81 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="min_num_fragments = 1"/>
00a6721e1f81 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="sorted_by_barcode = False"/>
00a6721e1f81 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="shift_left = 0"/>
00a6721e1f81 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="chrM = \['chrM', 'M'\]"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
426 <has_text_matching expression="shift_right = 0"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
427 <has_text_matching expression="chunk_size = 1000"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
428 </assert_contents>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
429 </output>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
430 <output name="anndata_out" location="https://zenodo.org/records/11260316/files/pp.import_data.pbmc_500_chr21.h5ad" ftype="h5ad" compare="sim_size" delta_frac="0.1"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
431 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
432 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
433 <!-- pp.make_gene_matrix -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
434 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
435 <param name="method" value="pp.make_gene_matrix"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
436 <param name="adata" location="https://zenodo.org/records/11260316/files/tl.leiden.modularity.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
437 <param name="gene_anno" location="https://zenodo.org/records/11260316/files/chr21.gff3.gz"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
438 <param name="chunk_size" value="500"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
439 <param name="use_x" value="False"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
440 <param name="id_type" value="gene"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
441 <param name="transcript_name_key" value="transcript_name"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
442 <param name="transcript_id_key" value="transcript_id"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
443 <param name="gene_name_key" value="gene_name"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
444 <param name="gene_id_key" value="gene_id"/>
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
445 <param name="counting_strategy" value="insertion"/>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
446 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
447 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
448 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
449 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
450 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
451 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
452 <has_text_matching expression="sa.pp.make_gene_matrix"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
453 <has_text_matching expression="chunk_size = 500"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
454 <has_text_matching expression="use_x = False"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
455 <has_text_matching expression="id_type = 'gene'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
456 <has_text_matching expression="transcript_name_key = 'transcript_name'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
457 <has_text_matching expression="transcript_id_key = 'transcript_id'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
458 <has_text_matching expression="gene_name_key = 'gene_name'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
459 <has_text_matching expression="gene_id_key = 'gene_id'"/>
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
460 <has_text_matching expression="counting_strategy = 'insertion'"/>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
461 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
462 </output>
2
48d9421bf176 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit df9c285dddde7d901823c608c8d7dab971224b5b
iuc
parents: 1
diff changeset
463 <output name="anndata_out" location="https://zenodo.org/records/12548681/files/pp.make_gene_matrix.pbmc_500_chr21.h5ad" ftype="h5ad" compare="sim_size" delta_frac="0.1" />
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
464 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
465 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
466 <!-- metrics.tsse -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
467 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
468 <param name="method" value="metrics.tsse"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
469 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.import_data.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
470 <param name="gene_anno" location="https://zenodo.org/records/11260316/files/chr21.gff3.gz"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
471 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
472 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
473 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
474 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
475 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
476 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
477 <has_text_matching expression="sa.metrics.tsse"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
478 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
479 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
480 <output name="anndata_out" location="https://zenodo.org/records/11260316/files/metrics.tsse.pbmc_500_chr21.h5ad" ftype="h5ad" compare="sim_size" delta_frac="0.1" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
481 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
482 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
483 <!-- pp.filter_cells -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
484 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
485 <param name="method" value="pp.filter_cells"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
486 <param name="adata" location="https://zenodo.org/records/11260316/files/metrics.tsse.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
487 <param name="min_counts" value="200"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
488 <param name="min_tsse" value="5"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
489 <param name="max_counts" value="10000"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
490 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
491 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
492 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
493 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
494 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
495 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
496 <has_text_matching expression="sa.pp.filter_cells"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
497 <has_text_matching expression="min_counts = 200"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
498 <has_text_matching expression="min_tsse = 5"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
499 <has_text_matching expression="max_counts = 10000"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
500 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
501 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
502 <output name="anndata_out" location="https://zenodo.org/records/11260316/files/pp.filter_cells.pbmc_500_chr21.h5ad" ftype="h5ad" compare="sim_size" delta_frac="0.1" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
503 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
504 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
505 <!-- pp.add_tile_matrix -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
506 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
507 <param name="method" value="pp.add_tile_matrix"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
508 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.filter_cells.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
509 <param name="bin_size" value="5000"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
510 <param name="chunk_size" value="500"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
511 <param name="exclude_chroms" value="chr1, chr2, chr3, chr4, chr5, chr6, chr7, chr8, chr9, chr10, chr11, chr12, chr13, chr14, chr15, chr16, chr17, chr18, chr19, chr20, chr22, chrX, chrY"/>
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
512 <param name="counting_strategy" value="insertion"/>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
513 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
514 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
515 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
516 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
517 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
518 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
519 <has_text_matching expression="sa.pp.add_tile_matrix"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
520 <has_text_matching expression="bin_size = 5000"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
521 <has_text_matching expression="chunk_size = 500"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
522 <has_text_matching expression="exclude_chroms = \['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chr20', 'chr22', 'chrX', 'chrY'\]"/>
3
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
523 <has_text_matching expression="counting_strategy = 'insertion'"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
524 </assert_contents>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
525 </output>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
526 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.add_tile_matrix.pbmc_500_chr21.h5ad"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
527 </test>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
528 <test expect_num_outputs="2">
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
529 <!-- pp.add_tile_matrix counting_strategy fragment -->
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
530 <conditional name="method">
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
531 <param name="method" value="pp.add_tile_matrix"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
532 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.filter_cells.pbmc_500_chr21.h5ad"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
533 <param name="bin_size" value="5000"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
534 <param name="chunk_size" value="500"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
535 <param name="exclude_chroms" value="chr1, chr2, chr3, chr4, chr5, chr6, chr7, chr8, chr9, chr10, chr11, chr12, chr13, chr14, chr15, chr16, chr17, chr18, chr19, chr20, chr22, chrX, chrY"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
536 <param name="counting_strategy" value="fragment"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
537 </conditional>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
538 <section name="advanced_common">
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
539 <param name="show_log" value="true" />
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
540 </section>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
541 <output name="hidden_output">
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
542 <assert_contents>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
543 <has_text_matching expression="sa.pp.add_tile_matrix"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
544 <has_text_matching expression="bin_size = 5000"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
545 <has_text_matching expression="chunk_size = 500"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
546 <has_text_matching expression="exclude_chroms = \['chr1', 'chr2', 'chr3', 'chr4', 'chr5', 'chr6', 'chr7', 'chr8', 'chr9', 'chr10', 'chr11', 'chr12', 'chr13', 'chr14', 'chr15', 'chr16', 'chr17', 'chr18', 'chr19', 'chr20', 'chr22', 'chrX', 'chrY'\]"/>
4ecdea4cbea1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit b37248ea9b492c096b143272aebc79d8f04c2984
iuc
parents: 2
diff changeset
547 <has_text_matching expression="counting_strategy = 'fragment'"/>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
548 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
549 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
550 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.add_tile_matrix.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
551 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
552 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
553 <!-- pp.select_features -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
554 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
555 <param name="method" value="pp.select_features"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
556 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.add_tile_matrix.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
557 <param name="n_features" value="15000"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
558 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
559 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
560 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
561 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
562 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
563 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
564 <has_text_matching expression="sa.pp.select_features"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
565 <has_text_matching expression="n_features = 15000"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
566 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
567 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
568 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.select_features.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
569 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
570 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
571 <!-- pp.scrublet -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
572 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
573 <param name="method" value="pp.scrublet"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
574 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.select_features.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
575 <param name="n_comps" value="15"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
576 <param name="sim_doublet_ratio" value="2.0"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
577 <param name="expected_doublet_rate" value="0.1"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
578 <param name="random_state" value="0"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
579 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
580 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
581 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
582 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
583 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
584 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
585 <has_text_matching expression="sa.pp.scrublet"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
586 <has_text_matching expression="n_comps = 15"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
587 <has_text_matching expression="sim_doublet_ratio = 2.0"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
588 <has_text_matching expression="expected_doublet_rate = 0.1"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
589 <has_text_matching expression="random_state = 0"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
590 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
591 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
592 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.scrublet.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
593 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
594 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
595 <!-- pp.filter_doublets -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
596 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
597 <param name="method" value="pp.filter_doublets"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
598 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.scrublet.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
599 <param name="probability_threshold" value="0.1"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
600 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
601 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
602 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
603 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
604 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
605 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
606 <has_text_matching expression="sa.pp.filter_doublets"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
607 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
608 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
609 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.filter_doublets.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
610 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
611 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
612 <!-- pp.mnc_correct -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
613 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
614 <param name="method" value="pp.mnc_correct"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
615 <param name="adata" location="https://zenodo.org/records/11260316/files/pbmc_500_chr21.batch.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
616 <param name="batch" value="batch"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
617 <param name="n_neighbors" value="3"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
618 <param name="n_clusters" value="10"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
619 <param name="use_rep" value="X_spectral"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
620 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
621 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
622 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
623 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
624 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
625 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
626 <has_text_matching expression="sa.pp.mnc_correct"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
627 <has_text_matching expression="batch = 'batch'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
628 <has_text_matching expression="n_neighbors = 3"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
629 <has_text_matching expression="n_clusters = 10"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
630 <has_text_matching expression="batch = 'batch'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
631 <has_text_matching expression="use_rep = 'X_spectral'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
632 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
633 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
634 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.mnc_correct.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
635 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
636 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
637 <!-- pp.harmony -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
638 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
639 <param name="method" value="pp.harmony"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
640 <param name="adata" location="https://zenodo.org/records/11260316/files/pbmc_500_chr21.batch.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
641 <param name="batch" value="batch"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
642 <param name="use_rep" value="X_spectral"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
643 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
644 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
645 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
646 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
647 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
648 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
649 <has_text_matching expression="sa.pp.harmony"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
650 <has_text_matching expression="batch = 'batch'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
651 <has_text_matching expression="use_rep = 'X_spectral'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
652 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
653 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
654 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.harmony.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
655 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
656 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
657 <!-- pp.scanorama_integrate -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
658 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
659 <param name="method" value="pp.scanorama_integrate"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
660 <param name="adata" location="https://zenodo.org/records/11260316/files/pbmc_500_chr21.batch.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
661 <param name="batch" value="batch"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
662 <param name="use_rep" value="X_spectral"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
663 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
664 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
665 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
666 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
667 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
668 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
669 <has_text_matching expression="sa.pp.scanorama_integrate"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
670 <has_text_matching expression="batch = 'batch'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
671 <has_text_matching expression="use_rep = 'X_spectral'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
672 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
673 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
674 <output name="anndata_out" ftype="h5ad" compare="sim_size" delta_frac="0.1" location="https://zenodo.org/records/11260316/files/pp.scanorama_integrate.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
675 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
676 <test expect_num_outputs="2">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
677 <!-- metrics.frag_size_distr -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
678 <conditional name="method">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
679 <param name="method" value="metrics.frag_size_distr"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
680 <param name="adata" location="https://zenodo.org/records/11260316/files/pp.import_data.pbmc_500_chr21.h5ad"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
681 <param name="max_recorded_size" value="500"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
682 <param name="add_key" value="frag_size_distr"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
683 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
684 <section name="advanced_common">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
685 <param name="show_log" value="true" />
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
686 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
687 <output name="hidden_output">
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
688 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
689 <has_text_matching expression="sa.metrics.frag_size_distr"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
690 <has_text_matching expression="add_key = 'frag_size_distr'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
691 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
692 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
693 <output name="anndata_out" location="https://zenodo.org/records/11260316/files/metrics.frag_size_distr.pbmc_500_chr21.h5ad" ftype="h5ad" compare="sim_size" delta_frac="0.1" />
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
694 </test>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
695 </tests>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
696 <help><![CDATA[
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
697 Convert a BAM file`to a fragment file, using `pp.make_fragment_file`
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
698 ====================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
699
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
700 Convert a BAM file to a fragment file.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
701
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
702 Convert a BAM file to a fragment file by performing the following steps:
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
703
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
704 - Filtering: remove reads that are unmapped, not primary alignment, mapq < 30, fails platform/vendor quality checks, or optical duplicate. For paired-end sequencing, it also removes reads that are not properly aligned.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
705
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
706 - Deduplicate: Sort the reads by cell barcodes and remove duplicated reads for each unique cell barcode.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
707
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
708 - Output: Convert BAM records to fragments (if paired-end) or single-end reads.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
709
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
710 The bam file needn’t be sorted or filtered.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
711
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
712 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
713 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.make_fragment_file.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
714
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
715 Import data fragment file` and compute basic QC metrics, using `pp.import_data`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
716 ===============================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
717
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
718 Import data fragment files and compute basic QC metrics.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
719
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
720 A fragment refers to the sequence data originating from a distinct location in the genome. In single-ended sequencing, one read equates to a fragment. However, in paired-ended sequencing, a fragment is defined by a pair of reads. This function is designed to handle, store, and process input files with fragment data, further yielding a range of basic Quality Control (QC) metrics. These metrics include the total number of unique fragments, duplication rates, and the percentage of mitochondrial DNA detected.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
721
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
722 How fragments are stored is dependent on the sequencing approach utilized. For single-ended sequencing, fragments are found in `.obsm['fragment_single']`. In contrast, for paired-ended sequencing, they are located in `.obsm['fragment_paired']`.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
723
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
724 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
725 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.import_data.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
726
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
727 Generate cell by bin count matrix, using `pp.add_tile_matrix`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
728 =============================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
729
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
730 Generate cell by bin count matrix.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
731
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
732 This function is used to generate and add a cell by bin count matrix to the AnnData object.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
733
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
734 `import_data` must be ran first in order to use this function.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
735
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
736 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
737 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.add_tile_matrix.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
738
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
739 Generate cell by gene activity matrix, using `pp.make_gene_matrix`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
740 ==================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
741
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
742 Generate cell by gene activity matrix.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
743
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
744 Generate cell by gene activity matrix by counting the TN5 insertions in gene body regions. The result will be stored in a new file and a new AnnData object will be created.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
745
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
746 `import_data` must be ran first in order to use this function.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
747
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
748 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
749 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.make_gene_matrix.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
750
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
751 Filter cell outliers based on counts and numbers of genes expressed, using `pp.filter_cells`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
752 ============================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
753
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
754 Filter cell outliers based on counts and numbers of genes expressed. For instance, only keep cells with at least `min_counts` counts or `min_ts`` TSS enrichment scores. This is to filter measurement outliers, i.e. “unreliable” observations.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
755
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
756 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
757 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.filter_cells.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
758
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
759 Perform feature selection, using `pp.select_features`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
760 =====================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
761
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
762 Perform feature selection by selecting the most accessibile features across all cells unless `max_iter` > 1
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
763
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
764 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
765 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.select_features.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
766
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
767 Compute probability of being a doublet using the scrublet algorithm, using `pp.scrublet`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
768 ========================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
769
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
770 Compute probability of being a doublet using the scrublet algorithm.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
771
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
772 This function identifies doublets by generating simulated doublets using randomly pairing chromatin accessibility profiles of individual cells. The simulated doublets are then embedded alongside the original cells using the spectral embedding algorithm in this package. A k-nearest-neighbor classifier is trained to distinguish between the simulated doublets and the authentic cells. This trained classifier produces a “doublet score” for each cell. The doublet scores are then converted into probabilities using a Gaussian mixture model.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
773
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
774 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
775 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.scrublet.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
776
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
777 Remove doublets according to the doublet probability or doublet score, using `pp.filter_doublets`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
778 =================================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
779
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
780 Remove doublets according to the doublet probability or doublet score.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
781
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
782 The user can choose to remove doublets by either the doublet probability or the doublet score. `scrublet` must be ran first in order to use this function.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
783
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
784 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
785 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.filter_doublets.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
786
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
787 A modified MNN-Correct algorithm based on cluster centroid, using `pp.mnc_correct`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
788 ==================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
789
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
790 A modified MNN-Correct algorithm based on cluster centroid.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
791
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
792 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
793 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.mnc_correct.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
794
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
795 Use harmonypy to integrate different experiments,using `pp.harmony`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
796 ===================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
797
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
798 Use harmonypy to integrate different experiments.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
799
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
800 Harmony is an algorithm for integrating single-cell data from multiple experiments. This function uses the python port of Harmony, `harmonypy`, to integrate single-cell data stored in an AnnData object. This function should be run after performing dimension reduction.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
801
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
802 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
803 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.harmony.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
804
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
805 Use Scanorama to integrate different experiments, using `pp.scanorama_integrate`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
806 ========================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
807
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
808 Use Scanorama to integrate different experiments.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
809
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
810 Scanorama is an algorithm for integrating single-cell data from multiple experiments stored in an AnnData object. This function should be run after performing `tl.spectral` but before computing the neighbor graph.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
811
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
812 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
813 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.scanorama_integrate.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
814
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
815 Compute the fragment size distribution of the dataset, using `metrics.frag_size_distr`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
816 ======================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
817
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
818 Compute the fragment size distribution of the dataset.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
819
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
820 This function computes the fragment size distribution of the dataset. Note that it does not operate at the single-cell level. The result is stored in a vector where each element represents the number of fragments and the index represents the fragment length. The first posision of the vector is reserved for fragments with size larger than the `max_recorded_size` parameter. `import_data` must be ran first in order to use this function.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
821
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
822 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
823 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.metrics.frag_size_distr.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
824
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
825 Compute the TSS enrichment score (TSSe) for each cell, using `metrics.tsse`
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
826 ===========================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
827
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
828 Compute the TSS enrichment score (TSSe) for each cell.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
829
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
830 `import_data` must be ran first in order to use this function.
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
831
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
832 More details on the `SnapATAC2 documentation
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
833 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.metrics.tsse.html>`__
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
834
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
835 ]]></help>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
836 <expand macro="citations"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
837 </tool>