Repository 'samtools_calmd'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/samtools_calmd

Changeset 3:3d873744df7e (2019-07-29)
Previous changeset 2:e65c2cd0964c (2018-11-30) Next changeset 4:06dc50b7b711 (2019-10-17)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_calmd commit ca0d1d44099fd21e0f8214102f4d8a2fd2d054d6
modified:
samtools_calmd.xml
b
diff -r e65c2cd0964c -r 3d873744df7e samtools_calmd.xml
--- a/samtools_calmd.xml Fri Nov 30 17:46:15 2018 -0500
+++ b/samtools_calmd.xml Mon Jul 29 08:47:41 2019 -0400
[
@@ -7,23 +7,25 @@
     <expand macro="stdio"/>
     <expand macro="version_command"/>
     <command><![CDATA[
-        #if str( $reference_source.reference_source_selector ) == "history":
-            #set ref_fa = 'ref.fa'
-            ln -s '${reference_source.ref_fasta}' ref.fa &&
-            samtools faidx ref.fa &&
-        #else:
-            #set ref_fa = str( $reference_source.ref_fasta.fields.path )
-        #end if
+@ADDTHREADS@
+#if str( $reference_source.reference_source_selector ) == "history":
+    #set ref_fa = 'ref.fa'
+    ln -s '${reference_source.ref_fasta}' ref.fa &&
+    samtools faidx ref.fa &&
+#else:
+    #set ref_fa = str( $reference_source.ref_fasta.fields.path )
+#end if
 
-        samtools calmd
-            $baq_settings.use_baq $baq_settings.modify_quality $baq_settings.extended_baq
-            #if str($option_set.option_sets) == 'advanced':
-                $option_set.change_identical -C $option_set.adjust_mq
-            #end if
-            -b
-            '$input_bam'
-            '$ref_fa'
-            > '$calmd_output'
+samtools calmd
+    $baq_settings.use_baq $baq_settings.modify_quality $baq_settings.extended_baq
+    #if str($option_set.option_sets) == 'advanced':
+        $option_set.change_identical -C $option_set.adjust_mq
+    #end if
+    -b
+    -@ \$addthreads
+    '$input_bam'
+    '$ref_fa'
+    > '$calmd_output'
     ]]></command>
     <inputs>
         <param name="input_bam" type="data" format="bam" label="BAM file to recalculate" />