comparison ngs-tools_split_by_barcode.xml @ 2:5a9ba0f9ea6f draft

Uploaded
author cjav
date Fri, 06 Sep 2013 13:17:50 -0400
parents 25b250eeccda
children 5cb5f350b053
comparison
equal deleted inserted replaced
1:25b250eeccda 2:5a9ba0f9ea6f
1 <tool id="ngs-tools_split_by_barcode" name="Barcode Splitter (ngs-tools)" force_history_refresh="True"> 1 <tool id="ngs-tools_split_by_barcode" name="Barcode Splitter (ngs-tools)" force_history_refresh="True">
2 <description></description> 2 <description></description>
3 <requirements><requirement type="package">ngs-tools</requirement></requirements>
4 <command> 3 <command>
5 ngs-tools split-by-barcode 4 ngs-tools split-by-barcode
6 $keep_barcode $input_format.format 5 $keep_barcode $input_format.format
7 --barcode-size $barcode_length --max-distance $max_distance 6 --barcode-size $barcode_length --max-distance $max_distance
8 #for $i in $barcodes 7 #for $i in $barcodes
14 ${i.input} 13 ${i.input}
15 #end for 14 #end for
16 </command> 15 </command>
17 16
18 <inputs> 17 <inputs>
19 <conditional name="input_format"> 18 <conditional name="input_format">
20 <param name="format" type="select" label="Input format"> 19 <param name="format" type="select" label="Input format">
21 <option value="--fastq" selected="true">Fastq</option> 20 <option value="--fastq" selected="true">Fastq</option>
22 <option value="">Fasta</option> 21 <option value="">Fasta</option>
23 </param> 22 </param>
24 <when value="--fastq"> 23 <when value="--fastq">
25 <repeat name="inputs" title="Dataset" help="Datasets to split."> 24 <repeat name="inputs" title="Dataset" help="Datasets to split.">
26 <param name="input" type="data" label="Dataset to split" format="fastq,fastqsanger,fastqsolexa,fastqillumina" /> 25 <param name="input" type="data" label="Dataset to split" format="fastq,fastqsanger,fastqsolexa,fastqillumina" />
27 </repeat> 26 </repeat>
28 </when> 27 </when>
29 <when value=""> 28 <when value="">
30 <repeat name="inputs" title="Dataset" help="Datasets to split."> 29 <repeat name="inputs" title="Dataset" help="Datasets to split.">
31 <param name="input" type="data" label="Dataset to split" format="fasta" /> 30 <param name="input" type="data" label="Dataset to split" format="fasta" />
32 </repeat> 31 </repeat>
33 </when> 32 </when>
34 </conditional> 33 </conditional>
35 <param format="tabular" name="barcode_index" type="data" label="Barcodes index" help="See below for description." /> 34 <param format="tabular" name="barcode_index" type="data" label="Barcodes index" help="See below for description." />
36 <param name="barcode_length" type="integer" size="3" value="11" label="Barcode length" help="Please specify the barcode length." /> 35 <param name="barcode_length" type="integer" size="3" value="11" label="Barcode length" help="Please specify the barcode length." />
37 <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."> 36 <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.">
38 <param name="barcode" type="text" label="Barcode to use" /> 37 <param name="barcode" type="text" label="Barcode to use" />
39 </repeat> 38 </repeat>
40 <param name="keep_barcode" type="select" label="Do not trim the barcode" help="By default barcodes are trimmed from the resulting splitted datasets"> 39 <param name="keep_barcode" type="select" label="Do not trim the barcode" help="By default barcodes are trimmed from the resulting splitted datasets">