diff cfsan_centriflaken.xml @ 69:905def920829

"planemo upload"
author kkonganti
date Wed, 13 Jul 2022 14:10:46 -0400
parents 44d4e4078aaa
children 4e72dfe54475
line wrap: on
line diff
--- a/cfsan_centriflaken.xml	Wed Jul 13 14:02:19 2022 -0400
+++ b/cfsan_centriflaken.xml	Wed Jul 13 14:10:46 2022 -0400
@@ -14,11 +14,11 @@
 	        ln -sf '$input_read_type_cond.input[$key]' './cpipes-input/$key';
 	    #end for
     #elif (str($input_read_type_cond.input_read_type) == "paired"):
-        #for $key in $input_read_type_cond.input_pair.keys()
-            #set $read_R1 = os.path.basename(str($input_read_type_cond.input_pair[$key]['forward']))
-            #set $read_R2 = os.path.basename(str($input_read_type_cond.input_pair[$key]['reverse']))
-	        ln -sf "$input_read_type_cond.input_pair[$key]['forward']" './cpipes-input/$key';
-            ln -sf "$input_read_type_cond.input_pair[$key]['reverse']" './cpipes-input/$key';
+        #for _, $pair in enumerate($input_read_type_cond.input_pair)
+            #set $read_R1 = os.path.basename(str(${pair.forward}))
+            #set $read_R2 = os.path.basename(str(${pair.reverse}))
+	        ln -sf '${pair.forward}' './cpipes-input/${read_R1.name}';
+	        ln -sf '${pair.reverse}' './cpipes-input/${read_R2.name}';
 	    #end for
     #end if
 	$__tool_directory__/0.2.1/cpipes