# HG changeset patch
# User bgruening
# Date 1761734829 0
# Node ID 4dbb23a9fcccb58d26ef72f9c0ce19a98e9c732e
# Parent  b0fe3e482cb74c96b09c113da185a5df9fc9db42
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/salmon commit 1971e35a365a91ae36c990b374a552a46196e888
diff -r b0fe3e482cb7 -r 4dbb23a9fccc alevin.xml
--- a/alevin.xml	Mon Oct 28 17:50:35 2024 +0000
+++ b/alevin.xml	Wed Oct 29 10:47:09 2025 +0000
@@ -5,63 +5,55 @@
     
     
     
+    
      1 ? \${GALAXY_SLOTS:-4} - 1 : 1 ));
+
+        #set TRANSCRIPTSOURCE_CONDITIONAL = $refTranscriptSource
+        @indexing@
+
         #if $pairstraight.readselect == 'paired':
-            #if $pairstraight.file1.is_of_type("fastq.gz"):
-                && cp '${pairstraight.file1}' ./mate1.fastq.gz
-                && gunzip ./mate1.fastq.gz
-                && cp '${pairstraight.file2}' ./mate2.fastq.gz
-                && gunzip ./mate2.fastq.gz
-            #else if $pairstraight.file1.is_of_type("fastq.bz2"):
-                && cp '${pairstraight.file1}' ./mate1.fastq.bz2
-                && bzip2 -d ./mate1.fastq.bz2
-                && cp '${pairstraight.file2}' ./mate2.fastq.bz2
-                && bzip2 -d ./mate2.fastq.bz2
+            #if $pairstraight.mates.forward.is_of_type("fastq.gz"):
+                gunzip -c '${pairstraight.mates.forward}' > ./mate1.fastq &&
+                gunzip -c '${pairstraight.mates.reverse}' > ./mate2.fastq &&
+            #else if $pairstraight.mates.forward.is_of_type("fastq.bz2"):
+                bunzip2 -c '${pairstraight.mates.forward}' > ./mate1.fastq &&
+                bunzip2 -c '${pairstraight.mates.reverse}' > ./mate2.fastq &&
             #else:
-                && ln -s '${pairstraight.file1}' ./mate1.fastq
-                && ln -s '${pairstraight.file2}' ./mate2.fastq
+                ln -s '${pairstraight.mates.forward}' ./mate1.fastq &&
+                ln -s '${pairstraight.mates.reverse}' ./mate2.fastq &&
             #end if
         #else:
             #if $pairstraight.unmatedreads.is_of_type("fastq.gz"):
-                && cp '${pairstraight.unmatedreads}' ./unmate.fastq.gz
-                && gunzip ./unmate.fastq.gz
+                gunzip -c '${pairstraight.unmatedreads}' > ./unmate.fastq &&
             #else if $pairstraight.unmatedreads.is_of_type("fastq.bz2"):
-                && cp '${pairstraight.unmatedreads}' ./unmate.fastq.bz2
-                && bzip2 -d unmate.fastq.bz2
+                bunzip2 -c '${pairstraight.unmatedreads}' > ./unmate.fastq &&
             #else:
-                && ln -s '${pairstraight.unmatedreads}' ./unmate.fastq
+                ln -s '${pairstraight.unmatedreads}' ./unmate.fastq &&
             #end if
         #end if
 
-        && ln -s '${tgmap}' ./alevinmap.tsv
-        && salmon alevin -l
+        ln -s '${tgmap}' ./alevinmap.tsv &&
+        salmon --no-version-check alevin
+        --libType
         #if $pairstraight.readselect == 'paired':
             #if $pairstraight.libtype.strandedness == 'A'
                 A
             #else
                 ${pairstraight.libtype.orientation}${pairstraight.libtype.strandedness}
             #end if
-            -i $index_path
-            -1 ./mate1.fastq
-            -2 ./mate2.fastq
+            --index $index_path
+            --mates1 ./mate1.fastq
+            --mates2 ./mate2.fastq
         #else:
             '${pairstraight.libtype.strandedness}'
-            -i $index_path
-            -r zcat ./unmate.fastq
+            --index $index_path
+            --unmatedReads ./unmate.fastq
         #end if
         -o ./output
-        -p "\${GALAXY_SLOTS:-4}"
+        -p "\$SLOTS"
         ${protocol_cond.protocol}
         #if $protocol_cond.protocol == '--indropV2'
             --w1 '${protocol_cond.w1}'
@@ -113,7 +105,7 @@
         #end if
         #if 'dumpUmiGraph' in $output_files:
             && python '$__tool_directory__/vpolo_convert.py' -u
-            && sh '$__tool_directory__/umiout.sh'
+            && bash '$__tool_directory__/umiout.sh'
         #end if
         ## those gzip file include binary datasets
         ## #if $optional.numCellBootstraps:
@@ -133,27 +125,26 @@
                 
             
             
-                
-                
+                
                 
             
             
-                
+                
                 
             
         
         
             
-                
-                
-                
-                
-                
-                
-                
-                
-                
-                
+                
+                
+                
+                
+                
+                
+                
+                
+                
+                
             
             
             
@@ -173,7 +164,7 @@
             
             
         
-        
+        
         
             
             
@@ -255,10 +246,16 @@
             
             
                 
-                
-                
-                
-                
+                
+                    
+                        
+                        
+                    
+                
+                
+                    
+                    
+                
             
             
                 
@@ -274,7 +271,7 @@
                 
                     
                     
-                    
+                    
                 
             
         
@@ -287,10 +284,16 @@
             
             
                 
-                
-                
-                
-                
+                
+                    
+                        
+                        
+                    
+                
+                
+                    
+                    
+                
             
             
                 
@@ -307,10 +310,11 @@
                 
                     
                     
-                    
+                    
                 
             
         
+        
         
             
                 
@@ -353,10 +363,16 @@
             
             
                 
-                
-                
-                
-                
+                
+                    
+                        
+                        
+                    
+                
+                
+                    
+                    
+                
             
             
                 
@@ -370,7 +386,7 @@
                 
                     
                     
-                    
+