changeset 21:64a6ab94b98e draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/tetyper commit 65f9e423263afc8f23fa51cb4770998b99f933ba-dirty"
author dfornika
date Fri, 03 Jan 2020 22:55:21 +0000
parents 7917619d2c91
children eee578803b2d
files tetyper.xml
diffstat 1 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tetyper.xml	Fri Jan 03 21:58:20 2020 +0000
+++ b/tetyper.xml	Fri Jan 03 22:55:21 2020 +0000
@@ -21,11 +21,21 @@
             --min_each_strand '${min_each_strand}'
             --min_mapped_len '${min_mapped_len}'
             --min_qual '${min_qual}'
-            #if $snp_profiles_source.snp_profiles
-              --snp_profiles '${snp_profiles_source.snp_profiles}'
+            #if str( $snp_profiles_source.snp_profiles_source_selector ) == "tool_data_table":
+              #set $snp_profiles = str( $snp_profiles_source.snp_profiles.fields.path )
+            #else:
+              #set $snp_profiles = str( $snp_profiles_source.snp_profiles )
+            #end if
+            #if $snp_profiles
+              --snp_profiles '${snp_profiles}'
             #end if
-            #if $struct_profiles_source.struct_profiles
-              --struct_profiles '${struct_profiles_source.struct_profiles}'
+            #if str( $struct_profiles_source.struct_profiles_source_selector ) == "tool_data_table":
+              #set $struct_profiles = str( $struct_profiles_source.struct_profiles.fields.path )
+            #else:
+              #set $struct_profiles = str( $struct_profiles_source.snp_profiles )
+            #end if
+            #if $struct_profiles
+              --struct_profiles '${struct_profiles}'
             #end if
             --outprefix output
         ]]>