changeset 4:91343296dbff draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/encyclopedia/tools/encyclopedia commit 96a023cccea27c30ff61caf271a3c79b92db1873"
author jjohnson
date Tue, 07 Jul 2020 11:57:34 -0400
parents b9a2af09b828
children aaca2f8930a2
files encyclopedia_fasta_to_prosit_csv.xml macros.xml
diffstat 2 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/encyclopedia_fasta_to_prosit_csv.xml	Thu Jul 02 11:14:11 2020 -0400
+++ b/encyclopedia_fasta_to_prosit_csv.xml	Tue Jul 07 11:57:34 2020 -0400
@@ -4,7 +4,7 @@
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements" />
-    <command detect_errors="exit_code"><![CDATA[
+    <command detect_errors="aggressive"><![CDATA[
         EncyclopeDIA -convert -fastatoprositcsv 
         -i '$i'
         -minCharge $minCharge
--- a/macros.xml	Thu Jul 02 11:14:11 2020 -0400
+++ b/macros.xml	Tue Jul 07 11:57:34 2020 -0400
@@ -31,14 +31,12 @@
     #end if
 #end def
 #def clean($name1)
-    ## #set $name_clean = $re.sub('[^\w\-_\.]', '_', $re.sub('(?i[.](fa|fasta|imzml|mzml)$)','', $re.sub('.*/','', $name1.rstrip('.gz'))))
-    ## #set $name_clean = $re.sub('[^\w\-_\.]', '_', $re.sub('.*/','', $name1.rstrip('.gz')))
-    #set $name_clean = $re.sub('[^\w\-_\.]', '_', $re.sub('(?i)[.](fa|fasta|imzml|mzml)$','', $re.sub('.*/','', $name1.rstrip('.gz'))))
+    #set $name_clean = $re.sub('[^\w\-_]', '_', $re.sub('(?i)[.](fa|fasta|imzml|mzml)$','', $re.sub('.*/','', $name1.rstrip('.gz'))))
     #return $name_clean
 #end def
 #def ln_name($ds) 
     #set $ext = ''
-    #if $ds.is_of_type('mzml')
+    #if $ds.is_of_type('mzml') or $ds.is_of_type('imzml')
         #set $ext = ".mzML"
     #else if $ds.is_of_type('elib')
         #set $ext = ".elib"