annotate macros.xml @ 0:d2a4c2cb8779 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
author bgruening
date Fri, 23 May 2025 09:49:04 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
1 <macros>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
2 <token name="@TOOL_VERSION@">0.8.1</token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
3 <token name="@VERSION_SUFFIX@">0</token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
4 <token name="@LICENSE@">MIT</token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
5 <token name="@DB_SELECTOR@"><![CDATA[
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
6 #if $database_select.select == 'cached' or $database_select.select == 'cached_and_custom':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
7 #set $databases = str($database_select.sylph_database.fields.path).split(',')
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
8 #for $number, $current_db in enumerate($databases):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
9 #set $db_name = str($number) + "_sylph_database.syldb"
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
10 ln -s '$current_db' '$db_name' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
11 #end for
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
12 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
13
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
14 #if $database_select.select == 'cached'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
15 #set $metadata = str($database_select.sylph_database.fields.sylph_tax_identifier).split(',')
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
16 #set metadata_files = ''
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
17 #for $number, $current_metadata in enumerate($metadata):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
18 #set metadata_files = str($metadata_files) + str($current_metadata) + ' '
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
19 #end for
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
20 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
21
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
22 ]]></token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
23 <token name="@SINGLE_INPUT_FASTQ@"><![CDATA[
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
24 #if $sketch_reads.input.ext == 'fastqsanger'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
25 #set $ext = 'fastq'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
26 #else if $sketch_reads.input.ext == 'fastqsanger.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
27 #set $ext = 'fastq.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
28 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
29 #set $ext = str($sketch_reads.input.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
30 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
31 #if $sketch_reads.input.element_identifier.endswith('.fastq') or $sketch_reads.input.element_identifier.endswith('.fastq.gz'):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
32 #set $input = re.sub(r'\s+', '_', $sketch_reads.input.element_identifier)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
33 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
34 #set $input = re.sub(r'\s+', '_', $sketch_reads.input.element_identifier + '.' + str($ext))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
35 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
36 ln -s '$sketch_reads.input' '$input' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
37 ]]></token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
38 <token name="@SINGLE_GROUP_FASTQ@"><![CDATA[
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
39 #set input = ''
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
40 #for $number, $current_file in enumerate($sketch_reads.input):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
41 #if $current_file.ext == 'fastqsanger'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
42 #set $ext = 'fastq'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
43 #else if $current_file.ext == 'fastqsanger.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
44 #set $ext = 'fastq.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
45 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
46 #set $ext = str($current_file.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
47 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
48 #if $current_file.element_identifier.endswith('.fastq') or $current_file.element_identifier.endswith('.fastq.gz'):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
49 #set $current_input = re.sub(r'\s+', '_', $current_file.element_identifier)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
50 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
51 #set $current_input = re.sub(r'\s+', '_', $current_file.element_identifier + '.' + str($ext))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
52 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
53 ln -s '${current_file}' '$current_input' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
54 #set input = str($input) + ' ' + str($current_input)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
55 #end for
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
56 ]]></token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
57 <token name="@PAIRED@"><![CDATA[
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
58 #if $sketch_reads.input_1.ext == 'fastqsanger'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
59 #set $ext_1 = 'fastq'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
60 #else if $sketch_reads.input_1.ext == 'fastqsanger.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
61 #set $ext_1 = 'fastq.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
62 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
63 #set $ext_1 = str($sketch_reads.input_1.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
64 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
65
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
66 #if $sketch_reads.input_2.ext == 'fastqsanger'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
67 #set $ext_2 = 'fastq'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
68 #else if $sketch_reads.input_2.ext == 'fastqsanger.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
69 #set $ext_2 = 'fastq.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
70 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
71 #set $ext_2 = str($sketch_reads.input_2.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
72 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
73
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
74 #if $sketch_reads.input_1.element_identifier.endswith('.fastq') or $sketch_reads.input_1.element_identifier.endswith('.fastq.gz'):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
75 #set $read1 = re.sub(r'\s+', '_', $sketch_reads.input_1.element_identifier)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
76 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
77 #set $read1 = re.sub(r'\s+', '_', str($sketch_reads.input_1.element_identifier) + '.' + str($ext_1))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
78 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
79 #if $sketch_reads.input_2.element_identifier.endswith('.fastq') or $sketch_reads.input_2.element_identifier.endswith('.fastq.gz'):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
80 #set $read2 = re.sub(r'\s+', '_', $sketch_reads.input_2.element_identifier)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
81 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
82 #set $read2 = re.sub(r'\s+', '_', str($sketch_reads.input_2.element_identifier) + '.' + str($ext_2))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
83 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
84 ln -s '$sketch_reads.input_1' '$read1' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
85 ln -s '$sketch_reads.input_2' '$read2' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
86 ]]></token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
87 <token name="@PAIRED_GROUP@"><![CDATA[
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
88 #if $sketch_reads.input.forward.ext == 'fastqsanger'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
89 #set $ext_1 = 'fastq'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
90 #else if $sketch_reads.input.forward.ext == 'fastqsanger.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
91 #set $ext_1 = 'fastq.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
92 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
93 #set $ext_1 = str($sketch_reads.input.forward.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
94 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
95
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
96 #if $sketch_reads.input.reverse.ext == 'fastqsanger'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
97 #set $ext_2 = 'fastq'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
98 #else if $sketch_reads.input.reverse.ext == 'fastqsanger.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
99 #set $ext_2 = 'fastq.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
100 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
101 #set $ext_2 = str($sketch_reads.input.reverse.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
102 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
103
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
104 #set $read1 = re.sub(r'\s+', '_', str($sketch_reads.input.element_identifier) + '.' + str($ext_1))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
105 #set $read2 = re.sub(r'\s+', '_', str($sketch_reads.input.element_identifier) + '_r2.' + str($ext_2))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
106 ln -s '$sketch_reads.input.forward' '$read1' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
107 ln -s '$sketch_reads.input.reverse' '$read2' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
108 ]]></token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
109 <token name="@SINGLE_INPUT_FASTA@"><![CDATA[
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
110 #if $sketch_fasta.input.ext == 'fasta'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
111 #set $ext = 'fasta'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
112 #else if $sketch_fasta.input.ext == 'fasta.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
113 #set $ext = 'fasta.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
114 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
115 #set $ext = str($sketch_fasta.input.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
116 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
117 #if $sketch_fasta.input.element_identifier.endswith('.fasta') or $sketch_fasta.input.element_identifier.endswith('.fasta.gz'):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
118 #set $input = re.sub(r'\s+', '_', $sketch_fasta.input.element_identifier)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
119 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
120 #set $input = re.sub(r'\s+', '_', $sketch_fasta.input.element_identifier + '.' + str($ext))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
121 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
122 ln -s '$sketch_fasta.input' '$input' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
123 ]]></token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
124 <token name="@SINGLE_GROUP_FASTA@"><![CDATA[
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
125 #set input = ''
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
126 #for $number, $current_file in enumerate($sketch_fasta.input):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
127 #if $sketch_fasta.input.ext == 'fasta'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
128 #set $ext = 'fasta'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
129 #else if $sketch_fasta.input.ext == 'fasta.gz':
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
130 #set $ext = 'fasta.gz'
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
131 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
132 #set $ext = str($current_file.ext)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
133 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
134 #if $current_file.element_identifier.endswith('.fasta') or $current_file.element_identifier.endswith('.fasta.gz'):
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
135 #set $current_input = re.sub(r'\s+', '_', $current_file.element_identifier)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
136 #else:
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
137 #set $current_input = re.sub(r'\s+', '_', $current_file.element_identifier + '.' + str($ext))
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
138 #end if
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
139 ln -s '${current_file}' '$current_input' &&
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
140 #set input = str($input) + ' ' + str($current_input)
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
141 #end for
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
142 ]]></token>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
143 <xml name="requirements">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
144 <requirements>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
145 <requirement type="package" version="@TOOL_VERSION@">sylph</requirement>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
146 <requirement type="package" version="3.11">python</requirement>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
147 <requirement type="package" version="2.2">pandas</requirement>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
148 <yield />
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
149 </requirements>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
150 </xml>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
151 <xml name="citation">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
152 <citations>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
153 <citation type="doi">10.1038/s41587-024-02412-y</citation>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
154 </citations>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
155 </xml>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
156 <xml name="creator">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
157 <creator>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
158 <person givenName="Tyler" familyName="Collins"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
159 <person givenName="Alexander" familyName="Ostrovsky"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
160 <person givenName="Hugo" familyName="Lefeuvre"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
161 </creator>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
162 </xml>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
163 <xml name="xrefs">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
164 <xrefs>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
165 <xref type="bio.tools">sylph</xref>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
166 </xrefs>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
167 </xml>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
168 <xml name="input_database">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
169 <when value="custom">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
170 <conditional name="sketch_fasta">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
171 <param name="type_fasta" type="select" label="Select the type of fasta used">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
172 <option value="single_fasta">Individual fasta files</option>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
173 <option value="single_group_fasta">Group of fasta files</option>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
174 </param>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
175 <when value="single_fasta">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
176 <param name="input" type="data" format="fasta,fasta.gz" label="Fasta files"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
177 </when>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
178 <when value="single_group_fasta">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
179 <param name="input" type="data" format="fasta,fasta.gz" label="Fasta files" multiple="true"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
180 </when>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
181 </conditional>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
182 <param name="compression" type="integer" min="0" value="200" label="Compression" help="Memory/runtime scale like 1/c; higher c is faster but less sensitive at low coverage. The -c for genomes must be than >= the -c for reads (strict > is allowed) (-c)" />
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
183 <param name="grouped_genomes" type="boolean" checked="false" label="Creating a database of contigs or if genomes are all in one fasta file" truevalue="Yes" falsevalue="No" help="Considers every record in a fasta (i.e. contig) as a genome (-i)" />
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
184 </when>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
185 <when value="cached_and_custom">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
186 <param label="Select a sylph database" name="sylph_database" type="select" multiple="true" optional="false">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
187 <options from_data_table="sylph_databases">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
188 <filter type="static_value" value="1" column="version"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
189 <validator message="No Sylph databases are available" type="no_options" />
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
190 </options>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
191 </param>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
192 <conditional name="sketch_fasta">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
193 <param name="type_fasta" type="select" label="Select the type of fasta used">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
194 <option value="single_fasta">Individual fasta files</option>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
195 <option value="single_group_fasta">Group of fasta files</option>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
196 </param>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
197 <when value="single_fasta">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
198 <param name="input" type="data" format="fasta,fasta.gz" label="Fasta files"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
199 </when>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
200 <when value="single_group_fasta">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
201 <param name="input" type="data" format="fasta,fasta.gz" label="Fasta files" multiple="true"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
202 </when>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
203 </conditional>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
204 <param name="compression" type="integer" min="0" value="200" label="Compression" help="Memory/runtime scale like 1/c; higher c is faster but less sensitive at low coverage. The -c for genomes must be than >= the -c for reads (strict > is allowed) (-c)" />
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
205 <param name="grouped_genomes" type="boolean" checked="false" label="Creating a database of contigs or if genomes are all in one fasta file" truevalue="Yes" falsevalue="No" help="Considers every record in a fasta (i.e. contig) as a genome (-i)" />
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
206 </when>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
207 </xml>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
208 <xml name="element_assert" token_name="" token_text="">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
209 <element name="@NAME@">
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
210 <assert_contents>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
211 <has_text text="@TEXT@"/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
212 <yield/>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
213 </assert_contents>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
214 </element>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
215 </xml>
d2a4c2cb8779 planemo upload for repository https://github.com/bgruening/galaxytools/main/tools/sylph commit 6ac2834ca0a21512c9986e2fb8d0dcda1c4b0e18
bgruening
parents:
diff changeset
216 </macros>