diff callcodonvar.xml @ 9:18aad692772a draft default tip

planemo upload for repository https://github.com/phac-nml/quasitools commit 5a9e4c9a582828654893166caf20576f5e0c418e
author nml
date Mon, 20 Jun 2022 20:06:36 +0000
parents 9def47f3c1e4
children
line wrap: on
line diff
--- a/callcodonvar.xml	Tue Aug 06 08:50:28 2019 -0400
+++ b/callcodonvar.xml	Mon Jun 20 20:06:36 2022 +0000
@@ -1,14 +1,17 @@
-<tool id="callcodonvar" name="Codon Variants" version="0.7.0">
+<tool id="callcodonvar" name="Codon Variants" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
     <description>Identifies codon variants and non-synonymous/synonymous mutations</description>
-    <requirements>
-          <requirement type="package" version="0.7.0">quasitools</requirement>
-    </requirements>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
     <command detect_errors="exit_code"><![CDATA[
 
         cat $input_genes &&
 
-        ln -f -s ${input_bam.metadata.bam_index} ${input_bam}.bai &&
-        quasitools call codonvar $input_bam $ref_file $offset $input_genes
+        ln -s $input_bam '${input_bam.name}' &&
+        ln -s $input_bam.metadata.bam_index '${input_bam.name}.bai' &&
+
+        quasitools call codonvar '${input_bam.name}' $ref_file $offset $input_genes
 
 		#if $var_file:
 			$var_file 
@@ -56,14 +59,5 @@
 a synonymous or non-synonymous mutation.
 
     ]]></help>
-    <citations>
-		<citation type="bibtex">
-			@misc{GitHubquasitoolscallcodonvar,
-			title = {quasitools callcodonvar},
-			publisher = {phac-nml},
-			journal = {GitHub repository},
-			url = {https://github.com/phac-nml/quasitools},
-			}
-		</citation>
-    </citations>
+    <expand macro="citations" />
 </tool>