changeset 63:e50fc56bd10d draft

Uploaded
author yating-l
date Wed, 09 Aug 2017 16:38:02 -0400
parents 4c4e8941feda
children 9d8d6b976fc2
files hubArchiveCreator.xml
diffstat 1 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hubArchiveCreator.xml	Mon Jul 10 17:06:11 2017 -0400
+++ b/hubArchiveCreator.xml	Wed Aug 09 16:38:02 2017 -0400
@@ -117,6 +117,10 @@
                     #end if
                     #if $f.formatChoice.bedChoice.bed_select == "bed_blat_alignment_option"
                         --bigpsl $f.formatChoice.bedChoice.BED_blat_alignment
+                        #if $f.formatChoice.bedChoice.if_index.if_index_selector == "true"
+                            #set search_index = $f.formatChoice.bedChoice.if_index.search_index
+                            #silent extra_data_dict.update({"search_index": $search_index})
+                        #end if
                         #set database = str($f.formatChoice.bedChoice.database)
                         #silent extra_data_dict.update({"database": $database})
                         #silent $prepare_json($f.formatChoice.bedChoice.BED_blat_alignment, $index_track_final,
@@ -286,7 +290,17 @@
                                 <param name="database" type="select" label="mRNA database">
                                     <option value="NCBI" selected="true">NCBI</option>
                                     <option value="Others">Others</option>
-                                </param>
+                                </param>   
+                                <conditional name="if_index">
+                                    <param name="if_index_selector" type="select" label="Provide TRIX file for searchTrix">  
+                                        <option value="true" selected="True">Provide TRIX file</option>
+                                        <option value="false">Don't provide TRIX file</option>    
+                                    </param>
+                                    <when value="true">
+                                        <param format="txt" name="search_index" type="data" label="trix index file" />
+                                    </when>
+                                    <when value="false"></when>
+                                </conditional>
                             </when>
                         </conditional>
                         <param name="longLabel" type="text" size="76" label="Track label" help="It is limited to 76 printable characters, the first 17 printable characters will be used as a short label of the track" />