Mercurial > repos > matnguyen > pathogist
comparison galaxy/tools/concatenator/concatenator.xml @ 9:728c6b81b45e draft default tip
New Concatenator
author | matnguyen |
---|---|
date | Mon, 11 Mar 2019 12:46:41 -0400 |
parents | a39471bf7d13 |
children |
comparison
equal
deleted
inserted
replaced
8:7708da43aefb | 9:728c6b81b45e |
---|---|
23 --cnv $input_type.cnv.cnv_path | 23 --cnv $input_type.cnv.cnv_path |
24 #end if | 24 #end if |
25 #if $input_type.spoligo.spoligo_checkbox | 25 #if $input_type.spoligo.spoligo_checkbox |
26 --spoligo $input_type.spoligo.spoligo_path | 26 --spoligo $input_type.spoligo.spoligo_path |
27 #end if | 27 #end if |
28 #elif $input_type.input_type_selector == "reads" | |
29 reads | |
30 $input_type.fastq.forward | |
31 $input_type.fastq.reverse | |
28 #end if | 32 #end if |
29 ]]></command> | 33 ]]></command> |
30 | 34 |
31 | 35 |
32 <inputs> | 36 <inputs> |
33 <conditional name="input_type"> | 37 <conditional name="input_type"> |
34 <param name="input_type_selector" type="select" label="Concatenation of variant calls, or clustering files"> | 38 <param name="input_type_selector" type="select" label="Concatenation of variant calls, or clustering files"> |
35 <option value="variant">Variant Call Files</option> | 39 <option value="variant">Variant Call Files</option> |
36 <option value="clustering">Clustering/Distance Matrix Files</option> | 40 <option value="clustering">Clustering/Distance Matrix Files</option> |
41 <option value="reads">Raw reads</option> | |
37 </param> | 42 </param> |
38 <when value="variant"> | 43 <when value="variant"> |
39 <param name="paths" type="data" label="Collection of calls" help="" optional="False" multiple="True"/> | 44 <param name="paths" type="data" label="Collection of calls" help="" optional="False" multiple="True"/> |
40 </when> | 45 </when> |
41 <when value="clustering"> | 46 <when value="clustering"> |
66 <param name="spoligo_path" type="data" label="Spoligotyping Clustering/Distance Matrix file" | 71 <param name="spoligo_path" type="data" label="Spoligotyping Clustering/Distance Matrix file" |
67 format="txt,tabular"/> | 72 format="txt,tabular"/> |
68 </when> | 73 </when> |
69 </conditional> | 74 </conditional> |
70 </when> | 75 </when> |
76 <when value="reads"> | |
77 <param name="fastq" type="data_collection" collection_type="paired" | |
78 format="fastqsanger,fastq,fastq.gz,fastqsanger.gz" label="Select paired collection"/> | |
79 </when> | |
71 </conditional> | 80 </conditional> |
72 </inputs> | 81 </inputs> |
73 | 82 |
74 <outputs> | 83 <outputs> |
75 <data name="output" label="Paths of ${on_string}" format="txt" from_work_dir="paths.txt"/> | 84 <data name="output" label="Paths of ${on_string}" format="txt" from_work_dir="paths.txt"> |
85 <filter>input_type[input_type_selector] == 'variant' | |
86 or input_type[input_type_selector] == 'clustering'</filter> | |
87 </data> | |
88 <data name="forward" label="Paths of ${on_string} (forward reads)" format="txt" from_work_dir="forward.txt"> | |
89 <filter>input_type[input_type_selector] == 'reads'</filter> | |
90 </data> | |
91 <data name="reverse" label="Paths of ${on_string} (reverse reads)" format="txt" from_work_dir="reverse.txt"> | |
92 <filter>input_type[input_type_selector] == 'reads'</filter> | |
93 </data> | |
76 </outputs> | 94 </outputs> |
77 | 95 |
78 <help> | 96 <help> |
79 | 97 |
80 </help> | 98 </help> |