changeset 126:c840726bd580 draft

Uploaded
author greg
date Tue, 21 Mar 2017 11:08:38 -0400
parents 1d3d50fbf3ca
children 72341ff03a15
files gene_family_classifier.xml
diffstat 1 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gene_family_classifier.xml	Tue Mar 21 10:53:01 2017 -0400
+++ b/gene_family_classifier.xml	Tue Mar 21 11:08:38 2017 -0400
@@ -73,8 +73,12 @@
                             --single_copy_custom '$single_copy_custom_cond.single_copy_custom_config'
                         #end if
                     #else:
-                        --single_copy_taxa $single_copy_cond.single_copy_taxa
-                        --taxa_present $single_copy_cond.taxa_present
+                        #if str($single_copy_cond.single_copy_taxa) != '':
+                            --single_copy_taxa $single_copy_cond.single_copy_taxa
+                        #end if
+                        #if str($single_copy_cond.taxa_present) != '':
+                            --taxa_present $single_copy_cond.taxa_present
+                        #end if
                     #end if
                 #end if
                 #if $create_ortho_sequences:
@@ -181,8 +185,8 @@
                                 </conditional>
                             </when>
                             <when value="taxa">
-                                <param name="single_copy_taxa" type="integer" label="Minimum single copy taxa"/>
-                                <param name="taxa_present" type="integer" label="Minimum taxa present"/>
+                                <param name="single_copy_taxa" type="integer" optional="true" label="Minimum single copy taxa"/>
+                                <param name="taxa_present" type="integer" optional="true" label="Minimum taxa present"/>
                             </when>
                         </conditional>
                     </when>