Mercurial > repos > iuc > snapatac2_preprocessing
annotate preprocessing.xml @ 0:00a6721e1f81 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
author | iuc |
---|---|
date | Thu, 16 May 2024 13:17:14 +0000 |
parents | |
children | cec3e76eaf05 |
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( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
25 bam_file = '$method.bam_file', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
26 is_paired = $method.is_paired, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
27 #if $method.barcode.extract_type == 'from_tag' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
28 #if $method.barcode.barcode_tag != '' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
29 barcode_tag = '$method.barcode.barcode_tag', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
30 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
31 #elif $method.barcode.extract_type == 'from_read_names' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
32 #if $method.barcode.barcode_regex != '' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
33 barcode_regex = '$method.barcode.barcode_regex', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
34 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
35 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
36 #if $method.umi_tag != '' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
37 umi_tag = '$method.umi_tag', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
38 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
39 #if $method.umi_regex != '' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
40 umi_regex = '$method.umi_regex', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
41 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
42 shift_right = $method.shift_right, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
43 shift_left = $method.shift_left, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
44 min_mapq = $method.min_mapq, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
45 chunk_size = $method.chunk_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
46 compression = 'gzip', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
47 output_file = '$fragments_out', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
48 tempdir = "." |
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( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
57 fragment_file = '$method.fragment_file', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
58 chrom_sizes = chr_sizes, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
59 min_num_fragments = $method.min_num_fragments, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
60 sorted_by_barcode = $method.sorted_by_barcode, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
61 #if str($method.whitelist) != 'None' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
62 whitelist = '$method.whitelist', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
63 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
64 shift_left = $method.shift_left, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
65 shift_right = $method.shift_right, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
66 #set $chr_mt = ([x.strip() for x in str($method.chrM).split(',')]) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
67 chrM = $chr_mt, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
68 chunk_size = $method.chunk_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
69 file = 'anndata.h5ad', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
70 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
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( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
75 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
76 bin_size = $method.bin_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
77 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
78 chunk_size = $method.chunk_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
79 #if $method.exclude_chroms != '' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
80 #set $excl_chroms = ([x.strip() for x in str($method.exclude_chroms).split(',')]) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
81 exclude_chroms = $excl_chroms, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
82 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
83 #if $method.min_frag_size |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
84 min_frag_size = $method.min_frag_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
85 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
86 #if $method.max_frag_size |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
87 max_frag_size = $method.max_frag_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
88 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
89 ##counting_strategy = '$method.counting_strategy', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
90 count_frag_as_reads = $method.count_frag_as_reads, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
91 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
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 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
94 #else if $method.method == '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
|
95 sa.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
|
96 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
97 gene_anno = '$method.gene_anno', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
98 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
99 chunk_size = $method.chunk_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
100 use_x = $method.use_x, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
101 id_type = '$method.id_type', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
102 transcript_name_key = '$method.transcript_name_key', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
103 transcript_id_key = '$method.transcript_id_key', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
104 gene_name_key = '$method.gene_name_key', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
105 gene_id_key = '$method.gene_id_key', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
106 #if $method.min_frag_size |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
107 min_frag_size = $method.min_frag_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
108 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
109 #if $method.max_frag_size |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
110 max_frag_size = $method.max_frag_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
111 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
112 ##counting_strategy = '$method.counting_strategy' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
113 count_frag_as_reads = $method.count_frag_as_reads |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
114 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
115 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
116 #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
|
117 sa.pp.filter_cells( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
118 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
119 min_counts = $method.min_counts, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
120 min_tsse = $method.min_tsse, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
121 #if $method.max_counts |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
122 max_counts = $method.max_counts, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
123 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
124 #if $method.max_tsse |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
125 max_tsse = $method.max_tsse, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
126 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
127 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
128 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
129 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
130 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
131 #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
|
132 sa.pp.select_features( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
133 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
134 n_features = $method.n_features, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
135 filter_lower_quantile = $method.filter_lower_quantile, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
136 filter_upper_quantile = $method.filter_upper_quantile, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
137 #if str($method.whitelist) != 'None' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
138 whitelist = '$method.whitelist', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
139 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
140 #if str($method.blacklist) != 'None' |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
141 blacklist = '$method.blacklist', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
142 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
143 max_iter = $method.max_iter, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
144 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
145 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
146 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
147 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
148 #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
|
149 sa.pp.scrublet( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
150 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
151 #if $method.features |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
152 features = '$method.features', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
153 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
154 n_comps = $method.n_comps, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
155 sim_doublet_ratio = $method.sim_doublet_ratio, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
156 expected_doublet_rate = $method.expected_doublet_rate, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
157 #if $method.n_neighbors |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
158 n_neighbors = $method.n_neighbors, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
159 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
160 use_approx_neighbors = $method.use_approx_neighbors, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
161 random_state = $method.random_state, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
162 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
163 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
164 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
165 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
166 #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
|
167 sa.pp.filter_doublets( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
168 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
169 #if $method.probability_threshold |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
170 probability_threshold = $method.probability_threshold, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
171 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
172 #if $method.score_threshold |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
173 score_threshold = $method.score_threshold, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
174 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
175 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
176 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
177 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
178 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
179 #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
|
180 sa.pp.mnc_correct( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
181 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
182 batch = '$method.batch', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
183 n_neighbors = $method.n_neighbors, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
184 n_clusters = $method.n_clusters, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
185 n_iter = $method.n_iter, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
186 @CMD_params_data_integration@ |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
187 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
188 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
189 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
190 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
191 #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
|
192 sa.pp.harmony( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
193 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
194 batch = '$method.batch', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
195 @CMD_params_data_integration@ |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
196 inplace = True |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
197 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
198 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
199 #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
|
200 sa.pp.scanorama_integrate( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
201 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
202 batch = '$method.batch', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
203 n_neighbors = $method.n_neighbors, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
204 @CMD_params_data_integration@ |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
205 inplace = True |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
206 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
207 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
208 #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
|
209 sa.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
|
210 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
211 max_recorded_size = $method.max_recorded_size, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
212 add_key = '$method.add_key', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
213 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
214 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
215 ) |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
216 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
217 #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
|
218 sa.metrics.tsse( |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
219 adata, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
220 gene_anno = '$method.gene_anno', |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
221 inplace = True, |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
222 n_jobs = os.getenv("GALAXY_SLOTS", 4) |
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 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
225 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
226 #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
|
227 @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
|
228 #end if |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
229 ]]></configfile> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
230 </configfiles> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
231 <inputs> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
232 <conditional name="method"> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
233 <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
|
234 <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
|
235 <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
|
236 <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
|
237 <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
|
238 <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
|
239 <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
|
240 <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
|
241 <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
|
242 <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
|
243 <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
|
244 <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
|
245 <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
|
246 <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
|
247 </param> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
248 <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
|
249 <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
|
250 <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
|
251 <conditional name="barcode"> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
252 <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
|
253 <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
|
254 <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
|
255 </param> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
256 <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
|
257 <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
|
258 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
259 <when value="from_read_names"> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
260 <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``"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
261 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
262 </conditional> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
263 <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
|
264 <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
|
265 <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
|
266 <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
|
267 <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
|
268 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
269 <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
|
270 <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
|
271 <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
|
272 <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
|
273 <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
|
274 <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
|
275 <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
|
276 <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
|
277 </param> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
278 <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
|
279 <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
|
280 <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
|
281 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
282 <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
|
283 <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
|
284 <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
|
285 <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
|
286 <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
|
287 <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
|
288 </param> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
289 <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
|
290 <!--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
|
291 <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
|
292 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
293 <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
|
294 <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
|
295 <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
|
296 <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
|
297 <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
|
298 <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
|
299 <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
|
300 <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
|
301 </param> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
302 <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
|
303 <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
|
304 <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
|
305 <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
|
306 <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
|
307 <!--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
|
308 <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
|
309 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
310 <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
|
311 <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
|
312 <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
|
313 <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
|
314 <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
|
315 <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
|
316 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
317 <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
|
318 <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
|
319 <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
|
320 <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
|
321 <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
|
322 <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
|
323 <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
|
324 <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
|
325 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
326 <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
|
327 <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
|
328 <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
|
329 <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
|
330 <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
|
331 <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
|
332 <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
|
333 <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
|
334 <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
|
335 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
336 <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
|
337 <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
|
338 <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
|
339 <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
|
340 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
341 <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
|
342 <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
|
343 <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
|
344 <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
|
345 </param> |
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_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
|
347 <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
|
348 <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
|
349 <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
|
350 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
351 <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
|
352 <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
|
353 <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
|
354 <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
|
355 </param> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
356 <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
|
357 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
358 <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
|
359 <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
|
360 <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
|
361 <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
|
362 </param> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
363 <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
|
364 <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
|
365 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
366 <when value="metrics.frag_size_distr"> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
367 <!-- TODO move this to plotting --> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
368 <expand macro="inputs_anndata"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
369 <param argument="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
|
370 <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
|
371 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
372 <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
|
373 <!-- 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
|
374 <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
|
375 <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
|
376 </when> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
377 </conditional> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
378 <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
|
379 </inputs> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
380 <outputs> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
381 <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
|
382 <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
|
383 </data> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
384 <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
|
385 <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
|
386 </data> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
387 <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
|
388 <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
|
389 </data> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
390 </outputs> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
391 <tests> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
392 <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
|
393 <!-- 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
|
394 <conditional name="method"> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
395 <param name="method" 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
|
396 <param name="bam_file" location="https://zenodo.org/records/11199963/files/pbmc_500_chr21_subsample.bam"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
397 <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
|
398 <conditional name="barcode"> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
399 <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
|
400 <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
|
401 </conditional> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
402 <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
|
403 <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
|
404 <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
|
405 <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
|
406 </conditional> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
407 <output name="fragments_out" location="https://zenodo.org/records/11199963/files/pp.make_fragment_file.pbmc_500_chr21.tsv.gz" ftype="interval" compare="sim_size" delta_frac="0.1"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
408 </test> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
409 <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
|
410 <!-- 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
|
411 <conditional name="method"> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
412 <param name="method" 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
|
413 <param name="fragment_file" location="https://zenodo.org/records/11199963/files/pbmc_500_chr21.tsv.gz"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
414 <param name="chrom_sizes" location="https://zenodo.org/records/11199963/files/chr21_size.tabular"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
415 <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
|
416 <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
|
417 <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
|
418 <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
|
419 <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
|
420 <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
|
421 </conditional> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
422 <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
|
423 <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
|
424 </section> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
425 <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
|
426 <assert_contents> |
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="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
|
428 <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
|
429 <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
|
430 <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
|
431 <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
|
432 <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
|
433 <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
|
434 </assert_contents> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
435 </output> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
436 <output name="anndata_out" location="https://zenodo.org/records/11199963/files/pp.import_data.pbmc_500_chr21.h5ad" ftype="h5ad" compare="sim_size" delta_frac="0.1"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
437 </test> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
438 </tests> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
439 <help><![CDATA[ |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
440 Convert a BAM file`to a fragment file, `using 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
|
441 ==================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
442 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
443 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
|
444 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
445 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
|
446 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
447 - 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
|
448 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
449 - 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
|
450 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
451 - 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
|
452 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
453 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
|
454 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
455 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
|
456 <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
|
457 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
458 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
|
459 =============================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
460 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
461 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
|
462 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
463 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
|
464 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
465 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
|
466 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
467 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
|
468 <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
|
469 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
470 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
|
471 ============================================================= |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
472 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
473 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
|
474 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
475 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
|
476 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
477 `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
|
478 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
479 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
|
480 <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
|
481 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
482 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
|
483 ================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
484 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
485 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
|
486 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
487 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
|
488 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
489 `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
|
490 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
491 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
|
492 <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
|
493 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
494 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
|
495 ============================================================================================ |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
496 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
497 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
|
498 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
499 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
|
500 <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
|
501 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
502 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
|
503 ===================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
504 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
505 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
|
506 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
507 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
|
508 <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
|
509 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
510 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
|
511 ======================================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
512 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
513 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
|
514 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
515 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
|
516 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
517 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
|
518 <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
|
519 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
520 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
|
521 ================================================================================================= |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
522 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
523 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
|
524 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
525 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
|
526 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
527 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
|
528 <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
|
529 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
530 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
|
531 ================================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
532 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
533 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
|
534 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
535 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
|
536 <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
|
537 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
538 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
|
539 =================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
540 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
541 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
|
542 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
543 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
|
544 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
545 More details on the `SnapATAC2 documentation |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
546 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.harmony.html>`__ |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
547 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
548 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
|
549 ======================================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
550 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
551 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
|
552 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
553 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
|
554 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
555 More details on the `SnapATAC2 documentation |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
556 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.pp.scanorama_integrate.html>`__ |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
557 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
558 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
|
559 ====================================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
560 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
561 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
|
562 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
563 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
|
564 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
565 More details on the `SnapATAC2 documentation |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
566 <https://kzhang.org/SnapATAC2/api/_autosummary/snapatac2.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
|
567 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
568 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
|
569 =========================================================================== |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
570 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
571 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
|
572 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
573 `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
|
574 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
575 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
|
576 <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
|
577 |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
578 ]]></help> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
579 <expand macro="citations"/> |
00a6721e1f81
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snapatac2 commit be132b56781bede5dc6e020aa80ca315546666cd
iuc
parents:
diff
changeset
|
580 </tool> |