changeset 3:4a851c02f558 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/metanovo commit 420ef6b0ee91e44ed354366a55575c1aa504e380"
author galaxyp
date Tue, 29 Mar 2022 20:53:42 +0000
parents 08b5b0977c61
children 7a5ff5359b13
files metanovo.xml
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/metanovo.xml	Tue Mar 29 19:58:34 2022 +0000
+++ b/metanovo.xml	Tue Mar 29 20:53:42 2022 +0000
@@ -7,7 +7,7 @@
   </requirements>
   <macros>
     <token name="@TOOL_VERSION@">1.9.4</token>
-    <token name="@VERSION_SUFFIX@">2</token>
+    <token name="@VERSION_SUFFIX@">3</token>
     <token name="@SUBSTITUTION_RX@">[^\w\-\.]</token>
     <import>macros_modifications.xml</import>
   </macros>
@@ -22,13 +22,13 @@
       ln -s '$input_fasta' '$fasta_dir/$fasta_name' &&
 
       #if $input_type.type == "collection"
-      #set mgf_names = [re.sub('@SUBSTITUTION_RX@', '_', str($n.element_identifier)) for $n in $input_type.input_mgf_collection]
-      #for $mgf_name in $mgf_names:
-      ln -s '$input' '$mgf_dir/$mgf_name' &&
+      #for $input_mgf_item in $input_type.input_mgf_collection:
+      #set mgf_name = re.sub('@SUBSTITUTION_RX@', '_', str($input_mgf_item.element_identifier))
+      ln -s '$input_mgf_item' '$mgf_dir/$mgf_name' &&
       #end for
       #else
       #set mgf_name = re.sub('@SUBSTITUTION_RX@', '_', str($input_type.input_mgf.element_identifier))
-      ln -s '$input_mgf' '$mgf_dir/$mgf_name' &&
+      ln -s '$input_type.input_mgf' '$mgf_dir/$mgf_name' &&
       #end if
 
       cat $metanovo_config > config.sh &&