diff ngs-tools_split_by_barcode.xml @ 5:1506445d0665 draft

New way of providing barcodes to use. Using ngs-tools==0.1.5.
author cjav
date Mon, 16 Sep 2013 14:36:09 -0400
parents f40640700846
children 9b59d2017dd6
line wrap: on
line diff
--- a/ngs-tools_split_by_barcode.xml	Fri Sep 06 14:15:03 2013 -0400
+++ b/ngs-tools_split_by_barcode.xml	Mon Sep 16 14:36:09 2013 -0400
@@ -1,15 +1,15 @@
-<tool id="ngs-tools_split_by_barcode" name="Barcode Splitter (ngs-tools)" force_history_refresh="True">
+<tool id="ngs-tools_split_by_barcode" name="Barcode Splitter (ngs-tools)" force_history_refresh="True" version="1.0.1">
 	<description></description>
     <requirements>
-        <requirement type="package" version="0.1.4">ngs-tools</requirement>
+        <requirement type="package" version="0.1.5">ngs-tools</requirement>
     </requirements>
     <command>
         ngs-tools split-by-barcode
             $trim_barcode $input_format.format
             --barcode-size $barcode_length --max-distance $max_distance
-            #for $i in $barcodes
-              --barcode ${i.barcode}
-            #end for
+            #if $barcodes
+              --barcodes $barcodes
+            #end if
             --report $output1 --galaxy $output1.id --output $__new_file_path__
             $barcode_index
             #for $i in $input_format.inputs
@@ -36,9 +36,7 @@
         </conditional>
         <param format="tabular" name="barcode_index" type="data" label="Barcodes index" help="See below for description." />
         <param name="barcode_length" type="integer" size="3" value="11" label="Barcode length" help="Please specify the barcode length." />
-        <repeat name="barcodes" title="Barcode" help="Barcodes to use. By default all barcodes with the correct length in the index are used. By using this option you can limit which ones to use.">
-            <param name="barcode" type="text" label="Barcode to use" />
-        </repeat>
+        <param name="barcodes" type="text" label="Barcodes to use" help="Comma separated list of barcodes to use. By default all barcodes in the 'Barcodes index' are used." />
         <param name="trim_barcode" type="select" label="Trim the barcode" help="By default barcodes are trimmed from the resulting splitted datasets">
             <option value="" selected="true">Yes</option>
             <option value="--keep-barcode">No</option>