changeset 12:62a4b8e5e139 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/stacks commit 74ee33c6e30744a6da8deb7116d431d80ee80edb
author iuc
date Fri, 07 Apr 2023 22:01:52 +0000
parents 46f061f3cfeb
children
files macros.xml stacks_genotypes.xml
diffstat 2 files changed, 15 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/macros.xml	Tue Mar 22 23:21:14 2022 +0000
+++ b/macros.xml	Fri Apr 07 22:01:52 2023 +0000
@@ -343,7 +343,7 @@
                 <option value="fixed">Fixed</option>
             </param>
             <when value="snp">
-                <param name="alpha" argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
+                <param argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
                     <option value="0.1">0.1</option>
                     <option value="0.05" selected="True">0.05</option>
                     <option value="0.01">0.01</option>
@@ -351,9 +351,9 @@
                 </param>
             </when>
             <when value="bounded">
-                <param name="bound_low" argument="--bound_low" type="float" value="0.0" min="0.0" max="1.0" label="lower bound for epsilon, the error rate" help="between 0 and 1.0"/>
-                <param name="bound_high" argument="--bound_high" type="float" value="1.0" min="0.0" max="1.0" label="upper bound for epsilon, the error rate" help="between 0 and 1.0" />
-                <param name="alpha" argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
+                <param argument="--bound_low" type="float" value="0.0" min="0.0" max="1.0" label="lower bound for epsilon, the error rate" help="between 0 and 1.0"/>
+                <param argument="--bound_high" type="float" value="1.0" min="0.0" max="1.0" label="upper bound for epsilon, the error rate" help="between 0 and 1.0" />
+                <param argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
                     <option value="0.1">0.1</option>
                     <option value="0.05" selected="True">0.05</option>
                     <option value="0.01">0.01</option>
@@ -373,7 +373,7 @@
                 <option value="fixed">Fixed</option>
             </param>
             <when value="snp">
-                <param name="alpha" argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
+                <param argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
                     <option value="0.1">0.1</option>
                     <option value="0.05" selected="True">0.05</option>
                     <option value="0.01">0.01</option>
@@ -381,9 +381,9 @@
                 </param>
             </when>
             <when value="bounded">
-                <param name="bound_low" argument="--bound_low" type="float" value="0.0" min="0.0" max="1.0" label="lower bound for epsilon, the error rate" help="between 0 and 1.0"/>
-                <param name="bound_high" argument="--bound_high" type="float" value="1.0" min="0.0" max="1.0" label="upper bound for epsilon, the error rate" help="between 0 and 1.0" />
-                <param name="alpha" argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
+                <param argument="--bound_low" type="float" value="0.0" min="0.0" max="1.0" label="lower bound for epsilon, the error rate" help="between 0 and 1.0"/>
+                <param argument="--bound_high" type="float" value="1.0" min="0.0" max="1.0" label="upper bound for epsilon, the error rate" help="between 0 and 1.0" />
+                <param argument="--alpha" type="select" label="Chi square significance level required to call a heterozygote or homozygote" >
                     <option value="0.1">0.1</option>
                     <option value="0.05" selected="True">0.05</option>
                     <option value="0.01">0.01</option>
@@ -391,7 +391,7 @@
                 </param>
             </when>
             <when value="fixed">
-                <param name="bc_err_freq" argument="--bc_err_freq" type="float" value="0.1" min="0.0" max="1.0" label="Barcode error frequency" help="between 0 and 1.0"/>
+                <param argument="--bc_err_freq" type="float" value="0.1" min="0.0" max="1.0" label="Barcode error frequency" help="between 0 and 1.0"/>
             </when>
         </conditional>
     </xml>
--- a/stacks_genotypes.xml	Tue Mar 22 23:21:14 2022 +0000
+++ b/stacks_genotypes.xml	Fri Apr 07 22:01:52 2023 +0000
@@ -1,9 +1,9 @@
 <tool id="stacks_genotypes" name="Stacks: genotypes" version="@WRAPPER_VERSION@.0">
     <description>analyse haplotypes or genotypes in a genetic cross ('genotypes' program)</description>
-    <expand macro="bio_tools"/>
     <macros>
         <import>macros.xml</import>
     </macros>
+    <expand macro="bio_tools"/>
     <expand macro="requirements"/>
     <expand macro="stdio"/>
     <command><![CDATA[
@@ -58,7 +58,7 @@
                 --corr_path '$advanced_options.manual_cor'
             #end if
 
-            #if $options_autocorr.corrections
+            #if $options_autocorr.corrections != ""
                 -c
                 --min_hom_seqs $options_autocorr.hom
                 --min_het_seqs $options_autocorr.het
@@ -102,7 +102,10 @@
         </section>
 
         <conditional name="options_autocorr">
-            <param name="corrections" argument="-c" type="boolean" checked="true" truevalue="-c" falsevalue="" label="Make automated corrections to the data" />
+            <param name="corrections" argument="-c" type="select" label="Make automated corrections to the data">
+                <option value="-c" selected="true">Yes</option>
+                <option value="">No</option>
+            </param>
             <when value="-c">
                 <param name="hom" argument="--min_hom_seqs" type="integer" value="5" label="Minimum number of reads required at a stack to call a homozygous genotype" />
                 <param name="het" argument="--min_het_seqs:" type="float" value="0.05" label="Heterozygote minor allele minimum frequency" help="below this minor allele frequency a stack is called a homozygote, above it (but below --max_het_seqs) it is called unknown" />