annotate samtools_consensus.xml @ 2:74e06ecd1f83 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 19dd8b645a77899ff98d139d79de824a23f416bb
author iuc
date Wed, 12 Nov 2025 13:00:06 +0000
parents a4b9be0c418e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
1 <tool id="samtools_consensus" name="Samtools consensus" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
2 <description>generate consensus from a SAM, BAM or CRAM file</description>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
3 <macros>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
4 <import>macros.xml</import>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
5 <import>macros_tool_specific.xml</import>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
6 <token name="@REF_DATA@">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
7 ## additional reference data
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
8 #if $use_ref:
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
9 -T "\$reffa"
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
10 #end if
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
11 </token>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
12 </macros>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
13 <expand macro="requirements"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
14 <expand macro="stdio"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
15 <expand macro="version_command"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
16 <command detect_errors="exit_code"><![CDATA[
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
17 @ADDTHREADS@
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
18 ## prepare reference data
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
19 @PREPARE_FASTA_IDX@
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
20 @PREPARE_IDX@
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
21
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
22 samtools consensus infile
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
23 -f '$format'
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
24 -@ \$addthreads
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
25
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
26 ##### preprocessing options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
27 --min-MQ $preprocessing_options.minimum_MQ
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
28 --min-BQ $preprocessing_options.minimum_BQ
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
29
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
30 ### try macro
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
31 #set $std_filters = ''
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
32 #set $filter = $preprocessing_options.inclusive_filter
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
33 @FLAGS@
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
34 #set $std_filters = $std_filters + " --rf %s" % str($flags)
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
35 #set $filter = $preprocessing_options.exclusive_filter
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
36 @FLAGS@
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
37 #set $std_filters = $std_filters + " --ff %s" % str($flags)
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
38 $std_filters
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
39
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
40 ##### consensus Options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
41 -m '$consensus_options.mode'
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
42 ### simple options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
43 #if str($consensus_options.mode) == "simple":
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
44 $consensus_options.settings.use_qual
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
45 -c $consensus_options.settings.c
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
46 -H $consensus_options.settings.H
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
47 ### bayesian options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
48 #else
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
49 ### use predefined options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
50 #if str($consensus_options.settings.config_cond.config_param) != "manual":
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
51 --config $consensus_options.settings.config_param
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
52 ### manually set parameters
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
53 #else
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
54 -C $consensus_options.settings.C
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
55 #if str($consensus_options.settings.config_cond.mq_cond.mq_param) == "--use-MQ":
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
56 $consensus_options.settings.config_cond.mq_cond.mq_param
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
57 $consensus_options.settings.config_cond.mq_cond.adj_mq
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
58 --NM-halo $consensus_options.settings.config_cond.mq_cond.mismatch_window
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
59 --low-MQ $consensus_options.settings.config_cond.mq_cond.low_mq
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
60 --high-MQ $consensus_options.settings.config_cond.mq_cond.high_mq
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
61 --scale-MQ $consensus_options.settings.config_cond.mq_cond.scale_mq
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
62 #end if
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
63 --P-het $consensus_options.settings.config_cond.p_het
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
64 --P-indel $consensus_options.settings.config_cond.p_indel
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
65 --het-scale $consensus_options.settings.config_cond.hetero_scale
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
66 $consensus_options.settings.config_cond.hom_fix
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
67 #if $consensus_options.settings.config_cond.hom_score:
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
68 --homopoly-score $consensus_options.settings.config_cond.hom_score
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
69 #end if
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
70 #if str($consensus_options.settings.config_cond.calibration_cond.calibration_param) != "file":
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
71 --qual-calibration '$consensus_options.settings.config_cond.calibration_param'
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
72 #else
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
73 #if $consensus_options.settings.config_cond.calibration_cond.calibration_file:
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
74 --qual-calibration '$consensus_options.settings.config_cond.calibration_cond.calibration_file'
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
75 #end if
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
76 #end if
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
77 #end if
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
78 #end if
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
79
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
80 ### global options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
81 --min-depth $global_settings.minimum_depth
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
82 #set reg = '%s:%s-%s' % (str($$global_settings.reg), str($$global_settings.start), str($$global_settings.end))
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
83 -r "${reg}"
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
84
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
85
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
86 @REF_DATA@
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
87
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
88 ##### Output Options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
89 -l $output_options.line_len
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
90 $output_options.all
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
91 --show-del $output_options.show_deletions
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
92 --show-ins $output_options.show_insertions
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
93 $output_options.ambig
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
94 $output_options.mark_insertions
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
95 > $output_file
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
96 ]]></command>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
97 <!-- Parameters -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
98 <inputs>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
99 <!-- Basic options -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
100 <param name="input" type="data" format="sam,bam,cram" label="BAM file"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
101 <param argument="--format" type="select" label="Output file type" help="Produce format FMT, with 'fastq', 'fasta' and 'pileup' as permitted options.">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
102 <option value="fasta" selected="true">FASTA</option>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
103 <option value="fastq">FASTQ</option>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
104 <option value="pileup">Pileup</option>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
105 </param>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
106 <!-- Preprocessing options (reads) -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
107 <section name="preprocessing_options" title="Preprocessing Options" expanded="no">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
108 <param name="minimum_MQ" argument="--min-MQ" type="integer" value="0" min="0" label="Minimum mapping quality" help="Filters out reads with a mapping quality below specified value"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
109 <param name="minimum_BQ" argument="--min-BQ" type="integer" value="0" min="0" label="Minimum base quality" help="Filters out bases with a base quality below specified value"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
110 <!-- Use macro for inclusive and axclusive flags -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
111 <expand macro="inclusive_filter_macro" token_argument="--rf"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
112 <expand macro="exclusive_filter_macro" token_argument="--ff"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
113 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
114 <!-- Consensus options Condetional -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
115 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
116 <param argument="--mode" type="select" label="Select the consensus algorithm" help="Choose the consensus algorithm. 'Simple' uses base counts to call consensus, 'Bayesian' applies a probabilistic model (Gap5) for higher accuracy, and 'Bayesian 1.16' reproduces the behavior of samtools consensus v1.16 for compatibility.">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
117 <option value="simple">Simple</option>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
118 <option value="bayesian" selected="true">Bayesian (Gap5)</option>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
119 <option value="bayesian_116">Bayesian 1.16</option>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
120 </param>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
121 <!-- simple mode options -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
122 <when value="simple">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
123 <section name="settings" title="Settings" expanded="no">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
124 <param name="use_qual" argument="-q" type="boolean" truevalue="-q" falsevalue="" checked="false" label="Weight by base quality" help="Base counts are weighted by their Phred quality scores instead of counting each base equally. Improves consensus accuracy by giving higher weight to more confident base calls."/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
125 <param argument="-c" type="float" value="0.75" min="0" max="1" label="Minimum consensus fraction" help="Require at least C fraction of bases agreeing with the most likely consensus call to emit that base type. Failing this check will output 'N'"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
126 <param argument="-H" type="float" value="0.15" min="0" max="1" label="Heterozygous fraction threshold" help="Report a heterozygous base in the consensus if the second most frequent base occurs at least H fraction of the most common base. (Requires --ambig)"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
127 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
128 </when>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
129 <!-- bayesian mode options -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
130 <when value="bayesian">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
131 <expand macro="bayesian_settings_macro"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
132 </when>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
133 <!-- bayesian 1.16 mode options -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
134 <when value="bayesian_116">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
135 <expand macro="bayesian_settings_macro"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
136 </when>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
137 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
138 <!-- Gloabl Settings -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
139 <section name="global_settings" title="Global Settings" expanded="no">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
140 <param name="minimum_depth" argument="--min-depth" type="integer" value="1" label="Minimum depth" help="The minimum depth required to make a call. Failing this depth check will produce consensus 'N', or absent if it is an insertion. Note this check is performed after filtering by flags and mapping/base quality"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
141 <!-- region -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
142 <repeat name="reg_repeat" title="region" min="0" max="1">
2
74e06ecd1f83 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 19dd8b645a77899ff98d139d79de824a23f416bb
iuc
parents: 0
diff changeset
143 <param name="reg" type="text" optional="false" label="Region"/>
74e06ecd1f83 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 19dd8b645a77899ff98d139d79de824a23f416bb
iuc
parents: 0
diff changeset
144 <param name="start" type="integer" optional="true" label="Start"/>
74e06ecd1f83 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 19dd8b645a77899ff98d139d79de824a23f416bb
iuc
parents: 0
diff changeset
145 <param name="end" type="integer" optional="true" label="End"/>
0
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
146 </repeat>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
147 <!-- use contional ref macro -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
148 <expand macro="optional_reference" token_argument="--reference" token_help="Select a reference genome to guide consensus generation."/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
149 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
150 <!-- Output Options -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
151 <section name="output_options" title="Output Options" expanded="no">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
152 <param name="line_len" argument="-l" type="integer" value="70" label="Maximum line lenght" help="The maximum line length of line-wrapped fasta and fastq formats. Set to -1 for no line wrapping."/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
153 <param name="all" argument="-a" type="boolean" truevalue="-a" falsevalue="" checked="false" label="Output all positions" help="Output absolutely all positions, including references with no data aligned against them"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
154 <param name="show_deletions" argument="--show-del" type="boolean" truevalue="yes" falsevalue="no" checked="false" label="Show deletions" help="Whether to show deletions as '*' (if checked) or to omit from the output (if left unchecked)"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
155 <param name="show_insertions" argument="--show-ins" label="Show insertions" type="boolean" truevalue="yes" falsevalue="no" checked="true" help="Whether to show insertions in the consensus"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
156 <param argument="--ambig" type="boolean" truevalue="--ambig" falsevalue="" checked="false" label="IUPAC ambiguity codes" help="Enables IUPAC ambiguity codes in the consensus output. Without this the output will be limited to A, C, G, T, N and *"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
157 <param name="mark_insertions" argument="--mark-ins" type="boolean" truevalue="--mark-ins" falsevalue="" checked="false" label="Mark insertions" help="Mark insertions by adding an underscore before every inserted base, plus a corresponding character in the quality for fastq format. When used in conjunction with '-a' and '--show-del', this permits an easy derivation of the consensus to reference coordinate mapping"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
158 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
159 </inputs>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
160 <!-- Outputs -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
161 <outputs>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
162 <data name="output_file" format="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
163 <change_format>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
164 <when input="format" value="fasta" format="fasta" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
165 <when input="format" value="fastq" format="fastq" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
166 <when input="format" value="pileup" format="pileup" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
167 </change_format>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
168 </data>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
169 </outputs>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
170 <!-- Tests -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
171 <tests>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
172 <!-- 1) test format-->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
173 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
174 <param name="input" value="example.bam" ftype="bam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
175 <param name="format" value="fasta"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
176 <section name="output_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
177 <param name="line_len" value="70"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
178 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
179 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
180 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
181 <has_line_matching expression=">LR743429.1"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
182 <has_n_lines n="156"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
183 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
184 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
185 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
186 <!-- test pre-processing Options -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
187 <!-- 2) test min BQ and min MQ -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
188 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
189 <param name="input" value="toy.sam" ftype="sam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
190 <section name="preprocessing_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
191 <param name="minimum_BQ" value="1"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
192 <param name="minimum_MQ" value="21"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
193 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
194 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
195 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
196 <has_line_matching expression="GGTTTTATAAAANAATTAAGTCTACAGAGCAACTA"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
197 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
198 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
199 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
200 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
201 <!-- 3) test include flags -rf -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
202 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
203 <param name="input" value="ex1.bam" ftype="bam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
204 <section name="preprocessing_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
205 <param name="inclusive_filter" value="2"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
206 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
207 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
208 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
209 <has_size size="3k" delta="1k"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
210 <has_n_lines n="46"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
211 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
212 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
213 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
214 <!-- test simple mode options -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
215 <!-- 4) test use qual-->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
216 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
217 <param name="input" value="ex1.bam" ftype="bam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
218 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
219 <param name="mode" value="simple"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
220 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
221 <param name="use_qual" value="true"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
222 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
223 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
224 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
225 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
226 <has_line_matching expression="CAAAAATAAAGAAAAAANTTTTAAAAATGAACAGAGCTTTCAAGAAGTATGAGATTATGTAAAGTAACTG"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
227 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
228 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
229 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
230 <!-- 5) test minimum call fraction -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
231 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
232 <param name="input" value="toy.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
233 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
234 <param name="mode" value="simple"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
235 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
236 <param name="c" value="0.9"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
237 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
238 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
239 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
240 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
241 <has_line_matching expression="AGGTTTTATNAAANAANTAANTCTACAGAGCAACTA"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
242 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
243 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
244 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
245 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
246 <!-- 6) test minimum hetro fraction -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
247 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
248 <param name="input" value="test.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
249 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
250 <param name="mode" value="simple"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
251 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
252 <param name="c" value="0.5"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
253 <param name="H" value="0.1"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
254 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
255 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
256 <section name="output_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
257 <param name="ambig" value="true"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
258 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
259 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
260 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
261 <has_line_matching expression="MACGTACGTA"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
262 <has_n_lines n="2"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
263 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
264 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
265 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
266 <!-- 7) test cutoff -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
267 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
268 <param name="input" value="toy.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
269 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
270 <param name="mode" value="bayesian"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
271 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
272 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
273 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
274 <param name="C" value="5"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
275 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
276 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
277 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
278 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
279 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
280 <has_line_matching expression="TTAGATAAAGAGGATAGCTGTAGGCTCAGCGCCAT"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
281 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
282 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
283 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
284 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
285 <!-- 8) test use MQ defaults -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
286 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
287 <param name="input" value="toy.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
288 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
289 <param name="mode" value="bayesian"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
290 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
291 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
292 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
293 <conditional name="mq_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
294 <param name="mq_param" value="--use-MQ"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
295 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
296 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
297 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
298 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
299 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
300 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
301 <has_line_matching expression="NNAGATAAAGAGGATAGCNNNNNNNNCAGCNNNNN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
302 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
303 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
304 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
305 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
306 <!-- 9) test P-indel -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
307 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
308 <param name="input" value="consen1c.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
309 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
310 <param name="mode" value="bayesian_116"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
311 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
312 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
313 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
314 <param name="p_indel" value="0.01"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
315 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
316 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
317 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
318 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
319 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
320 <has_line_matching expression="CCTTTAACGAATTTCC"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
321 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
322 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
323 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
324 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
325 <!-- 10) test P-het -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
326 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
327 <param name="input" value="consen1c.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
328 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
329 <param name="mode" value="bayesian_116"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
330 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
331 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
332 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
333 <param name="p_indel" value="0.01"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
334 <param name="p_het" value="0.01"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
335 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
336 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
337 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
338 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
339 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
340 <has_line_matching expression="NNTTTNNNGNNTTTNN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
341 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
342 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
343 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
344 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
345 <!-- 11) test low-high-MQ -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
346 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
347 <param name="input" value="consen1c.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
348 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
349 <param name="mode" value="bayesian_116"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
350 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
351 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
352 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
353 <conditional name="mq_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
354 <param name="mq_param" value="--use-MQ"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
355 <param name="low_mq" value="0"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
356 <param name="high_mq" value="60"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
357 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
358 <param name="p_indel" value="0.01"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
359 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
360 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
361 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
362 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
363 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
364 <has_line_matching expression="AAAAACCAACCAAAAA"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
365 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
366 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
367 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
368 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
369 <!-- 12) test het scale -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
370 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
371 <param name="input" value="consen1c.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
372 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
373 <param name="mode" value="bayesian"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
374 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
375 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
376 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
377 <param name="p_indel" value="0.2"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
378 <param name="hetero_scale" value="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
379 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
380 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
381 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
382 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
383 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
384 <has_line_matching expression="NNTTTNNNGNNTTTNN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
385 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
386 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
387 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
388 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
389 <!-- test homopoly fix -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
390 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
391 <param name="input" value="ex1.bam" ftype="bam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
392 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
393 <param name="mode" value="bayesian"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
394 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
395 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
396 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
397 <param name="hom_fix" value="true"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
398 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
399 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
400 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
401 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
402 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
403 <has_line_matching expression="CAGCCTGGCTGTGGGGGNCGCAGTGGCTGAGGGGTGNAGAGCCGAGTCACGGGGTTGCCAGCACAGGGGC"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
404 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
405 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
406 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
407 <!-- 13) test homopoly score -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
408 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
409 <param name="input" value="ex1.bam" ftype="bam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
410 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
411 <param name="mode" value="bayesian"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
412 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
413 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
414 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
415 <param name="hom_score" value="0.3"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
416 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
417 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
418 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
419 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
420 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
421 <has_line_matching expression="CAGCCTGGCTGTGGGGGNCGCAGTGGCTGAGGGGTGNAGAGCCGAGTCACGGGGTTGCCAGCACAGGGGC"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
422 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
423 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
424 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
425 <!-- 14) test pre defined settings -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
426 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
427 <param name="input" value="consen1c.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
428 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
429 <param name="mode" value="bayesian"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
430 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
431 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
432 <param name="config_param" value="ultima"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
433 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
434 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
435 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
436 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
437 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
438 <has_line_matching expression="NNNNNNNNNNNNNNNNNNNNNNNNNN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
439 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
440 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
441 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
442 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
443 <!-- test quality calibration -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
444 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
445 <param name="input" value="ex1.bam" ftype="bam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
446 <conditional name="consensus_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
447 <param name="mode" value="bayesian"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
448 <section name="settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
449 <conditional name="config_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
450 <param name="config_param" value="manual"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
451 <conditional name="calibration_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
452 <param name="calibration_param" value=":hifi"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
453 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
454 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
455 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
456 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
457 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
458 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
459 <has_line_matching expression="TTTGNTNNANCCCCTTGCAACAACCTTGAGAACCCCAGGGAATTTGTCAATGTCAGGGAAGGAGCATTTT"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
460 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
461 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
462 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
463 <!-- Global Settings
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
464 test min depth -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
465 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
466 <param name="input" value="toy.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
467 <section name="global_settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
468 <param name="minimum_depth" value="2"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
469 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
470 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
471 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
472 <has_line_matching expression="NGGTTTTATAAAANAANTAAGTCTACAGAGCAACTN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
473 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
474 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
475 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
476 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
477 <!-- test region -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
478 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
479 <param name="input" value="example.bam" ftype="bam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
480 <section name="global_settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
481 <repeat name="reg_repeat">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
482 <param name="reg" value="LR743429.1"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
483 <param name="start" value="1700"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
484 <param name="end" value="1900"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
485 </repeat>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
486 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
487 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
488 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
489 <has_line_matching expression="CCACCAAACAATCTGTTGTGGCTCTAGGGTCGCAGGAAGGTGCATTGCACCAAGCTCTGGCCGGAGCGAT"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
490 <has_size size="216" delta="10"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
491 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
492 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
493 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
494 <!-- test reference file -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
495 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
496 <param name="input" value="consen1c.sam" ftype="sam"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
497 <section name="global_settings">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
498 <conditional name="addref_cond">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
499 <param name="addref_select" value="history" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
500 <param name="ref" value="consen1c.fa" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
501 </conditional>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
502 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
503 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
504 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
505 <has_line_matching expression="NNNNNNNNNNTTAGGGNNNNNNNNNN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
506 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
507 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
508 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
509 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
510 <!-- Output Options
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
511 test show deletions -->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
512 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
513 <param name="input" value="toy.sam" ftype="sam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
514 <section name="output_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
515 <param name="show_deletions" value="true"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
516 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
517 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
518 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
519 <has_text text="NNAGATAAAGAGGATAGCNN******NNNNN**NCAGCNNNNN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
520 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
521 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
522 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
523 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
524 <!-- test show insertions-->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
525 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
526 <param name="input" value="toy.sam" ftype="sam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
527 <section name="output_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
528 <param name="show_insertions" value="false"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
529 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
530 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
531 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
532 <has_line_matching expression="NNAGATAAGATAGCNNNNNNNNCAGCNNNNN"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
533 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
534 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
535 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
536 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
537 <!-- test all parameter-->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
538 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
539 <param name="input" value="example.bam" ftype="bam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
540 <param name="format" value="fasta"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
541 <section name="output_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
542 <param name="line_len" value="70"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
543 <param name="all" value="true"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
544 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
545 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
546 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
547 <has_line_matching expression=">LR743429.1"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
548 <has_n_lines n="157"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
549 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
550 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
551 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
552 <!-- test ambiguity-->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
553 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
554 <param name="input" value="toy.sam" ftype="sam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
555 <section name="output_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
556 <param name="ambig" value="true"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
557 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
558 <output name="output_file" ftype="fasta">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
559 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
560 <has_text text="Y"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
561 <has_text text="W"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
562 <has_n_lines n="4"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
563 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
564 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
565 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
566 <!-- test mark insertions-->
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
567 <test expect_num_outputs="1">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
568 <param name="input" value="toy.sam" ftype="sam" />
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
569 <param name="format" value="fastq"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
570 <section name="output_options">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
571 <param name="mark_insertions" value="true"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
572 </section>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
573 <output name="output_file" ftype="fastq">
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
574 <assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
575 <has_text text="!!BB.BBB_$_5_$_55BBB$5!!!!!!!!5555!!!!!"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
576 <has_n_lines n="8"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
577 </assert_contents>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
578 </output>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
579 </test>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
580 </tests>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
581 <help><![CDATA[
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
582 **What it does**
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
583
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
584 Generate a consensus sequence from a SAM, BAM, or CRAM file based on the alignment records.
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
585
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
586 **Mode**
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
587
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
588 Available modes are “simple” (frequency counting) and “bayesian” (Gap5-based) methods.
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
589 The default is bayesian.
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
590 For compatibility with Samtools v1.16 (which did not distinguish error types), you can use “bayesian 1.16” to reproduce the legacy behavior.
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
591
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
592 For compatibility with older versions of Samtools (v1.16), the “bayesian_116” mode reproduces the previous consensus behavior, which does not distinguish between substitution and indel errors.
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
593
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
594 **Bayesian configuration presets**
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
595
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
596 - **manual** – Manually set all parameters.
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
597 - **hiseq** – Uses Illumina HiSeq calibration: `--qual-calibration :hiseq`.
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
598 - **hifi** – PacBio HiFi preset:
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
599 `--qual-calibration :hifi --homopoly-fix 0.3 --low-MQ 5 --scale-MQ 1.5 --het-scale 0.37`
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
600 - **r10.4_sup** – Oxford Nanopore R10.4 super accuracy preset:
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
601 `--qual-calibration :r10.4_sup --homopoly-fix 0.3 --low-MQ 5 --scale-MQ 1.5 --het-scale 0.37`
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
602 - **r10.4_dup** – Oxford Nanopore R10.4 duplex preset:
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
603 `--qual-calibration :r10.4_dup --homopoly-fix 0.3 --low-MQ 5 --scale-MQ 1.5 --het-scale 0.37`
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
604 - **ultima** – Ultima Genomics preset:
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
605 `--qual-calibration :ultima --homopoly-fix 0.3 --low-MQ 10 --scale-MQ 2 --het-scale 0.37`
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
606 ]]></help>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
607 <expand macro="citations"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
608 <creator>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
609 <organization name="Galaxy Europe"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
610 <person givenName="Ahmad" familyName="Mahagna" url="https://github.com/Smkingsize"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
611 <person givenName="Saim" familyName="Momin" url="https://github.com/SaimMomin12"/>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
612 </creator>
a4b9be0c418e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
iuc
parents:
diff changeset
613 </tool>