diff fastx_barcode_splitter.xml @ 2:32304398ef67 draft

planemo upload for repository https://github.com/lparsons/galaxy_tools/tree/master/tools/fastx_barcode_splitter_enhanced commit c3b0be52079831f6ae58ff64e42d8ff54ce501e4
author lparsons
date Fri, 13 Nov 2015 12:43:14 -0500
parents b7b3d008e2d3
children e7b7cdc1834d
line wrap: on
line diff
--- a/fastx_barcode_splitter.xml	Tue Oct 27 11:47:52 2015 -0400
+++ b/fastx_barcode_splitter.xml	Fri Nov 13 12:43:14 2015 -0500
@@ -1,7 +1,7 @@
-<tool id="cshl_princeton_fastx_barcode_splitter" version="1.1" name="Barcode Splitter" force_history_refresh="True">
+<tool id="cshl_princeton_fastx_barcode_splitter" version="1.1" name="Barcode Splitter">
 	<description></description>
 	<command interpreter="bash"><![CDATA[
-fastx_barcode_splitter_galaxy_wrapper.sh $BARCODE $input "primary_$output.id" "$__new_file_path__" $input.extension --mismatches $mismatches --partial $partial
+fastx_barcode_splitter_galaxy_wrapper.sh $BARCODE $input "split/" $input.extension --mismatches $mismatches --partial $partial
 #if $refBarcodeLocation.barcodeLocation == "idxfile":
     --idxfile $refBarcodeLocation.idxfile
 #else:
@@ -39,7 +39,9 @@
 	</inputs>
 
 	<outputs>
-		<data format="html" name="output" />
+        <data format="html" name="output">
+            <discover_datasets pattern="__designation_and_ext__" directory="split" visible="true" label="${tool.name}: ${designation}"/>
+        </data>
 	</outputs>
 
     <tests>
@@ -50,7 +52,13 @@
 			<param name="barcodeLocation" value="bol" />
 			<param name="mismatches" value="2" />
 			<param name="partial" value="0" />
-			<output name="output" file="fastx_barcode_splitter1.out" />
+            <output name="output" file="fastx_barcode_splitter1.out">
+                <discovered_dataset designation="BC1" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC1.out" />
+                <discovered_dataset designation="BC2" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC2.out" />
+                <discovered_dataset designation="BC3" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC3.out" />
+                <discovered_dataset designation="BC4" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC4.out" />
+                <discovered_dataset designation="unmatched" ftype="fastqsolexa" file="fastx_barcode_splitter1_unmatched.out" />
+            </output>
 		</test>
 	</tests>
 
@@ -85,7 +93,7 @@
 
 	<!-- FASTX-barcode-splitter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->
 	<citations>
-	    <citation type="bibtex">
+        <citation type="bibtex">
 			@misc{gordon_fastx-toolkit_????,
 				title = {{FASTX}-{Toolkit}},
 				url = {http://hannonlab.cshl.edu/fastx_toolkit/index.html},