annotate preprocessing.xml @ 2:48d9421bf176 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit df9c285dddde7d901823c608c8d7dab971224b5b
author iuc
date Fri, 05 Jul 2024 11:06:01 +0000
parents cec3e76eaf05
children 4ecdea4cbea1
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
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
88 ##counting_strategy = '$method.counting_strategy',
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
89 count_frag_as_reads = $method.count_frag_as_reads,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
90 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
91 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
92
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
93 #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
94 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
95 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
96 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
97 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
98 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
99 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
100 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
101 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
102 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
103 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
104 #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
105 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
106 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
107 #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
108 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
109 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
110 ##counting_strategy = '$method.counting_strategy'
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
111 count_frag_as_reads = $method.count_frag_as_reads
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
112 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
113
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
114 #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
115 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
116 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
117 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
118 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
119 #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
120 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
121 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
122 #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
123 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
124 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
125 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
126 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
127 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
128
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
129 #else if $method.method == 'pp.select_features'
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
130 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
131 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
132 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
133 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
134 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
135 #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
136 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
137 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
138 #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
139 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
140 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
141 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
142 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
143 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
144 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
145
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
146 #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
147 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
148 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
149 #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
150 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
151 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
152 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
153 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
154 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
155 #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
156 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
157 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
158 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
159 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
160 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
161 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
162 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
163
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
164 #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
165 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
166 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
167 #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
168 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
169 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
170 #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
171 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
172 #end if
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
173 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
174 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
175 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
176
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
177 #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
178 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
179 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
180 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
181 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
182 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
183 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
184 @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
185 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
186 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
187 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
188
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
189 #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
190 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
191 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
192 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
193 @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
194 inplace = True
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
195 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
196
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
197 #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
198 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
199 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
200 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
201 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
202 @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
203 inplace = True
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
204 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
205
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
206 #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
207 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
208 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
209 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
210 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
211 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
212 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
213 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
214
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
215 #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
216 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
217 adata,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
218 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
219 inplace = True,
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
220 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
221 )
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
222 #end if
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
223
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
224 #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
225 @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
226 #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
227 ]]></configfile>
0
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
228 </configfiles>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
229 <inputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
230 <conditional name="method">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
231 <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
232 <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
233 <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
234 <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
235 <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
236 <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
237 <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
238 <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
239 <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
240 <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
241 <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
242 <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
243 <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
244 <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
245 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
246 <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
247 <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
248 <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
249 <conditional name="barcode">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
250 <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
251 <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
252 <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
253 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
254 <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
255 <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
256 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
257 <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
258 <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
259 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
260 </conditional>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
261 <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
262 <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
263 <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
264 <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
265 <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
266 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
267 <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
268 <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
269 <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
270 <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
271 <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
272 <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
273 <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
274 <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
275 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
276 <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
277 <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
278 <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
279 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
280 <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
281 <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
282 <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
283 <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
284 <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
285 <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
286 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
287 <expand macro="min_max_frag_size"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
288 <!--expand macro="param_counting_strategy"/-->
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
289 <param argument="count_frag_as_reads" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Whether to count fragments as reads"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
290 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
291 <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
292 <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
293 <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
294 <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
295 <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
296 <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
297 <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
298 <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
299 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
300 <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
301 <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
302 <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
303 <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
304 <expand macro="min_max_frag_size"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
305 <!--expand macro="param_counting_strategy"/-->
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
306 <param argument="count_frag_as_reads" type="boolean" truevalue="True" falsevalue="False" checked="true" label="Whether to count fragments as reads"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
307 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
308 <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
309 <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
310 <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
311 <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
312 <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
313 <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
314 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
315 <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
316 <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
317 <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
318 <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
319 <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
320 <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
321 <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
322 <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
323 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
324 <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
325 <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
326 <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
327 <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
328 <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
329 <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
330 <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
331 <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
332 <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
333 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
334 <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
335 <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
336 <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
337 <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
338 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
339 <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
340 <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
341 <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
342 <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
343 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
344 <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
345 <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
346 <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
347 <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
348 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
349 <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
350 <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
351 <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
352 <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
353 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
354 <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
355 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
356 <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
357 <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
358 <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
359 <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
360 </param>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
361 <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
362 <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
363 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
364 <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
365 <!-- 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
366 <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
367 <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
368 <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
369 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
370 <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
371 <!-- 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
372 <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
373 <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
374 </when>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
375 </conditional>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
376 <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
377 </inputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
378 <outputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
379 <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
380 <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
381 </data>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
382 <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
383 <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
384 </data>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
385 <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
386 <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
387 </data>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
388 </outputs>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
389 <tests>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
390 <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
391 <!-- 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
392 <conditional name="method">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
393 <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
394 <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
395 <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
396 <conditional name="barcode">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
397 <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
398 <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
399 </conditional>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
400 <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
401 <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
402 <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
403 <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
404 </conditional>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
405 <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
406 </test>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
407 <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
408 <!-- 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
409 <conditional name="method">
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
410 <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
411 <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
412 <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
413 <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
414 <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
415 <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
416 <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
417 <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
418 <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
419 </conditional>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
420 <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
421 <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
422 </section>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
423 <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
424 <assert_contents>
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="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
426 <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
427 <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
428 <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
429 <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
430 <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
431 <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
432 </assert_contents>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
433 </output>
1
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
434 <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
435 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
436 <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
437 <!-- 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
438 <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
439 <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
440 <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
441 <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
442 <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
443 <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
444 <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
445 <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
446 <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
447 <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
448 <param name="gene_id_key" value="gene_id"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
449 <param name="count_frag_as_reads" value="True"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
450 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
451 <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
452 <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
453 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
454 <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
455 <assert_contents>
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="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
457 <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
458 <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
459 <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
460 <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
461 <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
462 <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
463 <has_text_matching expression="gene_id_key = 'gene_id'"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
464 <has_text_matching expression="count_frag_as_reads = True"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
465 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
466 </output>
2
48d9421bf176 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit df9c285dddde7d901823c608c8d7dab971224b5b
iuc
parents: 1
diff changeset
467 <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
468 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
469 <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
470 <!-- metrics.tsse -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
471 <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
472 <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
473 <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
474 <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
475 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
476 <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
477 <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
478 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
479 <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
480 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
481 <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
482 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
483 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
484 <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
485 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
486 <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
487 <!-- 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
488 <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
489 <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
490 <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
491 <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
492 <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
493 <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
494 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
495 <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
496 <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
497 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
498 <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
499 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
500 <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
501 <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
502 <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
503 <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
504 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
505 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
506 <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
507 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
508 <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
509 <!-- 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
510 <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
511 <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
512 <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
513 <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
514 <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
515 <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"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
516 <param name="count_frag_as_reads" value="True"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
517 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
518 <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
519 <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
520 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
521 <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
522 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
523 <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
524 <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
525 <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
526 <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'\]"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
527 <has_text_matching expression="count_frag_as_reads = True"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
528 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
529 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
530 <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
531 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
532 <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
533 <!-- 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
534 <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
535 <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
536 <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
537 <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
538 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
539 <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
540 <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
541 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
542 <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
543 <assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
544 <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
545 <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
546 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
547 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
548 <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
549 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
550 <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
551 <!-- pp.scrublet -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
552 <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
553 <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
554 <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
555 <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
556 <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
557 <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
558 <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
559 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
560 <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
561 <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
562 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
563 <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
564 <assert_contents>
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="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
566 <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
567 <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
568 <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
569 <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
570 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
571 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
572 <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
573 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
574 <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
575 <!-- 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
576 <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
577 <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
578 <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
579 <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
580 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
581 <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
582 <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
583 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
584 <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
585 <assert_contents>
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="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
587 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
588 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
589 <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
590 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
591 <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
592 <!-- 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
593 <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
594 <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
595 <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
596 <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
597 <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
598 <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
599 <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
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.mnc_correct"/>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
607 <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
608 <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
609 <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
610 <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
611 <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
612 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
613 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
614 <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
615 </test>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
616 <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
617 <!-- pp.harmony -->
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
618 <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
619 <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
620 <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
621 <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
622 <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
623 </conditional>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
624 <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
625 <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
626 </section>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
627 <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
628 <assert_contents>
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="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
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.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
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.scanorama_integrate -->
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.scanorama_integrate"/>
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.scanorama_integrate"/>
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.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
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 <!-- 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
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="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
660 <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
661 <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
662 <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
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.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
670 <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
671 </assert_contents>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
672 </output>
cec3e76eaf05 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit 1e34deee1e39c0c65e1e29a9d28becc7aaf23a4f
iuc
parents: 0
diff changeset
673 <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
674 </test>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
675 </tests>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
676 <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
677 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
678 ====================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
679
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
680 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
681
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
682 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
683
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
684 - 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
685
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
686 - 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
687
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
688 - 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
689
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
690 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
691
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
692 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
693 <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
694
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
695 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
696 ===============================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
697
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
698 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
699
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
700 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
701
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
702 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
703
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
704 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
705 <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
706
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
707 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
708 =============================================================
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 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
711
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
712 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
713
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
714 `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
715
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
716 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
717 <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
718
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
719 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
720 ==================================================================
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 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
723
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
724 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
725
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
726 `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
727
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
728 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
729 <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
730
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
731 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
732 ============================================================================================
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 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
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.filter_cells.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 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
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 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
743
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
744 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
745 <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
746
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
747 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
748 ========================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
749
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
750 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
751
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
752 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
753
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
754 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
755 <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
756
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
757 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
758 =================================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
759
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
760 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
761
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
762 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
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.filter_doublets.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 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
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 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
771
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
772 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
773 <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
774
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
775 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
776 ===================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
777
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
778 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
779
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
780 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
781
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
782 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
783 <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
784
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
785 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
786 ========================================================================================
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
787
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
788 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
789
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
790 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
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.scanorama_integrate.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 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
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 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
799
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
800 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
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.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
804
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
805 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
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 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
809
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
810 `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
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.metrics.tsse.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 ]]></help>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
816 <expand macro="citations"/>
00a6721e1f81 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff changeset
817 </tool>