changeset 4:5d8b93c0731f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 8f659e3524ff3fbf70ce9f4090e3fe8a49048b29
author iuc
date Wed, 24 Apr 2024 20:25:07 +0000
parents 82ced0e47b9d
children 1af48f9cc27b
files bbmerge.xml macros.xml
diffstat 2 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/bbmerge.xml	Fri Apr 12 20:19:26 2024 +0000
+++ b/bbmerge.xml	Wed Apr 24 20:25:07 2024 +0000
@@ -6,9 +6,6 @@
     <expand macro="edam_ontology"/>
     <expand macro="requirements"/>
     <command detect_errors="exit_code"><![CDATA[
-#import os
-#import re
-
 #if str($input_type_cond.input_type) in ['single', 'pair']:
     #set read1 = $input_type_cond.read1
     ## bbmerge uses the file extension to determine the input format.
@@ -25,17 +22,15 @@
     #end if
 #else:
     #set read1 = $input_type_cond.reads_collection['forward']
-    #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.element_identifier))
     ## bbmap uses the file extension to determine the input format.
-    #set ext = $read1_identifier + '.fastq'
+    #set ext = '.fastq'
     #if $read1.ext.endswith('.gz'):
         #set ext = $ext + '.gz'
     #end if
-    #set read1_file = $read1_identifier + $ext
+    #set read1_file = 'forward' + $ext
     ln -s '${read1}' '${read1_file}' &&
     #set read2 = $input_type_cond.reads_collection['reverse']
-    #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.element_identifier))
-    #set read2_file = $read2_identifier + $ext
+    #set read2_file = 'reverse' + $ext
     ln -s '${read2}' '${read2_file}' &&
 #end if
 
--- a/macros.xml	Fri Apr 12 20:19:26 2024 +0000
+++ b/macros.xml	Wed Apr 24 20:25:07 2024 +0000
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">39.06</token>
-    <token name="@VERSION_SUFFIX@">1</token>
+    <token name="@VERSION_SUFFIX@">2</token>
     <token name="@PROFILE@">22.01</token>
     <xml name="edam_ontology">
         <edam_topics>