# HG changeset patch
# User devteam
# Date 1444754438 14400
# Node ID 3b0cd3132ddcac9f02c1850a517c79904629ff3a
# Parent  1a20fbb8bad830976dca68bed488404e01771073
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
diff -r 1a20fbb8bad8 -r 3b0cd3132ddc fastx_barcode_splitter.xml
--- a/fastx_barcode_splitter.xml	Tue Jun 03 14:50:06 2014 -0400
+++ b/fastx_barcode_splitter.xml	Tue Oct 13 12:40:38 2015 -0400
@@ -1,42 +1,38 @@
 
-	
+    
     
         fastx_toolkit
     
-	fastx_barcode_splitter_galaxy_wrapper.sh $BARCODE $input "$input.name" "$output.files_path" --mismatches $mismatches --partial $partial $EOL > $output 
+    fastx_barcode_splitter_galaxy_wrapper.sh '$BARCODE' '$input' "$input.name" "$output.files_path" --mismatches $mismatches --partial $partial $EOL > '$output' 
+
+    
+        
+        
 
-	
-		
-		
+        
+            
+            
+        
 
-		
-			
-			
-		
+        
 
-		
-		
-		
-	
-	
-	
-	
-		
-			
-			
-			
-			
-			
-			
-			
-		
-	
-
-	
-		
-	
-
-
+        
+    
+    
+        
+    
+    
+        
+            
+            
+            
+            
+            
+            
+            
+        
+    
+    
 **What it does**
 
 This tool splits a Solexa library (FASTQ file) or a regular FASTA file into several files, using barcodes as the split criteria.
@@ -50,11 +46,11 @@
 Example::
 
     #This line is a comment (starts with a 'number' sign)
-    BC1	GATCT
-    BC2	ATCGT
-    BC3	GTGAT
+    BC1    GATCT
+    BC2    ATCGT
+    BC3    GTGAT
     BC4 TGTCT
-    
+
 For each barcode, a new FASTQ file will be created (with the barcode's identifier as part of the file name).
 Sequences matching the barcode will be stored in the appropriate file.
 
@@ -72,7 +68,6 @@
 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
 
  .. __: http://hannonlab.cshl.edu/fastx_toolkit/
- 
-
+    
 
 
diff -r 1a20fbb8bad8 -r 3b0cd3132ddc fastx_barcode_splitter_galaxy_wrapper.sh
--- a/fastx_barcode_splitter_galaxy_wrapper.sh	Tue Jun 03 14:50:06 2014 -0400
+++ b/fastx_barcode_splitter_galaxy_wrapper.sh	Tue Oct 13 12:40:38 2015 -0400
@@ -62,7 +62,7 @@
 PREFIX="$BASEPATH""${LIBNAME}__"
 SUFFIX=".txt"
 
-RESULTS=`zcat -f "$FASTQ_FILE" | fastx_barcode_splitter.pl --bcfile "$BARCODE_FILE" --prefix "$PREFIX" --suffix "$SUFFIX" "$@"`
+RESULTS=`zcat -f < "$FASTQ_FILE" | fastx_barcode_splitter.pl --bcfile "$BARCODE_FILE" --prefix "$PREFIX" --suffix "$SUFFIX" "$@"`
 if [ $? != 0 ]; then
 	echo "error"
 fi
diff -r 1a20fbb8bad8 -r 3b0cd3132ddc tool_dependencies.xml
--- a/tool_dependencies.xml	Tue Jun 03 14:50:06 2014 -0400
+++ b/tool_dependencies.xml	Tue Oct 13 12:40:38 2015 -0400
@@ -1,6 +1,6 @@
 
 
     
-        
+