Repository 'multiqc'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/multiqc

Changeset 5:5746cb5cf08d (2017-12-05)
Previous changeset 4:e4574a4d09d8 (2017-12-01) Next changeset 6:01237d721a9f (2017-12-23)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/multiqc commit 36465d526cea3d061724952bb6cf63ee8dd069bf
modified:
multiqc.xml
b
diff -r e4574a4d09d8 -r 5746cb5cf08d multiqc.xml
--- a/multiqc.xml Fri Dec 01 09:07:15 2017 -0500
+++ b/multiqc.xml Tue Dec 05 05:24:03 2017 -0500
b
@@ -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"