# HG changeset patch
# User iuc
# Date 1656005374 0
# Node ID c0fb573c1e8df5675c40826056db090dc768d872
# Parent  b833eff63b10c6594503658172632a2ba2ee6e54
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/nanocompore commit 51078f4c0eab9cc41a0cb2190000e428322631a4

diff -r b833eff63b10 -r c0fb573c1e8d macros.xml
--- a/macros.xml	Thu Jul 09 02:38:37 2020 -0400
+++ b/macros.xml	Thu Jun 23 17:29:34 2022 +0000
@@ -2,6 +2,11 @@
 <macros>
     <token name="@TOOL_VERSION@">1.0.0rc3.post2</token>
     <token name="@DESCRIPTION@"></token>
+    <xml name="bio_tools">
+        <xrefs>
+            <xref type="bio.tools">Nanocompore</xref>
+        </xrefs>
+    </xml>
     <xml name="requirements">
         <requirements>
             <requirement type="package" version="@TOOL_VERSION@">nanocompore</requirement>
diff -r b833eff63b10 -r c0fb573c1e8d sampcomp.xml
--- a/sampcomp.xml	Thu Jul 09 02:38:37 2020 -0400
+++ b/sampcomp.xml	Thu Jun 23 17:29:34 2022 +0000
@@ -1,6 +1,7 @@
 <?xml version="1.0"?>
-<tool id="nanocompore_sampcomp" name="SampComp" version="@TOOL_VERSION@+galaxy0">
+<tool id="nanocompore_sampcomp" name="SampComp" version="@TOOL_VERSION@+galaxy1">
     <description>to compare Nanopolished datasets</description>
+    <expand macro="bio_tools"/>
     <macros>
         <import>macros.xml</import>
     </macros>
@@ -20,6 +21,9 @@
             ln -s '$current.index' 'sample_2_${i}.tsv.idx' &&
         #end for
 
+        ## symlink fasta file because a .fai file is created
+        ln -s '$fasta' reference.fa &&
+
         ## run
         nanocompore sampcomp
         ## required
@@ -29,7 +33,7 @@
         --label2 '$label2'
         #set files2 = ','.join(['sample_2_' + str(item) + '.tsv' for item in range(len($file2_rep))])
         --file_list2 '$files2'
-        --fasta '$fasta'
+        --fasta reference.fa
         ## optional
         #if $ap.bed
             --bed '$ap.bed'