diff multiqc.xml @ 5:5746cb5cf08d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 36465d526cea3d061724952bb6cf63ee8dd069bf
author iuc
date Tue, 05 Dec 2017 05:24:03 -0500
parents e4574a4d09d8
children 01237d721a9f
line wrap: on
line diff
--- a/multiqc.xml	Fri Dec 01 09:07:15 2017 -0500
+++ b/multiqc.xml	Tue Dec 05 05:24:03 2017 -0500
@@ -1,4 +1,4 @@
-<tool id="multiqc" name="MultiQC" version="@WRAPPER_VERSION@.0">
+<tool id="multiqc" name="MultiQC" version="@WRAPPER_VERSION@.1">
     <description>aggregate results from bioinformatics analyses into a single report</description>
     <macros>
         <token name="@WRAPPER_VERSION@">1.2</token>
@@ -107,12 +107,12 @@
     #elif str($repeat.software_cond.software) == "featureCounts"
         #for $file in $repeat.software_cond.input
             #set file_prefix = $software_dir + '/' + str($file.element_identifier)
-            #if $file.metadata.column_names and $file.metadata.column_names.find(',') != -1
-                echo '$file.metadata.column_names.replace(',','\t').replace('__ob__u','').replace('u__sq__','').replace('__sq__','').replace('__cb__','')' >> '${file_prefix}.summary' &&
-                cat '$file' >> '${file_prefix}.summary' &&
-            #else
-                ln -s '$file' '${file_prefix}.summary' &&
-            #end if
+            if grep -qw Status '$file'; then
+                ln -s '$file' '${file_prefix}.summary';
+            else
+                echo -e 'Status\t$file.element_identifier' > '${file_prefix}.summary';
+                cat '$file' >> '${file_prefix}.summary';
+            fi &&
         #end for
     #elif str($repeat.software_cond.software) == "flexbar"
         #set $pattern = "flexible barcode and adapter removal"