# HG changeset patch
# User bgruening
# Date 1528235616 14400
# Node ID c8c5caecfacc0d389210926f737a68fae254a986
# Parent  bee42f615f283636a98bd34796c9e2e6ef063bd5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/nanopolish commit d3227eb74ad38fac307911b60c8a20a13349bcf9
diff -r bee42f615f28 -r c8c5caecfacc macros.xml
--- a/macros.xml	Wed May 30 11:55:18 2018 -0400
+++ b/macros.xml	Tue Jun 05 17:53:36 2018 -0400
@@ -1,7 +1,7 @@
 
     
         
-        nanopolish
+        nanopolish
             
         
     
@@ -33,4 +33,4 @@
             
         
     
-
\ No newline at end of file
+
diff -r bee42f615f28 -r c8c5caecfacc nanopolish_eventalign.xml
--- a/nanopolish_eventalign.xml	Wed May 30 11:55:18 2018 -0400
+++ b/nanopolish_eventalign.xml	Tue Jun 05 17:53:36 2018 -0400
@@ -17,12 +17,20 @@
         nanopolish index -d fast5_files/ reads.fasta &&
         ln -s '$b' reads.bam &&
         ln -s '${b.metadata.bam_index}' reads.bam.bai &&
-        ln -s '$g' genome.fa &&
+        #if $reference_source.reference_source_selector == 'history':
+            ln -f -s '$reference_source.ref_file' genome.fa &&
+        #else:
+            ln -f -s '$reference_source.ref_file.fields.path' genome.fa &&
+        #end if
         
         nanopolish eventalign
         -r reads.fasta
         -b reads.bam
         -g genome.fa
+        #if str($min_mapping_quality):
+            -q $min_mapping_quality
+        #end if
+        --threads "\${GALAXY_SLOTS:-4}"        
         $samples
         $scale_events
         $sam
@@ -47,7 +55,22 @@
 
         
         
-        
+        
+          
+            
+            
+          
+          
+            
+              
+              
+              
+            
+          
+          
+            
+          
+        
 
         
         
         
+        
 
         
         
       
         
-        
+        
     
     
         
-      
             
             
-            
-      
             
-            
+            
+            
             
             
-
             
             
         
         
-      
             
             
-            
-      
             
-            
+            
+            
             
             
             
             
             
-
+            
+            
+            
+        
+        
+            
+            
+            
+            
+            
+            
+            
+            
+            
+            
+            
+