diff shm_csr.xml @ 95:d63eff357515 draft

planemo upload commit d96a736dcd6da34137f79861fbc6369716c332f1
author rhpvorderman
date Mon, 27 Mar 2023 13:11:53 +0000
parents 84e9e5c8c101
children 385dea3c6cb5
line wrap: on
line diff
--- a/shm_csr.xml	Fri Mar 24 16:58:28 2023 +0000
+++ b/shm_csr.xml	Mon Mar 27 13:11:53 2023 +0000
@@ -1,4 +1,4 @@
-<tool id="shm_csr" name="SHM &amp; CSR pipeline" version="1.8.0" profile="16.04">
+<tool id="shm_csr" name="SHM &amp; CSR pipeline" version="1.8.1" profile="16.04">
 	<description></description>
 	<requirements>
 		<requirement type="package" version="3.7.1">python</requirement>
@@ -22,12 +22,13 @@
 	</requirements>
 	<command interpreter="bash">
 		<![CDATA[
-		#set $input=$in_file.name
+		#import os
+		#set $input=os.path.basename($in_file.name)
 		ln -s "$in_file" "$input" &&
 		#if str ( $filter_unique.filter_unique_select ) == "remove":
 			$__tool_directory__/wrapper.sh "$input"
 			custom $out_file $out_file.files_path
-			"${in_file.name}" "-" $functionality $unique
+			"$input" "-" $functionality $unique
 			$naive_output_cond.naive_output $naive_output_ca $naive_output_cg
 			$naive_output_cm $naive_output_ce $naive_output_all $naive_output_igm_naive
 			$naive_output_igm_naive_memory
@@ -146,13 +147,13 @@
 			<filter>class_filter_cond['class_filter'] != "101_101_IGG"</filter>
 			<filter>class_filter_cond['class_filter'] != "101_101_IGM"</filter>
 		</data>
-		<data format="imgt archive" name="naive_output_igm_naive" label = "Filtered naive IGM sequences (mutations below 2%): ${in_file.name}">
+		<data format="imgt_archive" name="naive_output_igm_naive" label = "Filtered naive IGM sequences (mutations below 2%): ${in_file.name}">
 			<filter>naive_output_cond['naive_output'] == "yes"</filter>
 			<filter>class_filter_cond['class_filter'] != "101_101"</filter>
 			<filter>class_filter_cond['class_filter'] != "101_101_IGA"</filter>
 			<filter>class_filter_cond['class_filter'] != "101_101_IGG"</filter>
 		</data>
-		<data format="imgt archive" name="naive_output_igm_naive_memory" label = "Filtered naive memory IGM sequences (mutations over 2%): ${in_file.name}">
+		<data format="imgt_archive" name="naive_output_igm_naive_memory" label = "Filtered naive memory IGM sequences (mutations over 2%): ${in_file.name}">
 			<filter>naive_output_cond['naive_output'] == "yes"</filter>
 			<filter>class_filter_cond['class_filter'] != "101_101"</filter>
 			<filter>class_filter_cond['class_filter'] != "101_101_IGA"</filter>