annotate macros_tool_specific.xml @ 0:a4b9be0c418e draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tool_collections/samtools/samtools_consensus commit 5e64e9acef12a625f45808627e97576165baceba
author iuc
date Wed, 12 Nov 2025 12:42:52 +0000
parents
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 <!-- This Macros file is specific to this tool it prevent dupplicate codes snippit for the options "Bayesian" and "Bayesian 1.16" 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
2 <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
3 <xml name="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
4 <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
5 <!-- Manual vs Predefined 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
6 <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
7 <param name="config_param" argument="--config" type="select" label="Use configuration" help="Manually set the parameters or use one of the listed pre-defined configurations">
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 <option value="manual" selected="true">Manual</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
9 <option value="hiseq">hiseq</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
10 <option value="hifi">hifi</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
11 <option value="r10.4_sup">r10.4_sup</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
12 <option value="r10.4_dup">r10.4_dup</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
13 <option value="ultima">ultima</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
14 </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
15 <!-- set parameters manually -->
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 <when 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
17 <param argument="-C" type="integer" value="10" min="0" max="93" label="Cutoff threshold" help="Bases with Phred-style quality below this threshold are called as 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
18 <!-- MQ Settings 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
19 <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
20 <param name="mq_param" argument="--use-MQ" type="select" checked="true" truevalue="--use-MQ" falsevalue="--no-use-MQ" label="Use MQ" help="Enable or disable the use of mapping qualities">
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 <option value="--use-MQ" selected="true">Yes</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
22 <option value="--no-use-MQ">No</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
23 </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
24 <when 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
25 <param name="adj_mq" argument="--adj-MQ" type="boolean" checked="true" truevalue="--adj-MQ" falsevalue="--no-adj-MQ" label="Adjust MQ" help="Scales mapping quality based on nearby mismatches using the MD tag. Ignored if the MD tag is absent"/>
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 <param name="mismatch_window" argument="--NM-halo" min="1" type="integer" label="Local mismatch window" value="50" help="Specifies the distance either side of the base call being considered for computing the number of local mismatches"/>
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 <param name="low_mq" argument="--low-MQ" type="integer" label="Minimum MQ" value="1" min="0" max="60" help="Specifies a minimum value of the mapping quality. This is not a filter and instead simply put lower cap on the values"/>
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 <param name="high_mq" argument="--high-MQ" type="integer" label="Maximum MQ" value="60" min="0" max="60" help="Specifies a maximum value of the mapping quality. This is not a filter and instead simply put upper cap on the values"/>
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 <param name="scale_mq" argument="--scale-MQ" type="float" label="Scale MQ" value="1.0" min="0" help="This is a general multiplicative mapping quality scaling factor. The effect is to globally raise or lower the quality values used in the consensus algorithm"/>
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 </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
31 <when value="--no-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
32 </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
33 <param name="p_het" argument="--P-het" type="float" label="Probability of heterozygous site" value="1.0e-03" min="0" max="1" help="Sets the prior probability of a site being heterozygous in Bayesian consensus calculations. Lower values favor homozygous calls.(output is ambiguous only if --ambig is enabled)" />
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 <param name="p_indel" argument="--P-indel" type="float" label="Probability of indel sites" value="2.0e-04" min="0" max="1" help="Controls the likelihood of small indels. This is used in the priors for the Bayesian calculations, and has little difference on deep 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
35 <param name="hetero_scale" argument="--het-scale" type="float" min="0" label="Heterozygous SNP probability multiplier" value="1.0e+00" help="Multiplicative factor applied to base quality when evaluating heterozygous calls. Lower values reduce false positive heterozygous calls but may increase false negatives" />
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 <param name="hom_fix" argument="--homopoly-fix" type="boolean" label="Homopolymer quality correction" checked="false" truevalue="-p" falsevalue="" help="Spread low-qual bases to both ends of homopolymers (Recommended for old 454 or PacBio HiFi dat)" />
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 <param name="hom_score" argument="--homopoly-score" type="float" min="0" label="Homopolymer quality scaling" optional="true" help="Scales base qualities within homopolymer runs by this factor to reduce confidence in positions prone to sequencing errors. Automatically enables (--homopoly-fix) if not already set" />
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 <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
39 <param name="calibration_param" argument="--qual-calibration" type="select" label="Quality calibration table" help="Choose a predefined calibration for your sequencing platform or upload a custom table to adjust base quality scores.">
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 <option value=":hiseq">Illumina HiSeq</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
41 <option value=":hifi">PacBio HiFi</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
42 <option value=":r10.4_sup">Oxford Nanopore R10.4 (super accuracy model)</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
43 <option value=":r10.4_dup">Oxford Nanopore R10.4 duplex reads</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
44 <option value=":ultima">Ultima Genomics</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
45 <option value="file" selected="true">Upload a custom file with quality calibration values</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
46 </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
47 <when value=":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
48 <when 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
49 <when value=":r10.4_sup"/>
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 <when value=":r10.4_dup"/>
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 <when 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
52 <when value="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
53 <param name="calibration_file" argument="--qual-calibration" type="data" format="txt" label="Quality calibration table" optional="true" help="Loads a quality calibration table from a file to adjust base quality scores in the consensus algorithm. Each line starts with QUAL and maps a reported quality value to calibrated Phred scores for substitution, undercall, and overcall errors: QUAL value substitution undercall overcall"/>
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 </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
55 </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
56 </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
57 <when value="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
58 <when 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
59 <when value="r10.4_sup"/>
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 <when value="r10.4_dup"/>
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 <when 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
62 </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
63 </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
64 </xml>
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 </macros>