annotate biohansel.xml @ 10:cd6682c83b22 draft default tip

"planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
author nml
date Mon, 21 Oct 2019 09:32:21 -0400
parents e305df0b1af7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
1 <tool id="biohansel" name="biohansel" version="2.4.0">
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
2 <description>SNP subtyping of genome sequence reads or assemblies</description>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
3 <requirements>
10
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
4 <requirement type="package" version="2.4.0">bio_hansel</requirement>
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
5 </requirements>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
6 <command detect_errors="exit_code">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
7 <![CDATA[
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
8
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
9 #import re
9
e305df0b1af7 planemo upload for repository https://github.com/phac-nml/biohansel commit 13f8e2ed8e9de3e1437cc9632110ce5395e34191
nml
parents: 8
diff changeset
10 #import os
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
11
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
12 ## Illumina FASTQ naming regular expression (https://github.com/phac-nml/biohansel/issues/38)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
13 #set global $ILLUMINA_REGEX = $re.compile(r'^([\w\-\_]+)_S\d+_L\d{3}_R(\d)_001\.fastq(\.gz)?$')
6
ba6a0af656a6 planemo upload for repository https://github.com/phac-nml/biohansel commit 27adc5d715e9adc4b037586cccf1244cf031a7af
nml
parents: 5
diff changeset
14 #set global $FASTQ_DUMP_REGEX = $re.compile(r'^(\w+|\d+):((forward|reverse)(_\d+)?)')
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
15
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
16 #def is_gzipped_fastq($data_input)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
17 ## Is FASTQ data param gzipped type? i.e. either 'fastq.gz' or 'fastqsanger.gz'?
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
18 #return $data_input.is_of_type('fastqsanger.gz') or $data_input.is_of_type('fastq.gz')
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
19 #end def
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
20
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
21 #def get_fastq_ext($data_input)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
22 ## Get file extension for FASTQ data param
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
23 #return '.fastq.gz' if $is_gzipped_fastq($data_input) else '.fastq'
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
24 #end def
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
25
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
26 #def base_sample_name($name)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
27 ## Get the base sample name and append 1/2 depending on if forward/reverse read
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
28 #set $illumina_match = $ILLUMINA_REGEX.match($name)
1
1f8eccf9d15d planemo upload for repository https://github.com/phac-nml/biohansel commit b0060acc515bac2a79f60bb3c9d1f3243a5769f3
nml
parents: 0
diff changeset
29 #set $fastq_dump_match = $FASTQ_DUMP_REGEX.match($name)
1f8eccf9d15d planemo upload for repository https://github.com/phac-nml/biohansel commit b0060acc515bac2a79f60bb3c9d1f3243a5769f3
nml
parents: 0
diff changeset
30
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
31 #if $illumina_match
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
32 #return $illumina_match.group(1)
6
ba6a0af656a6 planemo upload for repository https://github.com/phac-nml/biohansel commit 27adc5d715e9adc4b037586cccf1244cf031a7af
nml
parents: 5
diff changeset
33 #elif $fastq_dump_match
ba6a0af656a6 planemo upload for repository https://github.com/phac-nml/biohansel commit 27adc5d715e9adc4b037586cccf1244cf031a7af
nml
parents: 5
diff changeset
34 #return $fastq_dump_match.group(1)
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
35 #elif $re.search(r'_R(1|2)', $name):
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
36 #return $re.sub(r'(.+)_R(1|2)([^\.]*)(\..+)', r'\1\3', $name)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
37 #elif $re.match(r'.+_\d\.', $name):
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
38 #return $re.sub(r'(.+)_(\d)(\..+)', r'\1', $name)
1
1f8eccf9d15d planemo upload for repository https://github.com/phac-nml/biohansel commit b0060acc515bac2a79f60bb3c9d1f3243a5769f3
nml
parents: 0
diff changeset
39 #else
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
40 #return $name
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
41 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
42 #end def
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
43
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
44 #def get_paired_fastq_filename($data_input, $name=None, $is_forward=True)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
45 ## Get paired FASTQ filename for a data param with appropriate file extension
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
46 ## with '_1' or '_2' appended if forward or reverse reads, respectively.
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
47 #set $name = $name if $name is not None else $data_input.name
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
48 #set $name = $base_sample_name($name)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
49 #set $postfix = '1' if $is_forward else '2'
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
50 #set $ending = '_{}{}'.format($postfix, $get_fastq_ext($data_input))
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
51 #return '"{}"'.format($name) if $ending in $name else '"{}{}"'.format($name, $ending)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
52 #end def
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
53
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
54 ## Create symlinks from Galaxy *.dat to <sample_name>(.fasta|.fastq|.fastq.gz)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
55 #if $input.type == 'fasta'
9
e305df0b1af7 planemo upload for repository https://github.com/phac-nml/biohansel commit 13f8e2ed8e9de3e1437cc9632110ce5395e34191
nml
parents: 8
diff changeset
56 #set $input_files = '"{}.fasta"'.format(os.path.splitext($input.fasta.name)[0])
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
57 ln -s "$input.fasta" $input_files &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
58 #elif $input.type == 'paired'
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
59 #set $forward_filename = $get_paired_fastq_filename($input.forward)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
60 #set $reverse_filename = $get_paired_fastq_filename($input.reverse, is_forward=False)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
61 #set $input_files = '{} {}'.format($forward_filename, $reverse_filename)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
62 ln -s "$input.forward" $forward_filename &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
63 ln -s "$input.reverse" $reverse_filename &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
64 #elif $input.type == 'single'
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
65 #set $input_files = '"{}"'.format($input.single.name)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
66 ln -s "$input.single" $input_files &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
67 #elif $input.type == 'paired_collection'
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
68 #set $forward_filename = $get_paired_fastq_filename($input.paired_collection.forward)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
69 #set $reverse_filename = $get_paired_fastq_filename($input.paired_collection.reverse, is_forward=False)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
70 #set $input_files = '{} {}'.format($forward_filename, $reverse_filename)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
71 ln -s "$input.paired_collection.forward" $forward_filename &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
72 ln -s "$input.paired_collection.reverse" $reverse_filename &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
73 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
74
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
75 ## Checking for custom scheme.
7
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
76 #if $type_of_scheme.scheme_check == "custom":
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
77 #if $type_of_scheme.scheme_input.is_of_type('fasta'):
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
78 ln -s '$type_of_scheme.scheme_input' '$type_of_scheme.scheme_input.name' &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
79 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
80 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
81
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
82 #def get_subtype_metadata_filename($data_input)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
83 ## Ensure that the subtype metadata table file has the proper extension - .tab or .csv
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
84 #set $filename = $data_input.name
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
85 #if $data_input.is_of_type('tabular')
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
86 #return '{}.tab'.format($filename)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
87 #elif $data_input.is_of_type('csv')
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
88 #return '{}.csv'.format($filename)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
89 #else
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
90 #return None
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
91 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
92 #end def
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
93
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
94 ## Symlink to subtype metadata table if it is specified
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
95 #if $subtype_metadata
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
96 #set global $subtype_metadata_filename = $get_subtype_metadata_filename($subtype_metadata)
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
97 #if $subtype_metadata_filename
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
98 ln -s '$subtype_metadata' '$subtype_metadata_filename' &&
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
99 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
100 #else
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
101 #set global $subtype_metadata_filename = None
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
102 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
103
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
104 #################################
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
105 ## biohansel command starts here:
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
106 #################################
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
107 hansel
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
108 -vvv
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
109 -t "\${GALAXY_SLOTS:-1}"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
110 -o results.tab
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
111 -O match_results.tab
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
112 -S tech_results.tab
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
113 $dev_args.use_json
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
114 $input_files
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
115 --scheme
7
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
116 #if $type_of_scheme.scheme_check == "custom":
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
117 '$type_of_scheme.scheme_input.name'
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
118 #else:
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
119 $type_of_scheme.scheme_type
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
120 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
121 #if $subtype_metadata_filename
4
23fbe781ce41 planemo upload for repository https://github.com/phac-nml/biohansel commit 369308400b3da271319e5ca89245bde68ece87de
nml
parents: 3
diff changeset
122 --scheme-metadata '$subtype_metadata_filename'
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
123 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
124 #if $kmer_vals.kmer_min
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
125 --min-kmer-freq $kmer_vals.kmer_min
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
126 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
127 #if $kmer_vals.kmer_max
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
128 --max-kmer-freq $kmer_vals.kmer_max
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
129 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
130 #if $qc_vals.low_cov_depth_freq
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
131 --low-cov-depth-freq $qc_vals.low_cov_depth_freq
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
132 #end if
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
133 #if $qc_vals.max_missing_kmers
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
134 --max-missing-kmers $qc_vals.max_missing_kmers
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
135 #end if
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
136 #if $qc_vals.min_ambiguous_kmers
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
137 --min-ambiguous-kmers $qc_vals.min_ambiguous_kmers
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
138 #end if
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
139 #if $qc_vals.max_intermediate_kmers
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
140 --max-intermediate-kmers $qc_vals.max_intermediate_kmers
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
141 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
142 #if $qc_vals.low_coverage_warning
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
143 --low-cov-warning $qc_vals.low_coverage_warning
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
144 #end if
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
145 ]]>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
146 </command>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
147 <inputs>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
148 <conditional name="input">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
149 <param name="type" type="select" label="Sequence Data Type">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
150 <option value="fasta">Contigs (FASTA)</option>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
151 <option value="paired">Paired-end reads (FASTQ)</option>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
152 <option value="single">Single-end reads (FASTQ)</option>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
153 <option value="paired_collection">Paired-end reads collection (FASTQ)</option>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
154 </param>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
155 <when value="fasta">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
156 <param name="fasta"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
157 type="data" format="fasta"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
158 optional="false"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
159 label="Contigs (FASTA)"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
160 />
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
161 </when>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
162 <when value="paired">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
163 <param name="forward"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
164 type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
165 optional="false"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
166 label="Forward reads (FASTQ)"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
167 help="Must have ASCII encoded quality scores"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
168 />
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
169 <param name="reverse"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
170 type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
171 optional="false"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
172 label="Reverse reads (FASTQ)"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
173 help="File format must match the Forward FASTQ file"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
174 />
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
175 </when>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
176 <when value="single">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
177 <param name="single"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
178 type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
179 optional="false"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
180 label="Single-end reads (FASTQ)"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
181 />
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
182 </when>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
183 <when value="paired_collection">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
184 <param name="paired_collection"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
185 type="data_collection" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz,txt"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
186 collection_type="paired"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
187 optional="false"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
188 label="Paired-end reads collection (FASTQ)"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
189 />
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
190 </when>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
191 </conditional>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
192 <conditional name="type_of_scheme">
7
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
193 <param name="scheme_check" type="select"
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
194 label="Subtyping Schemes"
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
195 help="Use included scheme or custom">
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
196 <option value="standard">Included Biohansel Schemes</option>
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
197 <option value="custom">Select User Custom Scheme</option>
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
198 </param>
7
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
199 <when value="standard">
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
200 <param name="scheme_type" type="select"
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
201 label="Included SNP Subtyping Scheme">
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
202 <option value="heidelberg">Salmonella Heidelberg subtyping scheme</option>
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
203 <option value="enteritidis">Salmonella Enteritidis subtyping scheme</option>
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
204 <option value="typhi">Salmonella Typhi subtyping scheme</option>
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
205 <option value="typhimurium">Salmonella Typhimurium subtyping scheme</option>
10
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
206 <option value="tb_lineage">Mycobacterium Tuberculosis subtyping scheme</option>
7
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
207 </param>
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
208 </when>
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
209 <when value="custom">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
210 <param name="scheme_input"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
211 type="data" format="fasta"
7
3360158bb0c5 planemo upload for repository https://github.com/phac-nml/biohansel commit e3553c3c89db60cd285a401bc1c06fdd32665dd2
nml
parents: 6
diff changeset
212 label="Your Custom Biohansel SNP Subtyping Scheme"/>
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
213 </when>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
214 </conditional>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
215 <param name="subtype_metadata"
10
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
216 type="data" format="tabular"
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
217 optional="true"
10
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
218 label="Scheme Subtype Metadata Table (tsv) [Optional]"
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
219 help="Tab-delimited format only (.tsv) to add metadata table to results. Must contain a column called 'subtype'."
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
220 />
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
221 <!-- K-mer frequencies. -->
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
222 <section name="kmer_vals" title="K-mer Frequency Thresholds" expanded="False">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
223 <param name="kmer_min" type="integer"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
224 argument="--min-kmer-freq"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
225 optional="true"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
226 min="0" value="8"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
227 label="Min k-mer frequency/coverage"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
228 help="default = 8"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
229 <param name="kmer_max" type="integer"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
230 argument="--max-kmer-freq"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
231 optional="true"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
232 min="1" value="1000"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
233 label="Max k-mer frequency/coverage"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
234 help="default = 1000"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
235 </section>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
236 <!-- Quality Checking Parameters -->
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
237 <section name="qc_vals" title="Quality Checking Thresholds" expanded="False">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
238 <param name="low_cov_depth_freq" type="integer"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
239 argument="--low-cov-depth-freq"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
240 value="20" min="0"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
241 optional="true"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
242 label="QC: Frequency below this coverage are considered low coverage"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
243 help="default = 20"/>
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
244 <param name="min_ambiguous_kmers" type="integer"
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
245 argument="--min-ambiguous-kmers"
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
246 optional="true"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
247 value="3" min="0"
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
248 label="QC: Min number of kmers missing for Ambiguous Result"
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
249 help="default = 3"/>
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
250 <param name="max_missing_kmers" type="float"
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
251 argument="--max-missing-kmers"
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
252 optional="true"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
253 value="0.05" min="0" max="1"
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
254 label="QC: Decimal Proportion of max allowed missing kmers" help="default = 0.05, valid values {0.0 - 1.0}"/>
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
255 <param name="max_intermediate_kmers" type="float"
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
256 argument="--max-intermediate-kmers"
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
257 optional="true"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
258 value="0.05" min="0" max="1"
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
259 label="QC: Decimal Proportion of max allowed missing kmers for an intermediate subtype"
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
260 help="default = 0.05, valid values {0.0 - 1.0}"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
261 <param name="low_coverage_warning" type="integer"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
262 argument="--low-cov-warning"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
263 optional="true"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
264 value="20"
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
265 label="QC: Overall kmer coverage below this value will trigger a low coverage warning"
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
266 help="default = 20"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
267 </section>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
268 <section name="dev_args" title="Developer Options" expanded="False">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
269 <param name="use_json"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
270 type="boolean"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
271 checked="false"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
272 truevalue="--json"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
273 falsevalue=""
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
274 label="Output JSON results"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
275 help="Use this option of you need json representations of analysis' details"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
276 </section>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
277 </inputs>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
278 <outputs>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
279 <data format="tabular" name="results.tab" from_work_dir="results.tab" label="results.tab"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
280 <data format="tabular" name="match_results.tab" from_work_dir="match_results.tab" label="match_results.tab"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
281 <data format="tabular" name="tech_results.tab" from_work_dir="tech_results.tab" label="tech_results.tab"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
282 <data format="json" name="results.json" from_work_dir="results.tab.json" label="results.json">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
283 <filter>dev_args['use_json']</filter>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
284 </data>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
285 <data format="json" name="match_results.json" from_work_dir="match_results.tab.json" label="match_results.json">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
286 <filter>dev_args['use_json']</filter>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
287 </data>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
288 <data format="json" name="tech_results.json" from_work_dir="tech_results.tab.json" label="tech_results.json">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
289 <filter>dev_args['use_json']</filter>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
290 </data>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
291 </outputs>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
292 <tests>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
293 <test>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
294 <conditional name="input">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
295 <param name="type" value="fasta"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
296 <param name="fasta" value="SRR1002850_SMALL.fasta"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
297 </conditional>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
298 <param name="type_of_scheme" value="heidelberg"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
299 <output name="results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
300 value="SRR1002850_SMALL.fasta-results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
301 ftype="tabular"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
302 compare="sim_size"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
303 delta="1000">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
304 </output>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
305 <output name="match_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
306 value="SRR1002850_SMALL.fasta-match_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
307 ftype="tabular"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
308 compare="sim_size"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
309 delta="16000">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
310 </output>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
311 <output name="tech_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
312 value="SRR1002850_SMALL.fasta-tech_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
313 ftype="tabular"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
314 lines_diff="0">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
315 </output>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
316 </test>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
317 <test>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
318 <conditional name="input">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
319 <param name="type" value="paired"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
320 <param name="forward" value="SRR5646583_SMALL_1.fastq"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
321 <param name="reverse" value="SRR5646583_SMALL_2.fastq"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
322 </conditional>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
323 <param name="type_of_scheme" value="heidelberg"/>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
324 <output name="tech_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
325 value="SRR5646583_SMALL-tech_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
326 ftype="tabular"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
327 lines_diff="0">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
328 </output>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
329 <output name="results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
330 value="SRR5646583_SMALL-results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
331 ftype="tabular"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
332 compare="sim_size"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
333 delta="1000">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
334 </output>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
335 <output name="match_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
336 value="SRR5646583_SMALL-match_results.tab"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
337 ftype="tabular"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
338 compare="sim_size"
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
339 delta="16000">
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
340 </output>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
341 </test>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
342 </tests>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
343 <help><![CDATA[
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
344 Subtype microbial whole-genome sequencing (WGS) data using single-nucleotide polymorphism (SNP) targeting k-mer subtyping schemes.
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
345
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
346 **Usage**
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
347
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
348 1) Select the sequence data you wish to subtype (FASTAs or FASTQs)
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
349 2) Select subtyping scheme (e.g. *Salmonella enterica* serovar Heidelberg, Enteritidis, Typhimurium, or Typhi subtyping scheme, or your own custom `biohansel` compatible subtyping scheme)
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
350 3) [Optional] Select your subtype metadata information table to include subtype metadata along with your subtype results
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
351 4) Click ``Execute``
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
352
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
353 For more information, visit `the biohansel project page <https://github.com/phac-nml/biohansel>`_ or the `biohansel read the docs page <https://bio-hansel.readthedocs.io/en/readthedocs/>`_.
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
354
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
355
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
356 **Example analysis results of a single FASTA file**
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
357
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
358 Contents of ``results.tab``:
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
359
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
360 +------------------+------------+----------------+-------------+------------------------------------------------+---------------------------------------------------------------+-------------------------+-----------------------+----------------------+-------------------------------+---------------------------+------------------------------------+--------------------------+-----------------------------------+------------------------+-----------+------------+
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
361 | sample | scheme | scheme_version | subtype | all_subtypes | kmers_matching_subtype | are_subtypes_consistent | inconsistent_subtypes | n_kmers_matching_all | n_kmers_matching_all_expected | n_kmers_matching_positive | n_kmers_matching_positive_expected | n_kmers_matching_subtype | n_kmers_matching_subtype_expected | file_path | qc_status | qc_message |
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
362 +------------------+------------+----------------+-------------+------------------------------------------------+---------------------------------------------------------------+-------------------------+-----------------------+----------------------+-------------------------------+---------------------------+------------------------------------+--------------------------+-----------------------------------+------------------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
363 | SRR1002850_SMALL | heidelberg | 0.5.0 | 2.2.2.2.1.4 | 2; 2.2; 2.2.2; 2.2.2.2; 2.2.2.2.1; 2.2.2.2.1.4 | 2154958-2.2.2.2.1.4; 1037658-2.2.2.2.1.4; 3785187-2.2.2.2.1.4 | True | | 202 | 202 | 17 | 17 | 3 | 3 | SRR1002850_SMALL.fasta | PASS | |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
364 +------------------+------------+----------------+-------------+------------------------------------------------+---------------------------------------------------------------+-------------------------+-----------------------+----------------------+-------------------------------+---------------------------+------------------------------------+--------------------------+-----------------------------------+------------------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
365
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
366
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
367 Contents of ``match_results.tab``:
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
368
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
369 +---------------------------+-----------------------------------+------------+---------------------------------------+-------------+-------------+-------------+-------------+------------------+------------------------+------------+----------------+-----------+------------+
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
370 | kmername | seq | is_revcomp | contig_id | match_index | refposition | subtype | is_pos_kmer | sample | file_path | scheme | scheme_version | qc_status | qc_message |
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
371 +---------------------------+-----------------------------------+------------+---------------------------------------+-------------+-------------+-------------+-------------+------------------+------------------------+------------+----------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
372 | 2154958-2.2.2.2.1.4 | GGCGCGCCACGGTTACTCCCCGGTGGTCAGCCG | True | NODE_1_length_726282_cov_40.4705_ID_1 | 13732 | 2154958 | 2.2.2.2.1.4 | True | SRR1002850_SMALL | SRR1002850_SMALL.fasta | heidelberg | 0.5.0 | PASS | |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
373 +---------------------------+-----------------------------------+------------+---------------------------------------+-------------+-------------+-------------+-------------+------------------+------------------------+------------+----------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
374 | negative2131791-2.2.3.1.3 | GCTGGGCGAAATGATGCAGTTCACCACTTGCTC | True | NODE_1_length_726282_cov_40.4705_ID_1 | 36900 | 2131791 | 2.2.3.1.3 | False | SRR1002850_SMALL | SRR1002850_SMALL.fasta | heidelberg | 0.5.0 | PASS | |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
375 +---------------------------+-----------------------------------+------------+---------------------------------------+-------------+-------------+-------------+-------------+------------------+------------------------+------------+----------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
376
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
377 *Next 201 lines omitted.*
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
378
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
379
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
380
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
381 **Example analysis results of a single FASTQ readset**
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
382
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
383
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
384 Contents of ``results.tab``:
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
385
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
386 +------------------+------------+----------------+-------------+------------------------------------------------+------------------------------------------+-------------------------+-----------------------+----------------------+-------------------------------+---------------------------+------------------------------------+--------------------------+-----------------------------------+----------------------------------------------------------+-------------------+-----------+------------+
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
387 | sample | scheme | scheme_version | subtype | all_subtypes | kmers_matching_subtype | are_subtypes_consistent | inconsistent_subtypes | n_kmers_matching_all | n_kmers_matching_all_expected | n_kmers_matching_positive | n_kmers_matching_positive_expected | n_kmers_matching_subtype | n_kmers_matching_subtype_expected | file_path | avg_kmer_coverage | qc_status | qc_message |
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
388 +------------------+------------+----------------+-------------+------------------------------------------------+------------------------------------------+-------------------------+-----------------------+----------------------+-------------------------------+---------------------------+------------------------------------+--------------------------+-----------------------------------+----------------------------------------------------------+-------------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
389 | SRR5646583_SMALL | heidelberg | 0.5.0 | 2.2.1.1.1.1 | 2; 2.2; 2.2.1; 2.2.1.1; 2.2.1.1.1; 2.2.1.1.1.1 | 1983064-2.2.1.1.1.1; 4211912-2.2.1.1.1.1 | True | | 202 | 202 | 20 | 20 | 2 | 2 | ['SRR5646583_SMALL_1.fastq', 'SRR5646583_SMALL_2.fastq'] | 42.631 | PASS | |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
390 +------------------+------------+----------------+-------------+------------------------------------------------+------------------------------------------+-------------------------+-----------------------+----------------------+-------------------------------+---------------------------+------------------------------------+--------------------------+-----------------------------------+----------------------------------------------------------+-------------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
391
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
392 Contents of ``match_results.tab``:
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
393
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
394 +---------------------+-----------------------------------+------+-------------+-----------+-------------+-------------------+------------------+------------+----------------+-----------+------------+
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
395 | kmername | seq | freq | refposition | subtype | is_pos_kmer | is_kmer_freq_okay | sample | scheme | scheme_version | qc_status | qc_message |
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
396 +---------------------+-----------------------------------+------+-------------+-----------+-------------+-------------------+------------------+------------+----------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
397 | negative4642573-1.2 | TACCAGGAAGTGCTGGAAGAGTTTAACGAACAT | 62 | 4642573 | 1.2 | False | True | SRR5646583_SMALL | heidelberg | 0.5.0 | PASS | |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
398 +---------------------+-----------------------------------+------+-------------+-----------+-------------+-------------------+------------------+------------+----------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
399 | 21097-2.2.1.1.1 | GCAAATCGCGCCAGTCAAGTCCTCTTTTACCGT | 42 | 21097 | 2.2.1.1.1 | True | True | SRR5646583_SMALL | heidelberg | 0.5.0 | PASS | |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
400 +---------------------+-----------------------------------+------+-------------+-----------+-------------+-------------------+------------------+------------+----------------+-----------+------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
401
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
402 *Next 202 lines omitted.*
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
403
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
404
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
405 **Example Subtype Metadata**
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
406
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
407 A column with name `subtype` must exist and should have subtype designations that would appear in your biohansel results. There are no requirements for the number of columns or contents of those columns in the table - they can contain whatever you want.
10
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
408 Metadata must be structured in a tab-delimited format (.tsv) to be a valid input.
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
409
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
410 +-------------+-------+--------+------------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
411 | subtype | clade | source | disease_symptoms |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
412 +-------------+-------+--------+------------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
413 | 1 | I | geese | death |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
414 +-------------+-------+--------+------------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
415 | 1.1 | I | moose | burns |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
416 +-------------+-------+--------+------------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
417 | 2.2.1.1.1 | II | mouse | boils |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
418 +-------------+-------+--------+------------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
419 | 2.2.2.2.1.4 | IIa | house | rash |
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
420 +-------------+-------+--------+------------------+
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
421
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
422 The `biohansel` results table will be joined with the subtype metadata table on the `subtype` field so if there are subtype metadata for your `biohansel` results, it will show up in the final output table. For example, if you have a sample that produces a result with subtype "1", there will also be columns "clade", "source" and "disease_symptoms" with "I", "geese" and "death", respectively.
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
423
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
424
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
425 Galaxy wrapper written by Matthew Gopez and Peter Kruczkiewicz at the Public Health Agency of Canada, National Microbiology Laboratory.
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
426
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
427 ]]></help>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
428 <citations>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
429 <citation type="bibtex">@ARTICLE{a1,
10
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
430 title = {Rapid and robust genotyping of highly clonal bacterial pathogens using BioHansel, a SNP-based k-mer search pipeline},
cd6682c83b22 "planemo upload for repository https://github.com/phac-nml/biohansel commit 4fdee1b82288e821ab2cf60d9476c3b83775f337"
nml
parents: 9
diff changeset
431 author = {Geneviève Labbé, Peter Kruczkiewicz, Philip Mabon, James Robertson, Justin Schonfeld, Daniel Kein, Marisa A. Rankin, Matthew Gopez, Darian Hole, David Son, Natalie Knox, Chad R. Laing, Kyrylo Bessonov, Eduardo Taboada, Catherine Yoshida, Anil Nichani, Roger P. Johnson, Gary Van Domselaar, John H.E. Nash},
8
4fa9d5e748d4 planemo upload for repository https://github.com/phac-nml/biohansel commit 759c65786566b73806fccaed05802fe01ec4226a
nml
parents: 7
diff changeset
432 url = {https://github.com/phac-nml/biohansel}
0
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
433 }
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
434 }</citation>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
435 </citations>
c6e29bb1ab31 planemo upload for repository https://github.com/phac-nml/biohansel commit 854e6b30be03b1402efd45d0a7925cce15c3af0c
nml
parents:
diff changeset
436 </tool>