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

Changeset 7:f5643712dca7 (2022-01-31)
Previous changeset 6:f212134e204c (2021-10-06) Next changeset 8:6f52ebc01098 (2022-02-07)
Commit message:
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/artic commit e6a1f8250cdcbd279220f1ea9fcc11ac5a90df46"
modified:
artic_minion.xml
macros.xml
b
diff -r f212134e204c -r f5643712dca7 artic_minion.xml
--- a/artic_minion.xml Wed Oct 06 12:04:58 2021 +0000
+++ b/artic_minion.xml Mon Jan 31 10:12:30 2022 +0000
b
@@ -34,8 +34,13 @@
             --medaka-model '$medaka_model'
             $bwa
             'name/V1'
-            '${read_file.element_identifier}'
+            ## enclose the sample name in extra single quotes because
+            ## the minion pipeline script doesn't care about passing
+            ## its arguments safely.
+            "'"'${read_file.element_identifier}'"'"
         && bgzip -f '${read_file.element_identifier}.fail.vcf'
+        ## remove enclosing single-quotes from header of output consensus fasta
+        && sed -i "1s/'${read_file.element_identifier}'/${read_file.element_identifier}/" ${read_file.element_identifier}.consensus.fasta
     ]]></command>
     <inputs>
         <param argument="--read-file" type="data" format="fastq,fastqsanger,fastq.gz,fastqsanger.gz" label="Input Read File"/>
b
diff -r f212134e204c -r f5643712dca7 macros.xml
--- a/macros.xml Wed Oct 06 12:04:58 2021 +0000
+++ b/macros.xml Mon Jan 31 10:12:30 2022 +0000
b
@@ -1,5 +1,6 @@
 <macros>
     <token name="@PACKAGE_VERSION@">1.2.1</token>
+    <token name="@FASTQ_FORMATS@">fastq,fastq.gz,fastqsanger,fastqsanger.gz</token>
     <xml name="citations">
         <citations>
             <citation type="bibtex">